2009-04-23 21:26:48 -07:00
|
|
|
<?
|
|
|
|
|
echo $form->input('Product.exchange_rate', array('id'=>'exchange_rate'));
|
|
|
|
|
echo $form->input('Product.cost_price_each', array('id'=>'costprice'));
|
|
|
|
|
echo $form->input('Product.our_discount', array('label'=>'Our Discount %', 'id' => 'ourdiscount'));
|
|
|
|
|
echo $form->input('Product.packing_each', array('id'=>'packing'));
|
|
|
|
|
echo '<div class="input text">';
|
|
|
|
|
echo $form->label('Product.fob_country_of_export', 'F.O.B Country of Export');
|
|
|
|
|
echo $form->text('Product.fob_country_of_export', array('readonly'=>'readonly', 'id'=>'fob_country_of_export'));
|
|
|
|
|
echo '</div>';
|
|
|
|
|
echo '<div class="input text">';
|
|
|
|
|
echo $form->label('Product.convert_to_aud', 'Convert to A$');
|
|
|
|
|
echo $form->text('Product.convert_to_aud', array('readonly'=>'readonly', 'id'=>'convert_to_aud'));
|
2009-09-09 20:23:39 -07:00
|
|
|
echo '</div>';
|
2009-04-23 21:26:48 -07:00
|
|
|
echo $form->input('Product.duty', array('label' => 'Duty %', 'id'=>'duty'));
|
|
|
|
|
echo $form->input('Product.shipping_weight_each', array('id'=>'shippingweight_each'));
|
|
|
|
|
echo $form->input('Product.shipping_cost_each', array('id'=>'shippingcost_each'));
|
|
|
|
|
echo $form->input('Product.customs', array('id'=>'customs'));
|
|
|
|
|
echo $form->input('Product.misc_cost', array('label' => 'Misc. Costs', 'id'=>'misc_cost'));
|
|
|
|
|
echo $form->input('Product.finance', array('label' => 'Finance %', 'id'=>'finance', 'after'=>'<p id="financeamount"> </p>'));
|
|
|
|
|
echo '<div class="input text">';
|
|
|
|
|
echo $form->label('Product.total_landed_cost', 'Total Landed Cost');
|
|
|
|
|
echo $form->text('Product.total_landed_cost', array('readonly'=>'readonly', 'id'=>'total_landed_cost'));
|
|
|
|
|
echo '</div>';
|
|
|
|
|
echo $form->input('Product.sellprice_each', array('label' => 'Sell Price Each', 'id'=>'sellprice_each'));
|
|
|
|
|
echo '<div class="input text">';
|
|
|
|
|
echo $form->label('Product.gross_profit_dollars', 'Gross Profit $');
|
|
|
|
|
echo $form->text('Product.gross_profit_dollars', array('readonly'=>'readonly', 'id'=>'gross_profit_dollars'));
|
|
|
|
|
echo '</div>';
|
|
|
|
|
echo '<div class="input text">';
|
|
|
|
|
echo $form->label('Product.gross_profit_percent', 'Gross Profit %');
|
|
|
|
|
echo $form->text('Product.gross_profit_prercent', array('readonly'=>'readonly', 'id'=>'gross_profit_percent'));
|
|
|
|
|
echo '</div>';
|
|
|
|
|
echo $ajax->observeForm('productaddform', array('frequency' => 0.5, 'complete'=>'buildup()'));
|
|
|
|
|
|
|
|
|
|
?>
|