@extends('apex-layouts.main') @section('content')

Coupons

Total Affiliates:  {{ $coupons->total() }}
@foreach($coupons as $value) @endforeach
id affiliate discount description DateRange createdBy created actions
{{$value->id}} {{$value->affiliateName}}
{{$value->coupon}}
{{$value->discount}}%
Rs {{$value->discountCap}}

{{$value->description}}

{{\App\helpers\ViewCommonHelper::getDateFormat($value->start,1)}}
{{\App\helpers\ViewCommonHelper::getDateFormat($value->end,1)}}
{{$value->createdByName}} {{\App\helpers\ViewCommonHelper::getDateFormat($value->created_at,1)}}
@if($coupons->total() > $coupons->perPage()) @endif
@endsection @section('scripts') @stop @section('styles') @stop