From bbfa6450d6a50f4b36e8a83b0daf5d70c61fe780 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Fri, 1 Dec 2017 17:39:10 +0630 Subject: [PATCH] update rounding adj for foc --- app/views/origami/payments/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/origami/payments/show.html.erb b/app/views/origami/payments/show.html.erb index 796015d6..3ce0ce1e 100755 --- a/app/views/origami/payments/show.html.erb +++ b/app/views/origami/payments/show.html.erb @@ -470,7 +470,7 @@ $('#foc').click(function() { //$( "#loading_wrapper" ).show(); // payment - var cash = $('#amount_due').text(); + var cash = $('#amount_due').text() + $('#rounding_adj').text(); var sub_total = $('#sub-total').text(); var sale_id = $('#sale_id').text(); var params = { 'cash':cash,'sale_id':sale_id,'sub_total':sub_total };