@extends('layouts.app') @section('content')
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 }} | @if (isset($nomenclature->elements->types_elements->Description)){{ $nomenclature->elements->types_elements->Description }} | @else@endif | {{ $nomenclature->elements->chapeaus->name }} | {{ $nomenclature->elements->chapeaus->clients->Nom }} | @if (isset($nomenclature->elements->quincailleries->Code_quincaillerie))
{{$nomenclature->elements->quincailleries->Code_quincaillerie}} |
@else
@endif @if (isset($nomenclature->elements->materiaus->Code)) | 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}} |
@else
@endif |
@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}}
@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
Ordre:{{$cd->Ordre}} DRég:{{ $cd->Duree_par_reglage}} DRéaU: {{$cd->Duree_par_element}} DRéaT: {{ (($cd->Duree_par_element) * $nomenclature->Quantite) }} |
{{array_sum($arrayAction)}} /sec |