@extends('layouts.app') @section('content')

Commande


{{$nomenclature_data[0]->name}}-{{$nomenclature_data[0]->ref}}

@csrf

temps sous-total pour 1 commande: heure(s):min(s):sec(s):
@foreach($nomenclature_data as $nomenclature) @php $arrayAction = []; @endphp @if (isset($nomenclature->elements->types_elements->Description)) @else @endif @if (isset($nomenclature->elements->quincailleries->Code_quincaillerie)) @else @endif @if (isset($nomenclature->elements->materiaus->Code)) @else @endif @endforeach
Numéro Description Quantité Type Element Nom Fichier Nom Client ref.quincaillerie materiaux action en /sec Temps Total /piece
{{ $nomenclature->elements->Code_element }} {{ $nomenclature->elements->Description_element }} {{ $nomenclature->Quantite }}{{ $nomenclature->elements->types_elements->Description }}{{ $nomenclature->elements->chapeaus->name }} {{ $nomenclature->elements->chapeaus->clients->Nom }}
{{$nomenclature->elements->quincailleries->Code_quincaillerie}}
Code matériau:{{$nomenclature->elements->materiaus->Code}}
Code epaisseur:{{$nomenclature->elements->materiaus->epaisseurs->Code}}
Matiere:{{$nomenclature->elements->materiaus->associations_matieres_nuances->matieres->Code}}
Nuance:{{$nomenclature->elements->materiaus->associations_matieres_nuances->nuances->Code}}
Tarif:{{$nomenclature->elements->materiaus->Tarif}}
@if (isset($nomenclature->elements->actions_fabrications)) @foreach ($sql as $cc) @foreach ($cc as $cd) @if ($nomenclature->elements->id === $cd->Code_element)
{{$cd->actions->Code_action}}

Ordre:{{$cd->Ordre}} DRég:{{ $cd->Duree_par_reglage}} DRéaU: {{$cd->Duree_par_element}} DRéaT: {{ (($cd->Duree_par_element) * $nomenclature->Quantite) }}

@php $arrayAction[] = ((($cd->Duree_par_element) * $nomenclature->Quantite) + $cd->Duree_par_reglage); $arrayActions[] = ((($cd->Duree_par_element) * $nomenclature->Quantite) + $cd->Duree_par_reglage); @endphp @endif @endforeach @endforeach @else @endif
{{array_sum($arrayAction)}} /sec
@php if (!isset($arrayActions)) { $arrayActions = []; $dodo = 0; }else { $dodo = array_sum($arrayActions); } @endphp {{-- --}} {{-- --}} @endsection