@extends ('core.layouts.app') @section ('title', trans('labels.backend.transactions.management')) @section('page-header')

{{ trans('labels.backend.transactions.management') }}

@endsection @section('content')

{{ trans('labels.backend.transactions.management') }}

@include('focus.transactions.partials.transactions-header-buttons')
@if(isset($input['rel_type']))
@if($input['rel_type']==0)

{{$words['name']}}

{{$words['name_data']}}

{{trans('general.description')}}

{{$segment['note']}}

{{trans('transactions.debit')}}

{{amountFormat($segment->amount->sum('debit'))}}

{{trans('transactions.credit')}}

{{amountFormat($segment->amount->sum('credit'))}}

@endif @if($input['rel_type']==9)

{{$words['name']}}

{{$words['name_data']}}

{{trans('accounts.number')}}

{{$segment['number']}}

{{trans('transactions.debit')}}

{{amountFormat($segment->amount->sum('debit'))}}

{{trans('transactions.credit')}}

{{amountFormat($segment->amount->sum('credit'))}}

@endif @if($input['rel_type']>0 AND $input['rel_type']<9)

{{$words['name']}}

{!! $words['url']!!}

{{trans('customers.email')}}

{{$segment['email']}}

{{trans('transactions.debit')}}

{{amountFormat($segment->amount->sum('debit'))}}

{{trans('transactions.credit')}}

{{amountFormat($segment->amount->sum('credit'))}}

@endif
@endif
{{ trans('labels.backend.transactions.table.id') }} {{ trans('transactions.account_id') }} {{ trans('transactions.trans_category_id') }} {{ trans('transactions.debit') }} {{ trans('transactions.credit') }} {{ trans('transactions.payer') }} {{trans('transactions.payment_date')}} {{ trans('labels.general.actions') }}
@endsection @section('after-scripts') {{-- For DataTables --}} {{ Html::script(mix('js/dataTable.js')) }} @endsection