@extends('backend.layout') @section('content')
# | {{ __('Image') }} | {{ __('Title') }} | {{ __('Quantity') }} | {{ __('Unit Price') }} | {{ __('Total Price') }} |
---|---|---|---|---|---|
{{ $loop->iteration }} |
|
@php
$product_slug = $item
->product_content()
->where('language_id', $defaultLang->id)
->select('slug')
->first();
@endphp
{{ $item->title }} | {{ $item->quantity }} | {{ $position == 'left' ? $currency . ' ' : '' }}{{ $item->current_price }}{{ $position == 'right' ? ' ' . $currency : '' }} | @php $eachItemTotal = floatval($item->current_price) * $item->quantity; @endphp {{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($eachItemTotal, 2, '.', ',') }}{{ $position == 'right' ? ' ' . $currency : '' }} |