mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes for migration (#3484)
This commit is contained in:
parent
b4f83a5755
commit
f6fced6b82
@ -133,7 +133,7 @@ class CreateTestData extends Command
|
||||
|
||||
$this->createInvoices($client);
|
||||
$this->createInvoices($client, true);
|
||||
$this->createTasks($client);
|
||||
// $this->createTasks($client);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -540,7 +540,7 @@ trait GenerateMigrationResources
|
||||
'is_deleted' => $payment->is_deleted,
|
||||
'exchange_rate' => $payment->exchange_rate ? number_format((float)$payment->exchange_rate, 6) : null,
|
||||
'exchange_currency_id' => $payment->exchange_currency_id,
|
||||
'currency_id' => $payment->client->currency->id,
|
||||
'currency_id' => isset($payment->client->currency->id) ? $payment->client->currency->id : $this->account->currency_id,
|
||||
'updated_at' => $payment->updated_at ? $payment->updated_at->toDateString() : null,
|
||||
'created_at' => $payment->created_at ? $payment->created_at->toDateString() : null,
|
||||
'deleted_at' => $payment->deleted_at ? $payment->deleted_at->toDateString() : null,
|
||||
|
Loading…
x
Reference in New Issue
Block a user