Browse Source

Update customer detail subtitle based on active tab

pull/6/head
Nafies Luthfi 8 years ago
parent
commit
105dcf6578
  1. 2
      resources/views/customers/invoices.blade.php
  2. 2
      resources/views/layouts/customer.blade.php

2
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')
<div class="panel panel-default">

2
resources/views/layouts/customer.blade.php

@ -9,7 +9,7 @@
{!! link_to_route('customers.index', trans('customer.back_to_index'), [], ['class' => 'btn btn-default']) !!}
</div>
{{ $customer->name }} <small>{{ trans('customer.show') }}</small>
{{ $customer->name }} <small>@yield('title')</small>
</h1>
@include('customers.partials.nav-tabs')
@yield('content-customer')

Loading…
Cancel
Save