@extends('layouts.admin') @section('title', 'Voucher Report') @section('content-header', 'Voucher Report') @section('content')
{{$title}} || Printed on {{$today}} by {{$by}} |
|||||||||||||||
| Voucher Code | Remark | Receipt Number | Amount (RM) | Expiry Date | @if($type == 'used')Used Date | Used Outlet | Counter No | Receipt Status | @endif|||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ (string)$vou->voucher_code }} | {{ $vou->Remark }} | {{ $vou->voucher_amt }} | {{ $vou->exp_date }} | @if($type == 'used'){{ $vou->tran_date }} | {{ $vou->oid }} | {{ $vou->reg }} | @endif|||||||||
| {{ $data2[$i] }} | {{ $key->sku_id }} || {{ $key->sku_desc }} | @if ($key->cancel_flag == 0) Success @elseif ($key->cancel_flag == 1) Cancelled @endif | |||||||||||||
| TOTAL USED VOUCHER | @elseTOTAL AVAILABLE VOUCHER | @endif{{$i}} | |||||||||||||
| TOTAL WITH SUCCEED RECEIPT(RM) | {{ $total_success }} | ||||||||||||||
| TOTAL WITH CANCELLED RECEIPT(RM) | {{$total_failed}} | ||||||||||||||
| TOTAL USED AMOUNT (RM) | {{ $total_overall }} | ||||||||||||||