Commit 2c597757 2c5977570dfcc95e7038299a81c6971867227141 by lemon

I

1 parent 16d68e7e
......@@ -57,7 +57,7 @@ class MusicianWithdrawService extends Service
$app = StakeholderIncomeSyncApp::query()->where(['serial_no'=>$this->request->serial_no, 'sync_status'=>1, 'withdraw_status'=>1])->first();
if (empty($app)) return Response::error(ErrorCode::WITHDRAW_NO_RECORD);
if ($receipt = Company::query()->where(['id'=>$app->company_id])->first()) {
if ($receipt = Company::query()->where(['company_id'=>$app->company_id])->first()) {
return Response::success([
'receipt_type' => $receipt->receipt_type,
......