@extends('employee.layouts')
@section('title', 'Dashboard')
@section('header')
@endsection
@section('content')
@php
$employee = auth('employee')->user();
$branch = null;
if ($employee && $employee->auth_branch_id) {
$branch = \App\Models\User::find($employee->auth_branch_id);
}
@endphp
{{-- Branch Details --}}
{{ $branch->name ?? '-' }}
{{ $branch->building_name ?? 'Address not available' }}
{{-- Branch Logo --}}
{{-- Employee Details --}}
Employee Details
Staff Name
:
{{ $employee->name ?? '-' }}
Email
:
{{ $employee->email ?? '-' }}
Designation
:
{{ ucfirst($employee->designation ?? '-') }}
Total Product
{{$productCount}}
receipt_long
View
Today Bills
{{ $billCount }}
receipt_long
View
@endsection
@section('footer')
@endsection