@extends('main') @section('h_title', 'Bill Orders') @section('bill_view', 'active') @section('bill_main', 'active') @section('bill_show', 'show') @section('bill_expanded', 'true') @push('css_cdn') @endpush @section('body')
Bill Orders
@foreach($items as $data) @endforeach
# Name Billing Name Customer Name A/C Number Billing Date Customer Number Amount Status Reason Order Date Action
{{ $loop->iteration }} {{ $data->user == null ? 'User Not found':$data->user->name }} {{ $data->billing_name }} {{ $data->customer_name }} {{ $data->account_number }} {{ $data->billing_date }} {{ $data->customer_number }} {{ $data->amount }} BDT
{{ $data->commission != null ? $data->commission . __(' BDT Commission') : '' }}
{{ $data->fee != null ? $data->fee . __(' BDT Fee') : '' }}
{{ $data->reason == null ? 'N/A' : $data->reason}} {{ \Carbon\Carbon::make($data->created_at)->format('D, d M Y') }} @if($data->status === 'pending') Delete @elseif($data->status === 'approved' || $data->status === 'rejected') Delete @endif
@endsection @push('js_cdn') @endpush @push('js') @endpush