I
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -57,7 +57,7 @@ class MusicianWithdrawService extends Service | ... | @@ -57,7 +57,7 @@ class MusicianWithdrawService extends Service |
57 | $app = StakeholderIncomeSyncApp::query()->where(['serial_no'=>$this->request->serial_no, 'sync_status'=>1, 'withdraw_status'=>1])->first(); | 57 | $app = StakeholderIncomeSyncApp::query()->where(['serial_no'=>$this->request->serial_no, 'sync_status'=>1, 'withdraw_status'=>1])->first(); |
58 | if (empty($app)) return Response::error(ErrorCode::WITHDRAW_NO_RECORD); | 58 | if (empty($app)) return Response::error(ErrorCode::WITHDRAW_NO_RECORD); |
59 | 59 | ||
60 | if ($receipt = Company::query()->where(['receipt_name'=>$app->company_id])->first()) { | 60 | if ($receipt = Company::query()->where(['id'=>$app->company_id])->first()) { |
61 | 61 | ||
62 | return Response::success([ | 62 | return Response::success([ |
63 | 'receipt_type' => $receipt->receipt_type, | 63 | 'receipt_type' => $receipt->receipt_type, | ... | ... |
-
Please register or sign in to post a comment