|
|
@@ -108,7 +108,12 @@ class TestController extends BaseController
|
|
|
echo $orderSn . ' ' . $currentAmount . ' ' . $actPrice . ' ' . $discountAmount . ' ' . $labourCost . ' ' . $tkPrice;
|
|
|
die;
|
|
|
}
|
|
|
- echo $actPrice . ' ' . $currentAmount . ' ' . $orderSn . "\n";
|
|
|
+ if(floatval($actPrice)!=floatval($currentAmount)){
|
|
|
+ echo $actPrice . ' ' . $currentAmount . ' ' . $orderSn .' ===='. "\n";
|
|
|
+ }else{
|
|
|
+ echo $actPrice . ' ' . $currentAmount . ' ' . $orderSn . "\n";
|
|
|
+ }
|
|
|
+
|
|
|
$itemTotalAmount = bcadd($itemTotalAmount, $currentAmount, 2);
|
|
|
|
|
|
if ($tkPrice > 0) {
|