2018-02-27 05:16:12 +08:00
|
|
|
@extends('admin.app')
|
|
|
|
@section('title', 'Expenses')
|
2018-03-23 06:17:37 +08:00
|
|
|
|
2018-02-27 05:16:12 +08:00
|
|
|
@section('actions')
|
2020-02-02 02:05:56 +08:00
|
|
|
<li><a href="{{ route('admin.expenses.export') }}"><i class="ti-plus"></i>Export to CSV</a></li>
|
|
|
|
<li><a href="{{ route('admin.expenses.import') }}"><i class="ti-plus"></i>Import from CSV</a></li>
|
|
|
|
<li><a href="{{ route('admin.expenses.create') }}"><i class="ti-plus"></i>Add New</a></li>
|
2018-02-27 05:16:12 +08:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
2020-02-02 02:05:56 +08:00
|
|
|
<div class="card border-blue-bottom">
|
2018-02-27 05:16:12 +08:00
|
|
|
<div class="content">
|
2020-02-02 02:05:56 +08:00
|
|
|
@if(!filled($expenses))
|
|
|
|
<p class="text-center">
|
|
|
|
There are no expenses
|
|
|
|
</p>
|
|
|
|
@else
|
|
|
|
@include('admin.expenses.table')
|
|
|
|
@endif
|
2018-02-27 05:16:12 +08:00
|
|
|
</div>
|
2020-02-02 02:05:56 +08:00
|
|
|
</div>
|
2018-02-27 05:16:12 +08:00
|
|
|
@endsection
|
|
|
|
|