@extends('admin.layouts.master') @section('content')

Vouchers List

@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif
@foreach($vouchers as $key=>$row) @endforeach
Voucher_title Plan Total Vouchers Expire Date Action
{{$row->voucher_title}} {{isset($row->plan_name) ? $row->plan_name : ""}} {{$row->total_vouchers}} {{$row->expiry_date != "0000-00-00" ? date("d-m-Y",strtotime($row->expiry_date)) : ""}}
{{ method_field('DELETE') }} {{ csrf_field() }}
@endsection @section('script') @endsection