@extends('layouts.app') @section('content')
@if($isAdmin)
{{__("Dashboard")}}

{{$firma->naziv}}

{{__("Company data")}}

{{__("Company data")}}

{{__("Company name")}} {{$firma->naziv}}
{{__("Company number")}} {{$firma->mb}}
{{__("Tax number")}} {{$firma->pib}}
@if($firma->id == 1) {{__("Owners")}} @else {{__("Owner")}} @endif {{$firma->vlasnik}}
@else @php $scheduledCount = $klijenti->count() + $klijentiOptika->count() + $runeOptics->count() + $solarPanels->count() + $klijentiSupernova->count() + $klijentiBakar->count(); $siteCount = $kirSites->count() + $huaweiSites->count(); $taskCount = $tasks->count(); $totalDashboardItems = $scheduledCount + $siteCount + $taskCount; @endphp
{{date('d.m.Y.')}}

{{__("Dashboard")}}

{{__("Today")}}

{{__("Appointment date")}} {{$scheduledCount}}
{{__("Sites")}} {{$siteCount}}
{{__("Tasks")}} {{$taskCount}}
{{__("Total")}} {{$totalDashboardItems}}
@if(!$klijenti->isEmpty())

M:SAT DTH

@foreach($klijenti as $k)
{{__("Full name")}} {{__("Network group")}} {{__("Installation address")}} {{__("Contact")}} {{__("Appointment date")}} {{__("Note")}}
{{$k->ime.' '.$k->prezime}} {{$k->mrezna_grupa}} {{$k->adresa_instalacije}} @if($k->tel1) {!! nl2br('Fiksni: '.$k->tel1." \n")!!} @endif @if($k->tel2) {!! 'Mob: '.nl2br($k->tel2." \n") !!} @endif @if($k->tel3) {!! 'Mob2: '.nl2br($k->tel3) !!} @endif @if($k->datum_zakazivanja) {{date('d.m.Y. H:i', strtotime($k->datum_zakazivanja))}} @endif