@lang('branch_report.Branch') - {{ app()->getLocale()== 'en'? $branch->name_en : $branch->name_ar }}
{{--

--}} {{-- @lang('branch_report.Details'):--}} {{--

--}}

@lang('branch_report.Name')

{{ app()->getLocale()== 'en'? $branch->name_en : $branch->name_ar }}

@lang('branch_report.Address')

{{ app()->getLocale()== 'en'? $branch->address_en : $branch->address_ar }}

@lang('branch_report.Phone')

{{$branch->phone }}

@lang('branch_report.Email')

{{ $branch->email}}

@lang('branch_report.Manager')

{{ $branch->employess && $branch->employess->first_name ? ($branch->employess->first_name . ' ' . $branch->employess->last_name) : __('branch_report.None') }}

@lang('branch_report.IsMain')

{{ $branch->is_default == 0 ? __('branch_report.No') : __('branch_report.Yes')}}

@lang('branch_report.IsDelivery')

{{ $branch->is_delivery == 0 ? __('branch_report.No') : __('branch_report.Yes')}}

@lang('branch_report.TaxApplication')

{{ $branch->tax_application == 0 ? __('branch_report.No') : __('branch_report.Yes')}}

@lang('branch_report.CouponApplication')

{{ $branch->coupon_application == 0 ? __('branch_report.No') : __('branch_report.Yes')}}

@lang('branch_report.Latitude')

{{ $branch->latitute }}

@lang('branch_report.Longitude')

{{ $branch->longitute }}

@lang('branch_report.OrdersNumber')

{{ $orders->order_count ?? 0}}

@lang('branch_report.TotalProfit')

{{ $profit->total_revenue ?? 0 }} {{ is_object($branch->country) ? $branch->country->currency_symbol : ($branch->country ?? '') }}

@lang('branch_report.totalRevenueAllBranches')

{{ $totalRevenueAllBranches && count($totalRevenueAllBranches) > 0 ? collect($totalRevenueAllBranches)->map(fn($revenue, $currency) => number_format($revenue, 2) . ' ' . $currency)->implode(', ') : '0' }}