You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

balance-sheet-summary.blade.php 1.6KB

12345678910111213141516171819202122232425262728293031
  1. <table class="w-full table-auto divide-y divide-gray-200 dark:divide-white/5">
  2. <x-company.tables.header :headers="$report->getSummaryHeaders()" :alignment-class="[$report, 'getAlignmentClass']"/>
  3. @foreach($report->getSummaryCategories() as $accountCategory)
  4. <tbody class="divide-y divide-gray-200 whitespace-nowrap dark:divide-white/5">
  5. <x-company.tables.category-header :category-headers="$accountCategory->header"
  6. :alignment-class="[$report, 'getAlignmentClass']"/>
  7. @foreach($accountCategory->types as $accountType)
  8. <tr>
  9. @foreach($accountType->summary as $accountTypeSummaryIndex => $accountTypeSummaryCell)
  10. <x-company.tables.cell :alignment-class="$report->getAlignmentClass($accountTypeSummaryIndex)">
  11. {{ $accountTypeSummaryCell }}
  12. </x-company.tables.cell>
  13. @endforeach
  14. </tr>
  15. @endforeach
  16. <tr>
  17. @foreach($accountCategory->summary as $accountCategorySummaryIndex => $accountCategorySummaryCell)
  18. <x-company.tables.cell :alignment-class="$report->getAlignmentClass($accountCategorySummaryIndex)"
  19. bold="true">
  20. {{ $accountCategorySummaryCell }}
  21. </x-company.tables.cell>
  22. @endforeach
  23. </tr>
  24. <tr>
  25. <td colspan="{{ count($report->getSummaryHeaders()) }}">
  26. <div class="min-h-12"></div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. @endforeach
  31. </table>