diff --git a/app/DataMapper/CompanySettings.php b/app/DataMapper/CompanySettings.php index 2e201f637fe9..3aaf31106c3d 100644 --- a/app/DataMapper/CompanySettings.php +++ b/app/DataMapper/CompanySettings.php @@ -522,8 +522,6 @@ class CompanySettings extends BaseSettings public string $email_template_payment_failed = ''; public static $casts = [ - 'email_template_payment_failed' => 'string', - 'email_subject_payment_failed' => 'string', 'payment_flow' => 'string', 'enable_quote_reminder1' => 'bool', 'quote_num_days_reminder1' => 'int', @@ -774,6 +772,8 @@ class CompanySettings extends BaseSettings 'portal_custom_js' => 'string', 'client_portal_enable_uploads' => 'bool', 'purchase_order_number_counter' => 'integer', + 'email_template_payment_failed' => 'string', + 'email_subject_payment_failed' => 'string', ]; public static $free_plan_casts = [ diff --git a/resources/views/portal/ninja2020/flow2/invoice-summary.blade.php b/resources/views/portal/ninja2020/flow2/invoice-summary.blade.php deleted file mode 100644 index 005637a57f6f..000000000000 --- a/resources/views/portal/ninja2020/flow2/invoice-summary.blade.php +++ /dev/null @@ -1,67 +0,0 @@ -
-
-
-
-

- {{ ctrans('texts.invoice') }} {{ $invoice->number }} - -

-

{{ ctrans('texts.date') }}: {{ $invoice->translateDate($invoice->date, $invoice->client->date_format(), $invoice->client->locale()) }}

-
- -
-
-
-
{{ ctrans('texts.invoice_details') }}
-
    - @foreach($invoice->line_items as $item) -
  • {{ $item->notes }} {{ App\Utils\Number::formatMoney($item->line_total, $invoice->client) }}
  • - @endforeach -
-
-
    - @if($invoice->total_taxes > 0) -
  • {{ ctrans('texts.tax')}}{{App\Utils\Number::formatMoney($invoice->total_taxes, $invoice->client) }}
  • - @endif -
  • {{ ctrans('texts.total') }}{{ App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }}
  • -
-
-
-
-
-
-
-
-
-
-
{{ ctrans('texts.client_information') }}
-
-
-
{{ ctrans('texts.client') }}
-
{{ $invoice->client->present()->name() }}
-
-
-
{{ ctrans('texts.email') }}
-
{{ $invoice->client->present()->email() }}
-
-
-
{{ ctrans('texts.phone') }}
-
{{ $invoice->client->present()->phone() }}
-
-
-
-
-
-
-
-
-
-
-
-