@lang('menu.deal') @lang('app.detail')

@lang('app.title')

{{ $deal->title }}

@lang('app.discount') @lang('app.type')

{{ $deal->discount_type }}

@if ($deal->discount_type=='percentage')
@lang('app.percentage')

{{ $deal->percentage }}%

@else
@lang('app.amount')

{{ $deal->original_amount-$deal->deal_amount }}

@endif
@lang('app.startTime')

{{ $deal->start_date_time }}

@lang('app.endTime')

{{ $deal->end_date_time }}

@lang('app.appliedBeweenTime')

{{ $deal->open_time }} - {{ $deal->close_time }}

@lang('app.usesTime')

@if($deal->uses_limit > 0) {{ $deal->uses_limit }} @else @lang('app.infinite') @endif

@lang('app.dealUsedTime')

@if($deal->used_time !='') {{ $deal->used_time }} @else 0 @endif

@lang('app.dayForApply')

@if(sizeof($days) == 7) @lang('app.allDays') @else @forelse($days as $day) @lang('app.'. strtolower($day)) @empty @endforelse @endif

@lang('app.tax')
@foreach ($selectedTax as $item) {{ $item->tax_name }}-{{ $item->percent }}% @if(!$loop->last),@endif @endforeach
@if(!is_null($deal->description))
@lang('app.description')

{!! $deal->description !!}

@endif
@lang('app.dealItem')
@foreach ($deal_items as $deal_item) @endforeach
@lang('app.service') @lang('app.unitPrice') @lang('app.quantity') @lang('app.subTotal') @lang('app.discount') @lang('app.total')
{{$deal_item->businessService->name}} {{currencyFormatter($deal_item->unit_price)}} {{$deal_item->quantity}} {{currencyFormatter($deal_item->quantity*$deal_item->unit_price)}} {{currencyFormatter($deal_item->discount_amount)}} {{currencyFormatter($deal_item->total_amount)}}
{{ currencyFormatter($deal->original_amount)}} {{currencyFormatter($deal->original_amount-$deal->deal_amount)}} {{ currencyFormatter($deal->deal_amount)}}