@extends('layouts.master') @section('title') استلام فاتورة مشتريات {{ $purchase->orderId }} @endsection @section('page-header')
@endsection @section('content') @include('financial_years.partials.alerts') @php $open = in_array($purchase->receipt_status, ['pending', 'partial'], true); $canPartial = auth()->user()->can('warehouse_receipts_partial') || auth()->user()->can('warehouse_receipts_manage'); $canPrint = auth()->user()->can('warehouse_receipts_print') || auth()->user()->can('warehouse_receipts_manage'); @endphp| رقم السند | النوع | التاريخ | بواسطة | الكمية | القيمة | رقم القيد | |
|---|---|---|---|---|---|---|---|
| {{ $r->id }} | {{ $r->type === 'full' ? 'كلي' : 'جزئي' }} | {{ $r->created_at->format('Y-m-d H:i') }} | {{ $r->receiver->name ?? '-' }} | {{ rtrim(rtrim(number_format($r->total_qty, 4, '.', ''), '0'), '.') }} | {{ number_format($r->total_value, 2) }} | {{ $r->dely_record ?: '-' }} | @if ($canPrint)طباعة@endif |