@extends('admin.layout.master') @section('title') Promocodes @endsection @section('content')
Promocodes
@forelse($promocodes as $t=>$promocode) @empty @endforelse
Id Name Discount Created At Delete
{{ $t+1 }} {{ $promocode->name }} {{ $promocode->discount }}% {{ Carbon\Carbon::parse($promocode->created_at)->format('d-m-Y') }}
@endsection @section('script') @endsection