diff --git a/app/Http/Controllers/InvoiceController.php b/app/Http/Controllers/InvoiceController.php index 4f46006d8221..1c20642d8795 100644 --- a/app/Http/Controllers/InvoiceController.php +++ b/app/Http/Controllers/InvoiceController.php @@ -443,7 +443,7 @@ class InvoiceController extends BaseController // check if we created a new client with the invoice if ($input->invoice->client->public_id == '-1') { $message = $message.' '.trans('texts.and_created_client'); - $url = URL::to('clients/'.$client->public_id); + $url = URL::to('clients/'.$input->invoice->client->public_id); Utils::trackViewed($client->getDisplayName(), ENTITY_CLIENT, $url); } diff --git a/resources/views/accounts/email_templates.blade.php b/resources/views/accounts/email_templates.blade.php deleted file mode 100644 index 71c5a2fcd021..000000000000 --- a/resources/views/accounts/email_templates.blade.php +++ /dev/null @@ -1,187 +0,0 @@ -@extends('accounts.nav') - -@section('head') - @parent - - - -@stop - -@section('content') - @parent - @include('accounts.nav_advanced') - - {!! Former::open()->addClass('col-md-10 col-md-offset-1 warn-on-exit') !!} - {!! Former::populateField('email_template_invoice', $invoiceEmail) !!} - {!! Former::populateField('email_template_quote', $quoteEmail) !!} - {!! Former::populateField('email_template_payment', $paymentEmail) !!} - -
- -
- -@if (!Auth::user()->account->isPro()) -
- -