From 105dcf65783193cfbd790d38a22a0d92f718c6f2 Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Sun, 28 Jan 2018 10:42:29 +0800 Subject: [PATCH] Update customer detail subtitle based on active tab --- resources/views/customers/invoices.blade.php | 2 +- resources/views/layouts/customer.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/customers/invoices.blade.php b/resources/views/customers/invoices.blade.php index 26be3b4..337f00e 100755 --- a/resources/views/customers/invoices.blade.php +++ b/resources/views/customers/invoices.blade.php @@ -1,6 +1,6 @@ @extends('layouts.customer') -@section('title', trans('invoice.list')) +@section('title', trans('customer.invoices')) @section('content-customer')
diff --git a/resources/views/layouts/customer.blade.php b/resources/views/layouts/customer.blade.php index 6909ab2..117026f 100755 --- a/resources/views/layouts/customer.blade.php +++ b/resources/views/layouts/customer.blade.php @@ -9,7 +9,7 @@ {!! link_to_route('customers.index', trans('customer.back_to_index'), [], ['class' => 'btn btn-default']) !!}
- {{ $customer->name }} {{ trans('customer.show') }} + {{ $customer->name }} @yield('title') @include('customers.partials.nav-tabs') @yield('content-customer')