- 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)
This commit is contained in:
Daniel Camargo 2014-06-24 11:17:51 -03:00
parent f23cdf8578
commit 1830834692

View File

@ -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' ];