@extends('layouts.master') @section('title') إذن صرف تحويل رقم {{ $movement->id }} @endsection @section('content') @include('financial_years.partials.alerts') @php $fmt = fn ($v) => rtrim(rtrim(number_format((float) $v, 4, '.', ''), '0'), '.'); $open = $movement->keeper_status === 'pending_issue'; @endphp @if ($errors->has('transfer'))
| من فرع | {{ $branches[$movement->branch_from] ?? '-' }} | إلى فرع | {{ $branches[$movement->branch_to] ?? '-' }} |
|---|---|---|---|
| المرسل | {{ $movement->userfrom->name ?? '-' }} | المستلم | {{ $movement->userto->name ?? '-' }} |
| أمين المستودع | {{ $movement->issuer->name ?? ($movement->keeper->name ?? '-') }} | تاريخ الصرف / القيد | {{ $movement->issued_at ? \Carbon\Carbon::parse($movement->issued_at)->format('Y-m-d H:i') : '-' }} @if ($movement->issue_dely_record) / {{ $movement->issue_dely_record }} @endif |
| # | كود الصنف | الصنف | رصيد الفرع الآن | الكمية المحوّلة | السعر | الإجمالي |
|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $it->product->Product_Code ?? '-' }} | {{ $it->product->product_name ?? '-' }} | {{ $fmt($it->product->numberofpice ?? 0) }} | {{ $fmt($it->quantity) }} | {{ number_format((float) $it->cost_per_each_withoud_tax, 2) }} | {{ number_format((float) $it->cost_per_each_withoud_tax * (float) $it->quantity, 2) }} |