@php $inventory_translation = $inventory->translations->where('language_id',getLocaleId())->first(); $inventory_product_translation = $inventory->product->translations->where('language_id',getLocaleId())->first(); @endphp
| {{ trans('app.name') }}: | {{ $inventory_product_translation->name ?? $inventory->product->name }} |
|---|---|
| {{ trans('app.brand') }}: | {{ $inventory_product_translation->brand ?? $inventory->product->brand }} |
| {{ trans('app.model_number') }}: | {{ $inventory->product->model_number }} |
| {{ trans('app.status') }}: | {{ $inventory->active ? trans('app.active') : trans('app.inactive') }} |
| {{ trans('app.available_from') }}: | {{ $inventory->available_from->toFormattedDateString() }} |
| {{ trans('app.updated_at') }}: | {{ $inventory->updated_at->toDayDateTimeString() }} |
| {{ trans('app.sku') }}: | {{ $inventory->sku }} |
|---|---|
| {{ trans('app.sale_price') }}: | {{ get_formated_currency($inventory->sale_price, 2) }} |
| {{ trans('app.stock_quantity') }}: | {{ $inventory->stock_quantity }} |
| {{ trans('app.min_order_quantity') }}: | {{ $inventory->min_order_quantity }} |
| {{ $attribute['name'] }}: | {{ $attributeValues[$k]['value'] ?? trans('help.not_available') }} |
| {{ trans('app.condition') }}: | {!! $inventory->condition !!} |
| {{ trans('app.condition_note') }}: | {{ $inventory_translation->condition_note ?? $inventory->condition_note }} |
| {{ trans('app.shipping_weight') }}: | {{ get_formated_weight($inventory->shipping_weight) }} |
| {{ trans('app.packagings') }}: | @forelse($inventory->packagings as $packaging) @empty {{ trans('app.packaging_not_available') }} @endforelse |
| {{ trans('app.puchase_price') }}: | {{ get_formated_currency($inventory->puchase_price, 2) }} |
| {{ trans('app.damaged_quantity') }}: | {{ $inventory->damaged_quantity }} |
| {{ trans('app.supplier') }}: | {{ $inventory->supplier->name }} |
| {{ trans('app.warehouse') }}: | {{ $inventory->warehouse->name }} |
| {{ trans('app.name') }}: | {{ $inventory_product_translation->name ?? $inventory->product->name }} |
|---|---|
| {{ trans('app.categories') }}: | @foreach ($inventory->product->categories as $category) @php $category_translation = $category->translations->where('language_id',getLocaleId())->first(); @endphp {{ $category_translation->name ?? $category->name }} @endforeach |
| {{ $inventory->product->gtin_type }}: | {{ $inventory->product->gtin }} |
| {{ trans('app.mpn') }}: | {{ $inventory->product->mpn }} |
| {{ trans('app.manufacturer') }}: | {{ $manufacturer_translation->name ?? $inventory->product->manufacturer->name }} |
| {{ trans('app.origin') }}: | {{ $inventory->product->origin->name }} |
| {{ trans('app.downloadable') }}: | {{ $inventory->product->downloadable ? trans('app.yes') : trans('app.no') }} |
| {{ trans('app.requires_shipping') }}: | {{ $inventory->product->requires_shipping ? trans('app.yes') : trans('app.no') }} |
| {{ trans('app.min_price') }}: | {{ get_formated_currency($inventory->product->min_price, 2) }} |
| {{ trans('app.max_price') }}: | {{ get_formated_currency($inventory->product->max_price, 2) }} |
| {{ trans('app.description') }}: | {!! htmlspecialchars_decode($inventory_product_translation->description ?? $inventory->product->description) !!} |
{{ trans('app.description_not_available') }}
@endif| {{ trans('app.offer_price') }}: | {{ get_formated_currency($inventory->offer_price, 2) }} |
|---|---|
| {{ trans('app.no_offer_available') }} | |
| {{ trans('app.offer_start') }}: | {{ $inventory->offer_start->toDayDateTimeString() . ' - ' . $inventory->offer_start->diffForHumans() }} |
| {{ trans('app.offer_end') }}: | {{ $inventory->offer_end->toDayDateTimeString() . ' - ' . $inventory->offer_end->diffForHumans() }} |