Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

invoice-totals.blade.php 1.1KB

123456789101112131415161718192021222324252627282930
  1. @use('App\Utilities\Currency\CurrencyAccessor')
  2. @php
  3. $data = $this->form->getRawState();
  4. $viewModel = new \App\View\Models\InvoiceTotalViewModel($this->record, $data);
  5. extract($viewModel->buildViewData(), \EXTR_SKIP);
  6. @endphp
  7. <div class="totals-summary w-full pr-14">
  8. <table class="w-full text-right table-fixed">
  9. <tbody>
  10. <tr>
  11. <td class="w-2/3 text-sm px-4 py-2 font-medium leading-6 text-gray-950 dark:text-white">Subtotal:</td>
  12. <td class="w-1/3 text-sm pl-4 py-2 leading-6">{{ $subtotal }}</td>
  13. </tr>
  14. <tr>
  15. <td class="w-2/3 text-sm px-4 py-2 font-medium leading-6 text-gray-950 dark:text-white">Taxes:</td>
  16. <td class="w-1/3 text-sm pl-4 py-2 leading-6">{{ $taxTotal }}</td>
  17. </tr>
  18. <tr class="font-semibold">
  19. <td class="w-2/3 text-sm px-4 py-2 font-medium leading-6 text-gray-950 dark:text-white">Total:</td>
  20. <td class="w-1/3 text-sm pl-4 py-2 leading-6">{{ $grandTotal }}</td>
  21. </tr>
  22. </tbody>
  23. </table>
  24. </div>