@extends('dashboard.layouts.app') @section('content') @if (session('success')) @endif @if ($errors->any()) @endif
Show
@forelse ($promocodes as $invoice) @empty @endforelse
Index Code Limit Type Discount Is Monthly Renewable Expire Date Usage Count Actions
{{ $loop->iteration }} {{ $invoice->code }} {{ $invoice->limit }} {{ $invoice->type }} @if ($invoice->type == 'fixed') {{ number_format($invoice->discount, 0) }} @else {{ number_format($invoice->discount, 0) }}% @endif {{ $invoice->is_monthly_renewable ? 'Yes' : 'No' }} {{ $invoice->expire_date }} {!! $invoice->is_monthly_renewable ? 'Total: ' . $invoice->usage_count_total . '
This Month: ' . $invoice->usage_count_monthly : 'Total: ' . $invoice->usage_count_total !!}
No Expenses found.
{{ $promocodes->appends(request()->except('page'))->links('pagination::bootstrap-5') }}
@endsection @foreach ($promocodes as $promocode) @endforeach @foreach ($promocodes as $promocode) @endforeach