@extends('backend.layouts.app') @section('title', $data['p_heading']) @section('content')
{{ $data['p_heading'] }}
@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
@else Sorry!, no coupons found. @endif
@stop