@forelse ($carts as $key => $cart) @if ($cart['unit'] == 0) @else @endif @empty @endforelse
Code Name Qty Price (Rp) Discount (Rp) Sub Total (Rp)
{{ $cart['code'] }} {{ $cart['name'] }}
@if ($isEnabledEditPrice) Edit @endif {{ number_format($cart['nprice'], 0, ',', '.') }}
@if ($isEnabledEditDiscount && $cart['promo'] == 0) Edit @endif {{ number_format($cart['nprice'] - $cart['price'], 0, ',', '.') }}
{{ number_format($cart['price'] * $cart['qty'], 0, ',', '.') }} {{ number_format($cart['total_price'], 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
@if (!$isDisabledSales)
F3
{{-- --}}
@if ($selectedSales === null && $isDropdownsalesVisible) @endif
@endif

Quantity

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

Grand Total

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

@if ($this->selectedSales === null && !$isDisabledSales)
@else
@endif
Lost Sale
@foreach ($lostSale as $item)

Item : {{ $item->name }} - {{ $item->barcode }}

@if ($item->total_qty <= 0)

Tidak ada stock

@else

Ada stock {{ $item->total_qty }} pcs

@endif


@endforeach
Customer Origin

@livewireScripts