@extends('Layouts.admin') @section('content')

All Voucher Codes

@if(\Session::has('info'))
{{\Session::get('info')}}
@endif
{{$dd->links('partials.pagination')}}
@csrf Generate Voucher
@csrf
@if(count($dd1) > 0) @foreach($dd as $ui) @endforeach @endif
# Code Vendor Used By Created At Action
{{$counter++}} {{$ui->voucher_code}} @if(!empty($ui->vendor_id)) {{ get_vendor_name($ui->vendor_id) }} @endif @if($ui->user) {!! Str::limit($ui->user->username) !!} @else Un-used @endif {{$ui->created_at->diffForHumans()}} delete
{{$dd->links('partials.pagination')}}
@stop @section('scripts') @stop