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')
|
2018-03-23 06:17:37 +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')
|
|
|
|
<div class="card border-blue-bottom">
|
|
|
|
<div class="content">
|
|
|
|
@if(!filled($expenses))
|
|
|
|
<p class="text-center">
|
2018-03-06 11:24:49 +08:00
|
|
|
There are no expenses
|
2018-02-27 05:16:12 +08:00
|
|
|
</p>
|
|
|
|
@else
|
|
|
|
@include('admin.expenses.table')
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
|