Browse Source

Fixed monthly and dalily report breadcrumb links

pull/7/head
Nafies Luthfi 8 years ago
parent
commit
2f27557bde
  1. 2
      resources/views/reports/payments/daily.blade.php
  2. 2
      resources/views/reports/payments/monthly.blade.php

2
resources/views/reports/payments/daily.blade.php

@ -7,7 +7,7 @@
@php $dt = Carbon\Carbon::parse($date); @endphp
<ul class="breadcrumb hidden-print">
<li>{{ link_to_route('reports.payments.yearly', 'Laporan Tahun ' . $dt->year, ['year' => $dt->year]) }}</li>
<li>{{ link_to_route('reports.payments.yearly', __('report.yearly', ['year' => $dt->year]), ['year' => $dt->year]) }}</li>
<li>{{ link_to_route('reports.payments.monthly', getMonths()[monthNumber($dt->month)], ['year' => $dt->year,'month' => monthNumber($dt->month)]) }}</li>
<li class="active">{{ $dt->format('d') }}</li>
</ul>

2
resources/views/reports/payments/monthly.blade.php

@ -4,7 +4,7 @@
@section('content')
<ul class="breadcrumb hidden-print">
<li>{{ link_to_route('reports.payments.yearly', __('report.yearly', ['year' => $year])) }}</li>
<li>{{ link_to_route('reports.payments.yearly', __('report.yearly', ['year' => $year]), ['year' => $year]) }}</li>
<li class="active">{{ $months[$month] }}</li>
</ul>

Loading…
Cancel
Save