@extends('layouts.report') @section('content')
| Date | Customer | Net Amount | CIS |
|---|---|---|---|
| {{ Helper::formatDate($transaction->date) }} | {{ $transaction->customer ? $transaction->customer->company_name : '' }} | {{ Helper::formatAmount($transaction->sum_amount) }} | {{ Helper::formatAmount($transaction->sum_cis_deduction) }} |
| Total | {{ Helper::formatAmount(Helper::calculateTotalByAttribute($transactions, 'sum_amount')) }} | {{ Helper::formatAmount(Helper::calculateTotalByAttribute($transactions, 'sum_cis_deduction')) }} | |