*
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -20,7 +20,7 @@ class MusicianWithdrawService extends Service | ... | @@ -20,7 +20,7 @@ class MusicianWithdrawService extends Service |
20 | $receipt = []; | 20 | $receipt = []; |
21 | 21 | ||
22 | StakeholderIncomeByPayer::query()->with('company:company_id,receipt_type,receipt_name,receipt_no,receipt_tel,receipt_address,receipt_bank,receipt_bank_no') | 22 | StakeholderIncomeByPayer::query()->with('company:company_id,receipt_type,receipt_name,receipt_no,receipt_tel,receipt_address,receipt_bank,receipt_bank_no') |
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', 'serial_no', 'busi_id'])->get()->map(function ($item) use (&$receipt) { |
24 | 24 | ||
25 | if (!empty($item->company)) { | 25 | if (!empty($item->company)) { |
26 | $receipt[] = [ | 26 | $receipt[] = [ | ... | ... |
-
Please register or sign in to post a comment