@extends('layout/ace') @section('breadcrumbs') {{ Breadcrumbs::render('Mesečne uplate') }} @endsection @section('title') Pregled mesečnih uplata @endsection @section('content')
@foreach ($dates as $index => $date) @endforeach
Godina Mesec Datum od Datum do Iznos Iznos sa PDV-om
{{ $date->year }} {{ App\Models\Helpers\Date::getMonthNameSr($index) }} {{ date('d.m.Y.', strtotime($date->start)) }} {{ date('d.m.Y.', strtotime($date->end)) }} {{ number_format($date->amount, 2) }} rsd {{ number_format($date->amount_with_pdv, 2) }} rsd

Ukupno: {{ number_format($sum, 2) }} rsd

Ukupno + PDV: {{ number_format($sum_with_pdv, 2) }} rsd

@endsection @section('scripts') @parent @endsection