mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for product migration
This commit is contained in:
parent
f721cdbe64
commit
71d047dd53
@ -399,7 +399,7 @@ info("get company");
|
||||
'product_key' => $product->product_key ?: '',
|
||||
'notes' => $product->notes ?: '',
|
||||
'price' => $product->cost ?: 0,
|
||||
'cost' => 0,
|
||||
'cost' => $product->cost ?: 0,
|
||||
'quantity' => $product->qty ?: 0,
|
||||
'tax_name1' => $product->tax_name1,
|
||||
'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();
|
||||
|
||||
|
||||
$transformed = [];
|
||||
|
||||
foreach ($account_gateways as $account_gateway) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user