@foreach($supervisors as $supervisor)
{{ $supervisor->name }}
{{ $products[$supervisor->product_id]['title'] }}
@if($products[$supervisor->product_id]['is_electronic'])
{{ __('messages.electronic') }}
@else
{{ __('messages.secret') }}
@endif
product_id.$supervisor->id.the_opening") border-danger @else @enderror" id="the_opening" name="the_opening" wire:model.debounce.500ms="numbers.{{ $supervisor->product_id }}.{{ $supervisor->id }}.the_opening" aria-describedby="theOpeningHelp"> @if(!is_null($numbers[$supervisor->product_id][$supervisor->id]['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][$supervisor->id]['capture'])) @endif
product_id.$supervisor->id.final_number") border-danger @else @enderror" id="final_number" @if($numbers[$supervisor->product_id][$supervisor->id]['disabled']) disabled @endif aria-describedby="finalNumberHelp">
@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)
@endif @php $primary_number += 1; @endphp
@endforeach