KUJUNTI.ID MINISH3LL
Path : /var/www/html/thb_loan_system/resources/views/client/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/thb_loan_system/resources/views/client/applications.blade.php


@extends('client.layout')
@section('title')
    {{ translate('my application') }}
@endsection

@section('content')

    <div class="row">

        <div class="col-md-12">

            <div class="panel panel-white">
                <div class="panel-heading">
                    <h6 class="panel-title">{{ translate('my application') }}</h6>

                    <div class="heading-elements">
                        <a href="{{ url('client/application/create') }}"
                           class="btn btn-info btn-sm">{{translate('apply loan')}}</a>
                    </div>
                </div>
                <div class="panel-body table-responsive ">
                    <table id="data-table" class="table  table-condensed">
                        <thead>
                        <tr>
                            <th>#</th>
                            <th>{{translate('branch')}}</th>
                            <th>{{translate('product')}}</th>
                            <th>{{translate('amount')}}</th>
                            <th>{{translate('status')}}</th>
                            <th>{{translate('date')}}</th>
                        </tr>
                        </thead>
                        <tbody>
                        @foreach($data as $key)
                            <tr>

                                <td>{{$key->id}}</td>
                                <td>
                                    @if(!empty($key->branch))
                                        {{$key->branch->name}}
                                    @endif
                                </td>
                                <td>
                                    @if(!empty($key->loan_product))
                                        {{$key->loan_product->name}}
                                    @else
                                        <span class="label label-danger">{{translate('broken')}} <i
                                                    class="fa fa-exclamation-triangle"></i> </span>
                                    @endif
                                </td>
                                <td>{{round($key->amount)}}</td>
                                <td>
                                    @if($key->status=='declined')
                                        <span class="label label-danger">{{translate('declined')}}</span>
                                    @endif
                                    @if($key->status=='approved')
                                        <span class="label label-success">{{translate('approved')}}</span>
                                    @endif
                                    @if($key->status=='pending')
                                        <span class="label label-warning">{{translate('pending')}}</span>
                                    @endif
                                </td>
                                <td>{!! $key->created_at !!}</td>
                            </tr>
                        @endforeach
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    <script>
        $(document).ready(function () {

        });
    </script>
@endsection

© KUJUNTI.ID