{{-- @endif > --}} @forelse ($carts as $cart) @empty @endforelse
Code Name Qty Price Discount Sub Total
{{ $cart['code'] }} {{ $cart['name'] }} {{-- @if ($cart['maxpack'] == 'N' || $cart['benefit'] == 'Cheapest' || $cart['benefit'] == 'Free') disabled @endif> --}} {{ 'Rp ' . number_format($cart['nprice'], 0, ',', '.') }} {{ 'Rp ' . number_format($cart['nprice'] - $cart['price'], 0, ',', '.') }} {{ 'Rp ' . number_format($cart['price'] * $cart['qty'], 0, ',', '.') }}
Empty
{{--
@if ($isSuggestion)

{{ $suggestionName }}

@foreach ($suggestion as $index => $item)
{{ $item['name'] }} ( Pack {{ $item['pack'] }} )
{{ $item['barcode'] }}
@if ($index === 0)
Add to Cart
@else
Add to Cart
@endif
@endforeach
@endif
--}} {{--

Suggestion

Item
Barcode
Add to Cart
Item
Barcode
Add to Cart
Item
Barcode
Add to Cart
--}}
F3
@if ($selectedSales === null && $isDropdownsalesVisible) @endif
{{--

Total Qty

{{ $carttotal->sum('qty') }}

Sub Total

@if ($carttotal->isEmpty()) Rp @else {{ 'Rp ' . number_format($carttotal->sum('total_price'), 0, ',', '.') }} @endif

--}}

Quantity

{{ $carttotal->sum('qty') }}

Sub Total

@if ($carttotal->isEmpty()) Rp @else {{ 'Rp ' . number_format($carttotal->sum('total_price'), 0, ',', '.') }} @endif

{{--
@if ($isSuggestion)

{{ $suggestionName }}

@foreach ($suggestion as $index => $item)

{{ $item['name'] }} ( Pack {{ $item['pack'] }} )

{{ $item['barcode'] }}

@if ($index === 0) @else @endif
@endforeach
@endif
--}}
@if ($this->selectedSales === null)
@else
@endif
@livewireScripts