@extends('layouts.main-layout') @section('title') {{ config('app.name') }} - Home @endsection @section('content')

Izveštaji apoteke - {{ $pharmacy->pharmacy_name }}

Datum zadnjeg izveštaja: {{ $last_report_date }}

Promet

{{ number_format($allReportsSum, 2) }} RSD

Komada

{{ $total_qty }}

Statistika ukupno po mesecima

Statistika prodaja proizvoda po mesecima

Statistika količine proizvoda po mesecima

Statistika apoteke po mesecima

Statistika po drogerijama ukupno

@if(!empty($reportsGrouped) && count($reportsGrouped) > 0) @foreach($reportsGrouped as $key => $reports) @php $summm = 0; @endphp @foreach($reports as $report) @php $summm += $report->reportItemsSum; @endphp @if ($loop->last) @endif @endforeach @endforeach @endif @if($agent->isMobile()) @else @endif
# Naziv Izveštaja Datum Suma Akcije
{{ $report->wholesale->wholesale_name}} {{$report->report_date}} {{ number_format($report->reportItemsSum, 2) }} Prikaži Detalje
Suma za mesec {{ date_to_month($report->report_date) }} {{ number_format($summm, 2) }}
Ukupna suma: {{number_format($allReportsSum, 2)}}
{{number_format($allReportsSum, 2)}}
@if(isset($product_and_qty_merged) && !empty($product_and_qty_merged)) @foreach($product_and_qty_merged as $p_name => $p_qty) @endforeach @endif
Naziv Proizvoda Količina
{{ $p_name }} {{ $p_qty }}
@endsection