Merge pull request #6209 from turbo124/master
Minor fixes for migration
This commit is contained in:
commit
f441166133
1 changed files with 4 additions and 0 deletions
|
|
@ -431,6 +431,10 @@ info("get company");
|
|||
foreach($agts as $agt) {
|
||||
|
||||
$payment_method = $agt->default_payment_method;
|
||||
|
||||
if(!$payment_method)
|
||||
continue;
|
||||
|
||||
$contact = Contact::where('id', $payment_method->contact_id)->withTrashed()->first();
|
||||
|
||||
$transformed[] = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue