|
|
@@ -74,6 +74,11 @@ class CashController extends BaseController
|
|
|
$getAmount = bcsub($cashAmount, $tip, 2);
|
|
|
}
|
|
|
|
|
|
+ if ($ptStyle == dict::getDict('ptStyle', 'ghs')) {
|
|
|
+ $tip = bcmul($cashAmount, 0.002, 2);
|
|
|
+ $getAmount = bcsub($cashAmount, $tip, 2);
|
|
|
+ }
|
|
|
+
|
|
|
if ($status != CashClass::STATUS_CHECK_YES) {
|
|
|
CashClass::rollback($cash, $shop, $transaction, $cashAmount, $remark);
|
|
|
util::fail('已审核过');
|