@extends('dashboard.layouts.app') @section('content') @include('components.alert')
| Account | Cost Center | Debit | Credit |
|---|---|---|---|
|
{{ $line->account?->title }}
{{ $line->account?->code }}
|
@if ($line->costCenter)
{{ $line->costCenter->title }}
{{ $line->costCenter->code }}
@else
-
@endif
|
{{ $line->debit > 0 ? number_format($line->debit, 2) : '-' }} | {{ $line->credit > 0 ? number_format($line->credit, 2) : '-' }} |
| Document | Amount | Reversal |
|---|---|---|
| {{ class_basename($allocation->allocatable_type) }} #{{ $allocation->allocatable_id }} | {{ number_format((float) $allocation->allocated_amount, 2) }} | {{ $allocation->is_reversal ? 'Yes' : 'No' }} |
| No allocations linked. | ||