file name and path: /purchasing/includes/ui/po_ui.inc
start_row();
label_cell(_("Mahamai"), "colspan=$colspan align=right");
small_amount_cells(null, 'mahamai', price_format(get_post('mahamai',0)));
label_cell('', 'colspan=2');
end_row();
$display_sub_total = price_format($total + input_num('incen_fine'));
// $display_sub_total = $display_sub_total - input_num('mahamai');
// label_row(_("Sub-total"), $display_sub_total, "colspan=$colspan align=right","align=right", 2);
// $taxes = $order->get_taxes(input_num('freight_cost'));
// $tax_total = display_edit_tax_items($taxes, $colspan, $order->tax_included, 2);
// $display_total = price_format(($total + input_num('freight_cost') + $tax_total));
$display_total_if = price_format( $total + input_num('incen_fine') );
$display_total = price_format( $display_total_if - input_num('mahamai') );
start_row();
label_cells(_("Amount Total"), $display_total, "colspan=$colspan align=right","align=right");
//submit_cells('update', _("Update"), "colspan=2 align='center'", _("Refresh"), true);
end_row();