@extends('backend.layout') @section('content')
@if (Session::has('success'))
×
{{ Session::get('success') }}
@endif
GiftCard Summary
Date
business
Name
CR
Number
Branch
Name
Card Amount
QR
Payment
Status
Balance
Amount
Actions
@foreach($data as $single)
{{date('j F, Y', strtotime($single->date))}}
{{$single->business_name}}
{{$single->cr_number}}
{{$single->local_branch_name}}
QAR {{$single->card_amount}}
@if($single->payment_status == 0 )
Not Initiated @elseif($single->payment_status == 2 )
Partially Paid @else
Payment Completed @endif
@if(is_null($single->balance_amount))
Not Available
@elseif($single->balance_amount == 0)
QAR 0
@else
QAR {{$single->balance_amount}}
@endif
@endforeach
@endsection