@extends('layouts.pos') @section('title', 'إيصال '.$posSale->receipt_number.' - '.config('app.name')) @section('content')
{{ $posSale->created_at?->format('Y-m-d H:i') }}
| الصنف |
الكمية |
سعر الوحدة |
ت. الوحدة |
الإجمالي |
|---|---|---|---|---|
| {{ $line->item?->name_ar ?? $line->item?->name_en ?? $line->item?->code }} @if($line->item?->code) {{ $line->item->code }} @endif | {{ rtrim(rtrim(number_format((float) $line->quantity, 4, '.', ''), '0'), '.') ?: '0' }} | {{ $erpCurrencyCode }} {{ number_format((float) $line->unit_price, 2) }} | {{ $erpCurrencyCode }} {{ number_format((float) $line->unit_cost, 4) }} | {{ $erpCurrencyCode }} {{ number_format((float) $line->line_total, 2) }} |