@if(auth()->user()->user_type == \App\Models\User::USER_TYPE_ADMIN || session()->exists('admin_id'))
@endif @if(count($groups) > 1)
@endif
@foreach($supervisors as $key => $supervisor)
{{ $selected_group_name }} - {{ $supervisor->name }}
{{ $products[$supervisor->product_id]['title'] }}
@if($products[$supervisor->product_id]['is_electronic'])
{{ __('messages.electronic') }}
@else
{{ __('messages.secret') }}
@endif
product_id.$key.the_opening") border-danger @else @enderror" id="the_opening" name="the_opening" wire:model.lazy="numbers.{{ $supervisor->product_id }}.{{ $key }}.the_opening" aria-describedby="theOpeningHelp" lang="en"> @if(!is_null($numbers[$supervisor->product_id][$key]['capture']))
@endif
@if(!is_null($component_identifier) && $component_identifier == $supervisor->id) @livewire('captures.capture-supervisor', ['supervisor_id' => $component_identifier], key($supervisor->id)) @endif
@if(!is_null($numbers[$supervisor->product_id][$key]['capture'])) @endif
product_id.$key.final_number") border-danger @else @enderror" id="final_number" @if(($numbers[$supervisor->product_id][$key]['disabled'] || !(int)setting('site.supervisor_edit_number')) && !session()->has('admin_id')) disabled @endif aria-describedby="finalNumberHelp" lang="en">
@if((int)setting('site.supervisor_edit_number') || session()->has('admin_id'))
@endif
@endforeach
@php $primary_number = 1; @endphp @foreach($product_list as $product_id => $product)

{{ $product['title'] }}

{{ __('messages.unit_price') }}

@if ($products[$product_id]['is_commercial'])
@endif
@php $product_list[$product_id]['perform_komit'] = $product_list[$product_id]['total_liters'] - $product_list[$product_id]['perform_atabe']; @endphp
@if ($products[$product_id]['is_commercial'])
@endif
@if ($products[$product_id]['is_commercial']) @php $commercial_price = $product_list[$product_id]['trade_amount'] * $product_list[$product_id]['commercial_fuel']; $normal_price = $product_list[$product_id]['price'] * $product_list[$product_id]['perform_komit']; $product_list[$product_id]['total_price'] = $normal_price + $commercial_price; @endphp @else @php $product_list[$product_id]['total_price'] = $product_list[$product_id]['price'] * $product_list[$product_id]['perform_komit']; @endphp @endif
@if(count($product_list) == $primary_number)
@if (auth()->user()->user_type == App\Models\User::USER_TYPE_ADMIN || session()->exists('admin_id'))
@endif
@endif @php $primary_number += 1; @endphp
@endforeach