@extends('layouts.master') @section('title', __('index.client_invoices')) @section('action', __('index.client_invoices')) @section('button') @endsection @section('main-content')
@include('admin.section.flash_message') @include('admin.client.common.breadcrumb')
{{ __('index.client_detail') }}
{{ __('index.name') }}

{{ $clientDetail->name }}

{{ __('index.phone') }}

{{ $clientDetail->contact_no }}

{{ __('index.email') }}

{{ $clientDetail->email }}

{{ __('index.address') }}

{{ $clientDetail->address ?? 'N/A' }}

{{ __('index.country') }}

{{ $clientDetail->country ?? 'N/A' }}

{{ __('index.client_project_lists') }}
@php $ProjectStatus = [ 'in_progress' => 'primary', 'not_started' => 'primary', 'on_hold' => 'info', 'cancelled' => 'danger', 'completed' => 'success', ] @endphp @forelse($clientDetail->projects as $key => $value) @empty @endforelse
# {{ __('index.name') }} {{ __('index.date_start') }} {{ __('index.deadline') }} {{ __('index.amount') }} (Rs.) {{ __('index.status') }}
{{ ++$key }} {{ ucfirst($value->name) }} {{ __('index.all_tasks') }}: {{ $value->tasks->count() }}
{{ __('index.completed_tasks') }}: {{ $value->completedTask->count() }}
{{ \App\Helpers\AppHelper::formatDateForView($value->start_date) }} {{ \App\Helpers\AppHelper::formatDateForView($value->deadline) }} {{ number_format($value->cost) }} {{ \App\Helpers\PMHelper::STATUS[$value->status] }}

{{ __('index.no_records_found') }}

@endsection @section('scripts') @include('admin.client.common.scripts') @endsection