@extends('layouts.app') @section('content')
{{translate('Add New Voucher')}}   {{ translate('Export Vouchers') }} {{translate('Bulk Import')}} {{translate('Tagged Voucher Import')}} {{translate('Tagged Voucher Export')}}

{{translate('Voucher Information')}}

@foreach($vouchers as $key => $voucher) @endforeach
# {{translate('Name')}} {{translate('Email')}} {{translate('Contact')}} {{translate('Code')}} {{translate('Amount')}} {{translate('status')}} {{translate('Created At')}} {{translate('Expiry Date')}} {{translate('Remark')}}
{{$key+1}} {{ $voucher->name }} {{ $voucher->email }} {{ $voucher->contact }} {{$voucher->code}} {{$voucher->amount}} @if($voucher->status == 0) Used Voucher @else Voucher @endif {{ date("d-m-Y h:i A",strtotime($voucher->created_at))}} {{ date("d-m-Y",strtotime($voucher->expiry_date))}} {{ $voucher->remark }}
@endsection @section('script') @endsection