
<!--totals-->
<tr class="report-results-table-totals">
    <td colspan="1">@lang('lang.page_totals')</td>
    <td>{{ $totals['count_estimates'] ?? 0 }}</td>
    <td class="data-type-money" data-tableexport-xlsxformatid="4">{{ runtimeMoneyFormat($totals['sum_before_tax'] ?? 0) }}</td>
    <td class="data-type-money" data-tableexport-xlsxformatid="4">{{ runtimeMoneyFormat($totals['sum_tax'] ?? 0) }}</td>
    <td class="data-type-money" data-tableexport-xlsxformatid="4">{{ runtimeMoneyFormat($totals['sum_discount'] ?? 0) }}</td>
    <td class="data-type-money" data-tableexport-xlsxformatid="4">{{ runtimeMoneyFormat($totals['sum_adjustment'] ?? 0) }}</td>
    <td class="data-type-money" data-tableexport-xlsxformatid="4">{{ runtimeMoneyFormat($totals['sum_final_amount'] ?? 0) }}
    </td>
</tr>