<?php

//if(!empty($modelName)) {

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

?>