@extends('AdminPanel.layouts.master') @section('content')
{{__('common.totals')}}

{{round(revenuesTotals($branch, $month, $year)['revenues'])}}

{{__('common.totalRevenues')}}

{{round(revenuesTotals($branch, $month, $year)['deposits'])}}

{{__('common.totalDeposits')}}

{{round(revenuesTotals($branch, $month, $year)['total'])}}

{{__('common.totalIncome')}}

{{__('common.salariesTable')}}
@if(userCan('revenues_edit') || userCan('revenues_delete')) @endif @forelse($revenues as $revenue) @if(userCan('revenues_edit') || userCan('revenues_delete'))
{{__('common.date')}} {{__('common.type')}} {{__('common.user')}} {{__('common.amount')}} {{__('common.details')}}{{__('common.actions')}}
{{$revenue['Date']}} {{$revenue->typeText()}} {{$revenue->responsible->name ?? '-'}} {{$revenue->amount}} {{$revenue->Notes}} @if(userCan('revenues_edit')) @endif @if(userCan('revenues_delete'))