Fix sales last row style (#3379)

This commit is contained in:
jekkos
2022-04-24 23:29:39 +02:00
committed by jekkos
parent a0c3a532aa
commit 5897130e0a
2 changed files with 5 additions and 4 deletions

View File

@@ -138,10 +138,10 @@ function get_sale_data_last_row($sales)
return array(
'sale_id' => '-',
'sale_time' => '<b>'.$CI->lang->line('sales_total').'</b>',
'amount_due' => '<b>'.to_currency($sum_amount_due).'</b>',
'amount_tendered' => '<b>'. to_currency($sum_amount_tendered).'</b>',
'change_due' => '<b>'.to_currency($sum_change_due).'</b>'
'sale_time' => $CI->lang->line('sales_total'),
'amount_due' => to_currency($sum_amount_due),
'amount_tendered' => to_currency($sum_amount_tendered),
'change_due' => to_currency($sum_change_due)
);
}

View File

@@ -35,6 +35,7 @@ $(document).ready(function()
if($("#table tbody tr").length > 1) {
$("#payment_summary").html(response.payment_summary);
$("#table tbody tr:last td:first").html("");
$("#table tbody tr:last").css('font-weight', 'bold');
}
},
queryParams: function() {