mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-11 07:26:18 -04:00
Fix sales last row style (#3379)
This commit is contained in:
@@ -138,10 +138,10 @@ function get_sale_data_last_row($sales)
|
|||||||
|
|
||||||
return array(
|
return array(
|
||||||
'sale_id' => '-',
|
'sale_id' => '-',
|
||||||
'sale_time' => '<b>'.$CI->lang->line('sales_total').'</b>',
|
'sale_time' => $CI->lang->line('sales_total'),
|
||||||
'amount_due' => '<b>'.to_currency($sum_amount_due).'</b>',
|
'amount_due' => to_currency($sum_amount_due),
|
||||||
'amount_tendered' => '<b>'. to_currency($sum_amount_tendered).'</b>',
|
'amount_tendered' => to_currency($sum_amount_tendered),
|
||||||
'change_due' => '<b>'.to_currency($sum_change_due).'</b>'
|
'change_due' => to_currency($sum_change_due)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ $(document).ready(function()
|
|||||||
if($("#table tbody tr").length > 1) {
|
if($("#table tbody tr").length > 1) {
|
||||||
$("#payment_summary").html(response.payment_summary);
|
$("#payment_summary").html(response.payment_summary);
|
||||||
$("#table tbody tr:last td:first").html("");
|
$("#table tbody tr:last td:first").html("");
|
||||||
|
$("#table tbody tr:last").css('font-weight', 'bold');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
queryParams: function() {
|
queryParams: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user