|
@@ -563,11 +563,16 @@ class PaymentReceiptService extends Service
|
|
|
}
|
|
|
|
|
|
//列表里 默认:(收款)
|
|
|
- public function getPaymentReceiptDataCountList($data){
|
|
|
+ public function getPaymentReceiptDataCountList($data,$type=0){
|
|
|
$data_order_no = [];
|
|
|
- foreach ($data as $value){
|
|
|
- $data_order_no[] = $value['order_number'];
|
|
|
+ if(! $type){
|
|
|
+ foreach ($data as $value){
|
|
|
+ $data_order_no[] = $value['order_number'];
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ $data_order_no = $data;
|
|
|
}
|
|
|
+
|
|
|
if(empty($data_order_no)) return [];
|
|
|
|
|
|
$order = PaymentReceiptInfo::where('del_time',0)
|