mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Set reminders on migrating companies
This commit is contained in:
parent
91d39aab82
commit
0eac6589ce
@ -136,7 +136,7 @@ class InvoiceMigrationRepository extends BaseRepository
|
||||
|
||||
$state['finished_amount'] = $model->amount;
|
||||
|
||||
$model = $model->service()->applyNumber()->save();
|
||||
$model = $model->service()->applyNumber()->setReminder()->save();
|
||||
|
||||
if ($class->name == Invoice::class || $class->name == RecurringInvoice::class) {
|
||||
if (($state['finished_amount'] != $state['starting_amount']) && ($model->status_id != Invoice::STATUS_DRAFT)) {
|
||||
|
Loading…
Reference in New Issue
Block a user