*
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -23,7 +23,9 @@ class MusicianWithdrawService extends Service | ... | @@ -23,7 +23,9 @@ class MusicianWithdrawService extends Service |
23 | ->where(['identifier'=>$this->identifier->identifier, 'sync_status'=>1])->whereIn('serial_no', $this->request->input('serial_no'))->select(['id', 'company_id'])->get()->map(function ($item) use (&$receipt) { | 23 | ->where(['identifier'=>$this->identifier->identifier, 'sync_status'=>1])->whereIn('serial_no', $this->request->input('serial_no'))->select(['id', 'company_id'])->get()->map(function ($item) use (&$receipt) { |
24 | 24 | ||
25 | if (!empty($item->company)) { | 25 | if (!empty($item->company)) { |
26 | $receipt[$item->company_id] = [ | 26 | $receipt[] = [ |
27 | 'serial_no' =>$item->serial_no, | ||
28 | 'busi_id' =>$item->busi_id, | ||
27 | 'receipt_type'=>$item->company->receipt_type, | 29 | 'receipt_type'=>$item->company->receipt_type, |
28 | 'receipt_name'=>$item->company->receipt_name, | 30 | 'receipt_name'=>$item->company->receipt_name, |
29 | 'receipt_no' =>$item->company->receipt_no, | 31 | 'receipt_no' =>$item->company->receipt_no, | ... | ... |
-
Please register or sign in to post a comment