From b35c44b1e832cac104acac3abd7bb48fa80c409e Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 15 Aug 2016 21:37:47 +0300 Subject: [PATCH] Fixes for JSON import --- app/Services/ImportService.php | 2 +- resources/lang/en/texts.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php index 2bf85688460a..67ec500d6620 100644 --- a/app/Services/ImportService.php +++ b/app/Services/ImportService.php @@ -646,7 +646,7 @@ class ImportService { EntityModel::$notifySubscriptions = false; - foreach ([ENTITY_CLIENT, ENTITY_INVOICE, ENTITY_PAYMENT] as $entityType) { + foreach ([ENTITY_CLIENT, ENTITY_INVOICE, ENTITY_PAYMENT, ENTITY_QUOTE] as $entityType) { $this->results[$entityType] = [ RESULT_SUCCESS => [], RESULT_FAILURE => [], diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 69ad91f2026d..8ebf0a545dae 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2074,7 +2074,8 @@ $LANG = array( 'list_products' => 'List Products', 'include_item_taxes_inline' => 'Include line item taxes in line total', - + 'created_quotes' => 'Successfully created :count quotes(s)', + ); return $LANG;