@extends('backend.layouts.master') @section('section-title', 'Employee') @section('page-title', 'Employee List') @if (check_permission('employee.store')) @section('action-button') Add Employee @endsection @endif @push('css') @endpush @section('content')
{{--
@php $custommer = App\Models\Customer::get(); @endphp
Reset Print
--}}
@forelse($employees as $data) {{-- edit modal --}} @csrf @method('PUT') {{-- delete modal --}} @csrf @method('DELETE') @empty @endforelse
#SL Branch Name Phone Joining Date Salary Payment Date Advance Payment Action
{{ $loop->index + 1 }} {{ $data->branch?->name }} {{ $data->name }} {{ $data->phone }} {{ $data->joining_date }} {{ number_format($data->salary, 2) }} {{ empty(get_setting('com_currency')) ?: get_setting('com_currency') }} {{ $data->payment_date }} {{ number_format($data->advance_payment, 2) }} {{ empty(get_setting('com_currency')) ?: get_setting('com_currency') }}
No Data Available
{{ $employees->onEachSide(1)->links() }}
{{-- Add Modal --}}
@csrf @if (auth()->user()->branch_id == 1) @foreach ($allBranch as $branch) @endforeach @endif
@endsection