{{ $count }} |
{{ $discount['item_name'] }}
|
{{ $discount['description'] }}
|
{{ $discount['other_description'] }} |
{{ number_format($discount['item_price']) }} |
{{ $discount['discount_type'] }} |
{{ number_format($discount['amount_discount']) }} |
{{ $discount['percent_discount'] }} |
{{ number_format($discount['promotion_price']) }} |
@if ($discount['monday'] == 'null' || $discount['monday'] == null)
|
@elseif ($discount['monday'] == 1)
|
@endif
@if ($discount['tuesday'] == 'null' || $discount['tuesday'] == null)
|
@elseif ($discount['tuesday'] == 1)
|
@endif
@if ($discount['wednesday'] == 'null' || $discount['wednesday'] == null)
|
@elseif ($discount['wednesday'] == 1)
|
@endif
@if ($discount['thursday'] == 'null' || $discount['thursday'] == null)
|
@elseif ($discount['thursday'] == 1)
|
@endif
@if ($discount['friday'] == 'null' || $discount['friday'] == null)
|
@elseif ($discount['friday'] == 1)
|
@endif
@if ($discount['saturday'] == 'null' || $discount['saturday'] == null)
|
@elseif ($discount['saturday'] == 1)
|
@endif
@if ($discount['sunday'] == 'null' || $discount['sunday'] == null)
|
@elseif ($discount['sunday'] == 1)
|
@endif
{{ date('d-M-y', strtotime($discount['start_date'])) }} |
{{ date('d-M-y', strtotime($discount['end_date'])) }} |
{{ date('h:i A', strtotime($discount['start_happy_hour'])) }} |
{{ date('h:i A', strtotime($discount['end_happy_hour'])) }} |
|
|
@php
$count++;
@endphp
@endforeach
@endif