@extends('layouts.table') @section('title', trans('menu.deposit')) @section('create_url', route('deposit.create', ['customer_id' => $customer_id])) @section('thead') {{ trans('deposit.bill_no') }} {{ trans('deposit.deposit') }} {{ trans('deposit.usage') }} {{ trans('deposit.print') }} {{ trans('lang.status') }} {{ trans('lang.action') }} @endsection @section('tbody') @foreach($list as $d)

{{ $d->bill_no }}

{{ date('d M Y', strtotime($d->bill_date)) }}

@if(!empty($d->remark))

{{ $d->remark }}

@endif

{{ $d->real_deposit }}

@if(strcmp($d->is_vat, 1) == 0)

{{ '( ' . $d->deposit . ' + ' . $d->vat . ' )' }}

@endif {!! badge_deposit_usage($d->usage) !!} {!! badge_status($d->status) !!} @if(strcmp($d->usage, 0) == 0)
@endif @endforeach @endsection @push('scripts') @endpush