|
@@ -1597,8 +1597,8 @@ ORDER;
|
|
|
$countyName = $oderList[0]['COUNTY'] ? Region::getCnName($oderList[0]['COUNTY']) : '';
|
|
$countyName = $oderList[0]['COUNTY'] ? Region::getCnName($oderList[0]['COUNTY']) : '';
|
|
|
$address = $provinceName . $cityName . $countyName . $oderList[0]['ADDRESS'];
|
|
$address = $provinceName . $cityName . $countyName . $oderList[0]['ADDRESS'];
|
|
|
|
|
|
|
|
- $paymentMethod = $oderList[0]['PAY_TYPE'] ?? '';
|
|
|
|
|
- $paymentStatus = $oderList[0]['PAY_STATUS'] ?? '';
|
|
|
|
|
|
|
+ $paymentMethod = $oderList[0]['PAY_TYPE'] ?? 'Cash';
|
|
|
|
|
+ $paymentStatus = \Yii::$app->params['orderStatus'][$oderList[0]['STATUS']]['label'] ?? 'Paid';
|
|
|
|
|
|
|
|
$orderTotalBv = 0;
|
|
$orderTotalBv = 0;
|
|
|
$orderTotalTaxAmount = 0;
|
|
$orderTotalTaxAmount = 0;
|