Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

cash-flow-statement-summary.blade.php 3.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <table class="w-full min-w-[50rem] divide-y divide-gray-200 dark:divide-white/5">
  2. <colgroup>
  3. <col span="1" style="width: 65%;">
  4. <col span="1" style="width: 35%;">
  5. </colgroup>
  6. <x-company.tables.header :headers="$report->getSummaryHeaders()"
  7. :alignment-class="[$report, 'getAlignmentClass']"/>
  8. @foreach($report->getSummaryCategories() as $accountCategory)
  9. <tbody class="divide-y divide-gray-200 whitespace-nowrap dark:divide-white/5">
  10. <x-company.tables.category-header :category-headers="$accountCategory->header"
  11. :alignment-class="[$report, 'getAlignmentClass']"/>
  12. @foreach($accountCategory->types as $accountType)
  13. <tr>
  14. @foreach($accountType->summary as $accountTypeSummaryIndex => $accountTypeSummaryCell)
  15. <x-company.tables.cell :alignment-class="$report->getAlignmentClass($accountTypeSummaryIndex)">
  16. {{ $accountTypeSummaryCell }}
  17. </x-company.tables.cell>
  18. @endforeach
  19. </tr>
  20. @endforeach
  21. <tr>
  22. @foreach($accountCategory->summary as $accountCategorySummaryIndex => $accountCategorySummaryCell)
  23. <x-company.tables.cell :alignment-class="$report->getAlignmentClass($accountCategorySummaryIndex)"
  24. bold="true" :underline-bold="$loop->last">
  25. {{ $accountCategorySummaryCell }}
  26. </x-company.tables.cell>
  27. @endforeach
  28. </tr>
  29. <tr>
  30. <td colspan="{{ count($report->getSummaryHeaders()) }}">
  31. <div class="min-h-12"></div>
  32. </td>
  33. </tr>
  34. </tbody>
  35. @endforeach
  36. </table>
  37. <table class="w-full min-w-[50rem] divide-y border-t divide-gray-200 dark:divide-white/5">
  38. <colgroup>
  39. <col span="1" style="width: 65%;">
  40. <col span="1" style="width: 35%;">
  41. </colgroup>
  42. <x-company.tables.header :headers="$report->getSummaryOverviewHeaders()"
  43. :alignment-class="[$report, 'getAlignmentClass']"/>
  44. @foreach($report->getSummaryOverview() as $overviewCategory)
  45. <tbody class="divide-y divide-gray-200 whitespace-nowrap dark:divide-white/5">
  46. <tr class="bg-gray-50 dark:bg-white/5">
  47. @foreach($overviewCategory->summary as $overviewSummaryIndex => $overviewSummaryCell)
  48. <x-company.tables.cell :alignment-class="$report->getAlignmentClass($overviewSummaryIndex)" bold="true">
  49. {{ $overviewSummaryCell }}
  50. </x-company.tables.cell>
  51. @endforeach
  52. </tr>
  53. @if($overviewCategory->summary['account_name'] === 'Starting Balance')
  54. @foreach($report->getSummaryOverviewAlignedWithColumns() as $summaryRow)
  55. <tr>
  56. @foreach($summaryRow as $summaryIndex => $summaryCell)
  57. <x-company.tables.cell :alignment-class="$report->getAlignmentClass($summaryIndex)"
  58. :bold="$loop->parent->last"
  59. :underline-bold="$loop->parent->last && $summaryIndex === 'net_movement'"
  60. :underline-thin="$loop->parent->remaining === 1 && $summaryIndex === 'net_movement'"
  61. >
  62. {{ $summaryCell }}
  63. </x-company.tables.cell>
  64. @endforeach
  65. </tr>
  66. @endforeach
  67. @endif
  68. </tbody>
  69. @endforeach
  70. </table>