Fixes for product migration
This commit is contained in:
parent
f721cdbe64
commit
71d047dd53
1 changed files with 1 additions and 2 deletions
|
|
@ -399,7 +399,7 @@ info("get company");
|
||||||
'product_key' => $product->product_key ?: '',
|
'product_key' => $product->product_key ?: '',
|
||||||
'notes' => $product->notes ?: '',
|
'notes' => $product->notes ?: '',
|
||||||
'price' => $product->cost ?: 0,
|
'price' => $product->cost ?: 0,
|
||||||
'cost' => 0,
|
'cost' => $product->cost ?: 0,
|
||||||
'quantity' => $product->qty ?: 0,
|
'quantity' => $product->qty ?: 0,
|
||||||
'tax_name1' => $product->tax_name1,
|
'tax_name1' => $product->tax_name1,
|
||||||
'tax_name2' => $product->tax_name2,
|
'tax_name2' => $product->tax_name2,
|
||||||
|
|
@ -1331,7 +1331,6 @@ info("translated gateway_type = {$translated_gateway_type}");
|
||||||
|
|
||||||
$account_gateways = AccountGateway::where('account_id', $this->account->id)->withTrashed()->get();
|
$account_gateways = AccountGateway::where('account_id', $this->account->id)->withTrashed()->get();
|
||||||
|
|
||||||
|
|
||||||
$transformed = [];
|
$transformed = [];
|
||||||
|
|
||||||
foreach ($account_gateways as $account_gateway) {
|
foreach ($account_gateways as $account_gateway) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue