Commit 1a66fa84 1a66fa8434213a0b1988a97ee8f4d044a176dba2 by lemon

*

1 parent 466ec124
......@@ -20,7 +20,7 @@ class MusicianWithdrawService extends Service
$receipt = [];
StakeholderIncomeByPayer::query()->with('company:company_id,receipt_type,receipt_name,receipt_no,receipt_tel,receipt_address,receipt_bank,receipt_bank_no')
->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) {
->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) {
if (!empty($item->company)) {
$receipt[] = [
......