@extends('admin.layouts.grid') @section('title', $item->name) @section('item_view', true) @section('back', route('admin.items.index')) @section('content')
| {{ translate('Regular') }} | @if ($discount->withExtended()){{ translate('Extended') }} | @endif{{ translate('Starting at') }} | {{ translate('Ending at') }} | {{ translate('Status') }} | {{ translate('Action') }} |
|---|---|---|---|---|---|
{{ translate('Discount') }}
{{ $discount->regular_percentage }}%
{{ translate('Purchase Price') }}
{{ getAmount($item->getRegularPrice(), 0) }}
{{ getAmount($discount->getRegularPrice(), 0) }}
|
@if ($discount->withExtended())
{{ translate('Discount') }}
{{ $discount->extended_percentage }}%
{{ translate('Purchase Price') }}
{{ getAmount($item->getExtendedPrice(), 0) }}
{{ getAmount($discount->getExtendedPrice(), 0) }}
|
@endif
{{ dateFormat($discount->starting_at, 'd M Y') }} | {{ dateFormat($discount->ending_at, 'd M Y') }} |
@if ($discount->isActive())
{{ translate('Active') }}
@else
{{ translate('Inactive') }}
@endif
|