NameLinkOrderStatusActions @foreach ($brands as $brand) {{ $brand->title }} {{ $brand->link }} {{ $brand->sort_order }}
@csrf @method('DELETE')
@endforeach
ProductDiscountEndsOrderStatusActions @foreach ($deals as $deal) {{ $deal->product->name }} {{ $deal->product->discount_percent ? '-'.$deal->product->discount_percent.'%' : 'No sale price' }} {{ $deal->ends_at?->format('d M Y, h:i A') ?? 'No end time' }} @if ($deal->ends_at?->isPast())Ended@endif {{ $deal->sort_order }}
@csrf @method('DELETE')
@endforeach
Counts from when you save. When editing, leave it blank to keep the current end time.