From 18308346926dcbd497d0fb394e9430abfb8fbc9f Mon Sep 17 00:00:00 2001 From: Daniel Camargo Date: Tue, 24 Jun 2014 11:17:51 -0300 Subject: [PATCH] partial #2250 - Where can I add an arbitrary adjustment (either plus or minus) to the pay a restaurant receives? This is needed, and should appear in the summary) --- include/controllers/default/cockpit2/api/settlement/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/controllers/default/cockpit2/api/settlement/index.php b/include/controllers/default/cockpit2/api/settlement/index.php index 831763dd5..d9553c897 100644 --- a/include/controllers/default/cockpit2/api/settlement/index.php +++ b/include/controllers/default/cockpit2/api/settlement/index.php @@ -197,7 +197,7 @@ class Controller_api_settlement extends Crunchbutton_Controller_RestAccount { $restaurant[ 'orders_count' ]++; } } - $restaurant[ 'pay' ] = false; + $restaurant[ 'pay' ] = true; $restaurant[ 'adjustment' ] = 0; $restaurant[ 'orders' ] = $orders; $restaurant[ 'total_due_without_adjustment' ] = $restaurant[ 'total_due' ];