@extends('layouts.master') @section('title') {{ trans_choice('general.my',1) }} {{ trans_choice('general.application',2) }} @endsection @section('content')

{{ trans_choice('general.my',1) }} {{ trans_choice('general.application',2) }}

@foreach($data as $key) @endforeach
{{ trans_choice('general.id',1) }} {{ trans_choice('general.branch',1) }} {{ trans_choice('general.client',1) }} {{ trans_choice('general.product',1) }} {{ trans_choice('general.amount',1) }} {{ trans_choice('general.status',1) }} {{ trans_choice('general.created_at',1) }} {{ trans_choice('general.action',1) }}
{{ $key->id }} @if(!empty($key->office)) {{$key->office->name}} @endif @if($key->client_type=="client") @if(!empty($key->client)) @if($key->client->client_type=="individual") {{$key->client->first_name}} {{$key->client->middle_name}} {{$key->client->last_name}} @else {{$key->client->full_name}} @endif @endif @endif @if($key->client_type=="group") {{$key->group->name}} @endif @if(!empty($key->loan_product)) {{$key->loan_product->name}} @endif {{ number_format($key->amount,2) }} @if($key->status=="pending") {{ trans_choice('general.pending',1) }} @endif @if($key->status=="approved") {{ trans_choice('general.approved',1) }} @endif @if($key->status=="disbursed") {{ trans_choice('general.disbursed',1) }} @endif @if($key->status=="written_off") {{ trans_choice('general.written_off',1) }} @endif @if($key->status=="rescheduled") {{ trans_choice('general.rescheduled',1) }} @endif @if($key->status=="declined") {{ trans_choice('general.declined',1) }} @endif @if($key->status=="withdrawn") {{ trans_choice('general.withdrawn',1) }} @endif {{ $key->created_at }}
@endsection @section('footer-scripts') @endsection