@extends('layouts.admin') @section('title', trans_choice('general.revenues', 2)) @section('new_button') @can('create-sales-revenues') {{ trans('general.add_new') }} {{ trans('import.import') }} @endcan {{ trans('general.export') }} @endsection @section('content') @if ($revenues->count())
{{ Form::bulkActionAllGroup() }} | @sortablelink('paid_at', trans('general.date'), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow']) | @sortablelink('amount', trans('general.amount')) | @sortablelink('contact.name', trans_choice('general.customers', 1)) | @sortablelink('category.name', trans_choice('general.categories', 1)) | @sortablelink('account.name', trans_choice('general.accounts', 1)) | {{ trans('general.actions') }} | |
---|---|---|---|---|---|---|---|
{{ Form::bulkActionGroup($item->id, $item->contact->name) }} | @if ($item->reconciled)@date($item->paid_at) | @else@date($item->paid_at) | @endif@money($item->amount, $item->currency_code, true) |
{{ $item->contact->name }}
@if($item->invoice)
@if ($item->invoice->status == 'paid')
|
{{ $item->category->name }} | {{ $item->account->name }} |