@extends('layouts.pdf') @section('style') @endsection @section('header')
Vintage Beauty gyártási dokumentáció - {{$production->production_number}}
@endsection @section('footer') @endsection @section('content')
{{Str::upper($production->product->name)}} GYÁRTÁS
Gyártási szám {{$production->production_number}} Gyártást végezte : {{implode(',',$production->production_users_name)}}
Készülék azonosító VB-001
Gyártott mennyiség {{$production->actual_quantity}}
Gyártás ideje {{$production->finished_at}}
Lejárati idő {{\Carbon\Carbon::parse($production->finished_at)->add($production->recipe->best_before,'month')->format('Y-m-d')}}
@if(!is_null($production->containers[0]->pivot->phase)) @endif @foreach(\App\RawMaterialContainerHistory::where('event_id',3)->where('related_model_id',$production->id)->get() as $history_event) @if(!is_null($production->containers[0]->pivot->phase)) @endif @endforeach @if(!is_null($production->containers[0]->pivot->phase)) @else @endif
Összetevő INCI névFázis% Szükséges Bemérés [{{$production->product->unit}}] Batch No. Lejárati idő
{{$history_event->raw_material_container_wt->raw_material->name}} {{$history_event->raw_material_container_wt->raw_material->inci}}{{range('A', 'Z')[$history_event->phase - 1]}}{{$production->recipe_wt->raw_materials->where('id',$history_event->raw_material_container_wt->raw_material->id)->first()->pivot->percentage }} {{$production->expected_quantity * ($production->recipe_wt->raw_materials->where('id',$history_event->raw_material_container_wt->raw_material->id)->first()->pivot->percentage/100)}} {{$history_event->quantity}} {{$history_event->raw_material_container_wt->batch_number}} {{$history_event->raw_material_container_wt->best_before}}
{{$production->recipe_wt->raw_materials->sum('pivot.percentage')}} {{$production->expected_quantity}}
Az edények gyártásra alkalmas állapotúak igen
Ellenőrizte {{implode(',',$production->container_checked_users_name)}}
Gyártási paraméterek
{!!$production->production_parameters!!}
@foreach($production->production_users_name as $name) @endforeach
Gyártásban résztvevők Aláírás
{{$name}}
@for($i = 0; $i < count($production->production_users_name) -1; $i++) @endfor
Gyártási leirattól eltérő esemény:
@if($production->production_special_event != null) {{$production->production_special_event}} @else a gyártás a gyártási leiratnak megfelelően zajlott @endif
a
Mintavételt végezte {{implode(',',$production->product_sampled_users_name)}}
Átmeneti tároló megfelelő igen
Átmeneti tárolót ellenőrizte {{implode(',',$production->storage_inspacted_users_name)}}
Átmeneti tárolóba töltés
Mikrobiológia indult {{$production->microbiology_start}}
Mikrobiológia vége {{$production->microbiology_stop}}
@if($production->measured_ph != null && $production->adjusted_ph != null) @else @endif
Mért pH: {{$production->measured_ph}}
Beállított pH: {{$production->adjusted_ph}}
pH megjegyzés: {{$production->ph_description}}
pH A termék nem tartalmaz víz fázist, ezért a pH nem mérhető
Termék megjelenés: {{$production->product_features}}
A termék megfelelő igen
Gyártás lezárva {{$production->finished_at}}
Termék kiszerelhető megfelelő mikrobiológia után igen
Az edények és eszközök takarítását és fertőtlenítését végezte: Aláírás
{{implode(',',$production->cleaned_users_name)}}
@endsection