@extends('layouts.app') @section('title', 'سند دریافت و پرداخت') @section('content')

روش‌های پرداخت

@foreach ($payment->lines as $line) @endforeach
روشمبلغحسابپیگیری
{{ $line->methodLabel() }} {{ rm_money($line->amount) }} {{ $line->bankAccount?->name ?? '-' }} {{ $line->tracking_number ?? ($line->cheque?->number ?? '-') }}

سند حسابداری

@if ($payment->journalEntry)
@foreach ($payment->journalEntry->lines as $line) @endforeach
حساببدهکاربستانکار
{{ $line->account?->name }} {{ rm_money($line->debit) }} {{ rm_money($line->credit) }}
@else @endif
@endsection