@extends('layouts.default') @section('header-links') @include('accounts.expenses.header') @endsection @section('title', trans_choice('general.bills', 2)) @section('new_button') add {{ trans_choice('general.bills', 2) }} {{--   --}} @endsection @section('content')
@foreach($bills as $item) @endforeach
{{ trans_choice('general.numbers', 1) }} {{ trans_choice('general.vendors', 1) }} {{ trans('general.amount') }} {{ trans('bills.bill_date') }} {{ trans('bills.due_date') }} {{ trans_choice('general.statuses', 1)}} {{ trans('general.actions') }}  
{{ $item->bill_number }} {{ $item->vendor_name }} @money($item->amount, $item->currency_code, true) {{ Date::parse($item->billed_at)->format($date_format) }} {{ Date::parse($item->due_at)->format($date_format) }} {{ $item->status->name }}
@if($item->status->code != 'paid') {{ trans('bills.make_payment') }} @else {{ trans('general.print') }} @endif
{{-- --}}
@endsection