@extends('backend.layouts.app') @section('title', $data['p_heading']) @section('content')
{{ $data['p_heading'] }}
Create Coupon
@if(sizeof($data['coupons']) > 0)
{{ $data['p_description'] }}
@foreach($data['coupons'] as $row) @endforeach
ID
Name
Type
Coupon
Status
Actions
{{ $row->id }}
{{ $row->name }}
{{ \App\Models\Coupon::$types[$row->type] }}
{{ $row->coupon }}
@if($row->status == 'Y') Active @else In-active @endif
@method('DELETE') @csrf
{!! $data['coupons']->render() !!}
@else
Sorry!
, no coupons found. @endif
@stop