@extends('layout.master') @section('content')

All Mails List

@foreach ($all_mails as $A) @php $status = 'Pending'; if ($A['mail_send'] == 1) { $status = 'Mail Sent'; } @endphp @endforeach
Employee Name Client Name Client Email Client Phone Client Address Plan Plan Amount Pay Amount Due Amount Total Amount (with 18% gst) Date Status
{{ $A['employee_name'] }} {{ $A['client_name'] }} {{ $A['client_email'] }} {{ $A['client_phone'] }} {{ $A['client_address'] }} {{ $A['service_name'] }} {{ getCurrency() . $A['amount'] }} {{ getCurrency() . $A['pay_amount'] }} {{ getCurrency() . $A['remaining_amount'] }} {{ getCurrency() . $A['total_amount'] }} {{ date('M d,Y', strtotime($A['transaction_date'])) }} {!! checkStatus($status) !!}
@endsection