@extends('backend.partials.master') @section('title') {{ __('incharge.title') }} {{ __('levels.list') }} @endsection @section('maincontent')
| {{ __('levels.id') }} | {{ __('levels.details') }} | {{ __('levels.to_account')}} | {{ __('levels.date')}} | {{ __('levels.receipt')}} | {{ __('levels.amount')}} | @if(hasPermission('income_update') == true || hasPermission('income_delete') == true ){{ __('levels.actions') }} | @endif
|---|---|---|---|---|---|---|
| {{++$i}} |
@if(
$income->account_head_id == 1 ||
$income->account_head_id == 2 ||
$income->account_head_id == 3
)
@if ($income->account_head_id == 1)
{{ __('parcel.merchant') }}
@endif
@if($income->hub_user_account)
{{$income->hub_user_account->account_holder_name}}@elseif($income->account_head_id == 2) {{ __('parcel.deliveryman') }} @elseif($income->account_head_id == 3 && $income->user_id !==null) {{ __('levels.user') }} @endif {{$income->hub_user_account->account_no}} {{$income->hub_user_account->branch_name}} @endif @if ($income->merchant_id != null)
{{ __('levels.name') }}
: {{$income->merchant->business_name}}
{{ __('levels.mobile') }}
: {{$income->merchant->user->mobile}}
@endif
{{-- delivery man --}}
@if ($income->delivery_man_id != null)
{{ __('levels.name') }}
: {{$income->deliveryman->user->name}}
{{ __('levels.mobile') }}
: {{$income->deliveryman->user->mobile}}
@endif
@if ($income->user_id != null)
{{ __('levels.user') }} {{ __('levels.name') }}
: {{$income->user->name}}
{{ __('levels.mobile') }}
: {{$income->user->mobile}}
@endif
@if($income->account_head_id == 3)
{{ __('levels.title') }}
: {{ @$income->title }}
@endif
@if($income->parcel_id !==null)
{{ __('levels.parcel') }} {{ __('levels.track_id') }}
: #{{@$income->parcel->tracking_id}}
@endif
{{ __('levels.note') }}
: {{ @$income->note }}
|
{{$income->account->account_holder_name}} {{$income->account->account_no}} {{$income->account->branch_name}} |
{{dateFormat($income->date)}} |
|
{{settings()->currency}}{{$income->amount}} | @if( hasPermission('income_update') == true || hasPermission('income_delete') == true )
|
@endif
{!! __('Showing') !!} {{ $incomes->firstItem() }} {!! __('to') !!} {{ $incomes->lastItem() }} {!! __('of') !!} {{ $incomes->total() }} {!! __('results') !!}