@extends('pdf.layouts.daily_constraints.app') @section('title', __('Daily Constraint') . ' #' . ($header['constraint_number'] ?? '')) @section('content')
| {{ __('Constraint No') }}: {{ $header['constraint_number'] ?? '-' }} | {{ __('Date') }}: {{ $header['date'] ?? '-' }} |
| {{ __('Reference No') }}: {{ $header['ref_number'] ?? '-' }} | {{ __('Description') }}: {{ $header['description'] ?? '-' }} |
| {{ __('Account No') }} | {{ __('Account Name') }} | {{ __('Debit') }} | {{ __('Credit') }} | {{ __('Cost Center') }} |
|---|---|---|---|---|
| {{ $line['account_number'] }} | {{-- اسم الحساب حسب اللغة --}}{{ $line['account_name'] }} | {{-- المبالغ --}}{{ number_format($line['debit'], 2) }} | {{ number_format($line['credit'], 2) }} | {{-- مركز التكلفة أو البيان --}}{{ $line['cost_center_name'] ?: '-' }} |
| {{ __('Total Debit & Credit') }} | {{ number_format($totals['total_debit'], 2) }} | {{ number_format($totals['total_credit'], 2) }} | ||