@php $commonTags = [ '{{total_amount}}' => 'Total Amount (Invoice/Voucher)', '{{total_cost}}' => 'Total Production Cost', '{{total_value}}' => 'Inventory Value', '{{supplier_account}}' => 'Supplier Account (Linked)', '{{branch_account}}' => 'Branch Account (Linked)', '{{customer_account}}' => 'Customer Account (Linked)', '{{treasury_account}}' => 'Branch Treasury (Default)', '{{bank_account}}' => 'Default Bank Account', ]; @endphp @extends('layouts.app') @section('title', 'Configure: ' . $scenario->name) @section('content')
{{ $scenario->event_key }}
| # | Description / الوصف | Debit / مدين | Credit / دائن | Formula / المعادلة | Condition / الشرط | Actions / الإجراءات |
|---|---|---|---|---|---|---|
| {{ $step->priority }} | {{ $step->description }} |
@if(str_contains($step->debit_account_pattern, '{'))
{{ $step->debit_account_pattern }}
@else
{{ $step->debit_account_pattern }}
@endif
|
@if(str_contains($step->credit_account_pattern, '{'))
{{ $step->credit_account_pattern }}
@else
{{ $step->credit_account_pattern }}
@endif
|
{{ $step->debit_amount_formula ?? $step->credit_amount_formula ?? $step->amount_formula }} | @if($step->condition_expression) {{ $step->condition_expression }} @else Always @endif |
|
No Rules DefinedStart by adding the first accounting step for this scenario. |
||||||