mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
Fixes for purging existing company
This commit is contained in:
parent
72d8c567bd
commit
53e40a4e6a
@ -43,8 +43,10 @@ class CompleteService
|
||||
$files = [];
|
||||
|
||||
foreach ($this->data as $companyKey => $companyData) {
|
||||
|
||||
$data[] = [
|
||||
'company_key' => $companyKey,
|
||||
'company_index' => $companyKey,
|
||||
'company_key' => $companyData['data']['company']['company_key'],
|
||||
'force' => $companyData['force'],
|
||||
];
|
||||
|
||||
|
@ -773,7 +773,7 @@ trait GenerateMigrationResources
|
||||
'date' => Carbon::parse($item->created_at)->toDateString(),
|
||||
'custom_value1' => $item->custom_value1,
|
||||
'custom_value2' => $item->custom_value2,
|
||||
'type_id' => $item->invoice_item_type_id,
|
||||
'type_id' => (string)$item->invoice_item_type_id,
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -3536,7 +3536,7 @@ $LANG = array(
|
||||
'marked_credit_as_sent' => 'Successfully marked credit as sent',
|
||||
'email_subject_payment_partial' => 'Email Partial Payment Subject',
|
||||
'is_approved' => 'Is Approved',
|
||||
'migration_went_wrong' => 'Oops, something went wrong! Make sure you did proper setup with V2 of Invoice Ninja, before starting migration.',
|
||||
'migration_went_wrong' => 'Error: Make sure you did proper setup with V5 of Invoice Ninja, before starting migration.',
|
||||
'cross_migration_message' => 'Cross account migration is not allowed. Make sure e-mail address is same on V4 and V5.',
|
||||
'email_credit' => 'Email Credit',
|
||||
'client_email_not_set' => 'Client does not have an email address set',
|
||||
|
Loading…
Reference in New Issue
Block a user