{{-- |-------------------------------------------------------------------------- * _ _ __ _ _ _ __ * | | ___ ___ __| | ___| _| | ___ __| | ___ _ __| |__ ___ __|_ | * / __)/ __/ _ \ / _` |/ _ \ || | / _ \/ _` |/ _ \ '__| '_ \ / _ \/ __| | * \__ \ (_| (_) | (_| | __/ || |__| __/ (_| | __/ | | | | | (_) \__ \ | * ( /\___\___/ \__,_|\___| ||_____\___|\__,_|\___|_| |_| |_|\___/|___/ | * |_| |__| |__| * ? @created: 2023-06-25 ? @modified: 2023-06-25 @version: 1.0 @project: Okis 3.0 ? @author: Code[Lederhos] ? Stanislaw Lederhos ? mail@code-lederhos.de * $debugPicasso = [ 0 => 'Crafting a masterpiece out of chaos', * 1 => 'the art of flawless functionality' ]; @description: [A BRIEF DESCRIPTION OF THE PROJECT OR FILE] ---------------------------------------------------------------------------- Changelog: ========== * [VERSION]| (YYYY-MM-DD) | [DESCRIPTION OF CHANGES] 1.0 | 2023-06-25 | Initial version / Bugfixing ---------------------------------------------------------------------------- --}}
@includeIf('layouts.components.card_header', [ 'title' => 'Modellanlieferung', 'collapse_id' => "scan-$cycle->id", ])
@includeIf('layouts.components.card_header', [ 'title' => 'Sendungsdetails', 'collapse_id' => "scan_cv_cb-$cycle->id", 'css' => 'no-end-border' ])
@includeIf('layouts.components.inputs_v2', [ 'input_id' => 'receiver', 'input_type' => 'select', 'label' => 'Ziel', 'value' => $cycle->receiver ?? '', 'disabled' => !empty($cycle->receiver_tracking) ? true : $disabled, 'options' => [ [ 'option_label' => 'bitte wählen...', 'option_value' => '', // 'option_attr' => "disabled", ], [ 'option_label' => 'Hongkong Nancy', 'option_value' => 26 ], [ 'option_label' => 'Oberursel', 'option_value' => 32 ], [ 'option_label' => 'Nancy service_vip11', 'option_value' => 35 ], ], ])
@includeIf('layouts.components.inputs_v2', [ 'input_id' => 'receiver_tracking', 'label' => 'Sendungsverfolgung', 'placeholder' => '00000-XYZ-000', 'value' => $cycle->receiver_tracking ?? '', 'disabled' => !empty($cycle->receiver_tracking) ? true : $disabled, ])
@if ( !empty($cycle->receiver_tracking) )
@includeIf('layouts.components.inputs_v2', [ 'input_id' => 'cv_timestamp', 'label' => 'Versand start', 'value' => optional($cycle->states()->where('state_type', 'cv')->first())->updated_at?->format('d.m.Y H:i'), 'disabled' => true, ])
@endif
@includeIf('layouts.components.inputs_v2', [ 'input_type' => 'checkbox', 'input_id' => 'shipping_notice_ignore', 'check_label' => 'Auf Shipping Liste ignorieren', 'value' => (int) ($form_metas->shipping_notice_ignore ?? 0), 'margin_top' => 35, 'disabled' => $disabled, ])
@if ( !empty($cycle->receiver_tracking) )
@includeIf('layouts.components.datetimepicker', [ 'input_id' => 'cb_start_date', 'label' => 'Rücklieferung start', 'clear_title' => 'Rücklieferung', 'date' => true, 'time' => true, 'value' => optional($cycle->states()->where('state_type', 'cb')->first())->created_at?->format('d.m.Y H:i'), 'disabled' => optional($cycle->states()->where('state_type', 'cb')->first())->tracking_nr ? true : $disabled, ])
@includeIf('layouts.components.inputs_v2', [ 'input_id' => 'cb_tracking_nr', 'label' => 'Rücklieferungsverfolgung', 'placeholder' => '00000-XYZ-000', 'value' => optional($cycle->states()->where('state_type', 'cb')->first())->tracking_nr, 'disabled' => optional($cycle->states()->where('state_type', 'cb')->first())->tracking_nr ? true : $disabled, ])
@includeIf('layouts.components.datetimepicker', [ 'input_id' => 'cb_finish_date', 'label' => 'Rücklieferung erfasst', 'clear_title' => 'Rücklieferung', 'date' => true, 'time' => true, 'value' => optional($cycle->states()->where('state_type', 'cb')->where('state_status', '6')->first())->updated_at?->format('d.m.Y H:i'), 'disabled' => optional($cycle->states()->where('state_type', 'cb')->where('state_status', '6')->first())->updated_at ? true : $disabled, ])
@endif
@includeIf('layouts.components.card_header', [ 'title' => 'Details', 'collapse_id' => "scan_detailis-$cycle->id", 'css' => 'no-end-border' ])
@include('layouts.components.inputs_v2', [ 'input_type' => 'number_spinner', 'input_id' => 'total-' .$cycle->id, 'label' => 'Gesamteinheiten', 'value' => $cycle->receiver ?? 1, 'disabled' => $disabled, ])
@inputField([ 'input_type' => 'ui_col_select', 'input_id' => 'tooth_color', 'label' => 'Zahnfarbe', 'placeholder' => 'bitte eingeben...', 'value' => $form_metas->tooth_color ?? '', 'disabled' => $disabled, 'allowAdditions' => true, 'options' => ['row1' => 'keine', 'row2' => ['col1' => [ 'A1', 'A2', 'A3', 'A3.5', 'A4'], 'col2' => [ 'B1', 'B2', 'B3', 'B4'], 'col3' => [ 'C1', 'C2', 'C3', 'C4'], 'col4' => [ 'D2', 'D3', 'D4']]] ])
@inputField([ 'input_type' => 'checkbox', 'input_id' => 'glaze', 'check_label' => 'Glasur', 'value' => (int) ($form_metas->glaze ?? 0), 'margin_top' => 35, 'label_class' => '', 'disabled' => $disabled, ])
@inputField([ 'input_id' => 'filename', 'label' => 'Dateiname', 'value' => $form_metas->filename ?? "", 'disabled' => $disabled, ])
@inputField([ 'input_type' => 'ui_select', 'input_id' => 'scanner', 'label' => 'Scanner', 'placeholder' => 'wählen...', 'value' => $form_metas->scanner ?? '', 'disabled' => $disabled, 'options' => ['D2000_L', 'D2000_R', 'Intraoral'] ])
@inputField([ 'input_type' => 'ui_select', 'input_id' => 'shipping_receipt', 'label' => 'Versandeingang', 'placeholder' => 'bitte wählen...', 'value' => $form_metas->shipping_receipt ?? '', 'disabled' => $disabled, 'options' => [ ['value' => 1, 'label' => 'Selbstanlieferung im Sammelpaket' ], ['value' => 2, 'label' => 'UPS-Abholung' ], ['value' => 3, 'label' => 'Fahrer' ] ] ])
@php $shipping_methodes = \App\Models\Shipping_methodes::orderBy('typ')->get(); @endphp @inputField([ 'input_type' => 'ui_select', 'input_id' => 'shipping_service', 'label' => 'Versandausgang', 'placeholder' => 'bitte wählen...', 'value' => $form_metas->shipping_service ?? '', 'disabled' => $disabled, 'options' => $shipping_methodes->groupBy(function($date) { return $date->typ ? $date->typ : 'Sonstige'; // Wenn 'typ' leer ist, setze es auf 'Sonstige' })->map(function($group) { return $group->map(function($item) { return [ 'label' => $item->label, 'value' => $item->id, 'hidden_filter' => $item->ArtNr, ]; }); })->reverse()->toArray(), ])
@inputField([ 'input_type' => 'ui_select', 'input_id' => 'text', 'label' => 'Text', 'placeholder' => 'please design,...', 'value' => $form_metas->text ?? '', 'disabled' => $disabled, 'options' => ['please design and send back', 'please design, place on blank and send back'] ])
@includeIf('layouts.components.card_header', [ 'title' => 'A6 Zettel', 'collapse_id' => "scan_a6-$cycle->id", 'css' => 'no-end-border', 'a_style' => 'min-width:840px;' ])
@php $options = [ ['value' => 'PT', 'label' => 'PT - primary telescope'], ['value' => 'ZA', 'label' => 'ZA - zirkon abutment with occlusal screw hole'], ['value' => 'TA', 'label' => 'TA - full titanium preform abutment with screwhole, follow gingiva perfectly, design in real anatomy stump size, use nt-trading preform libary at 3shape scanner, send screenshots from design'], ['value' => 'K', 'label' => 'K - full contour'], ['value' => 'BV', 'label' => 'BV - pontic with vestibular porcelain only'], ['value' => 'KV', 'label' => 'KV - crown with vestibular porcelain only'], ['value' => 'KM', 'label' => 'KM - coping without collar'], ['value' => 'B', 'label' => 'B - pontic full contour'], ['value' => 'BM', 'label' => 'BM - pontic without collar'], ['value' => 'TK', 'label' => 'TK - Partial crown full contour'], ['value' => 'T', 'label' => 'T - secondary telescope full contour'], ['value' => 'TV', 'label' => 'TV - secondary telescope with vestibular composite only'], ['value' => 'TM', 'label' => 'TM - secondary telescope without collar'], ['value' => 'E', 'label' => 'E - set up teeth'], ['value' => 'o', 'label' => 'o - distal preci attachment with milled clasp holder and interlock'], ['value' => 'H', 'label' => 'H - clasp, prepare for clasp'], ['value' => 'I', 'label' => 'I - inlay full contour'], ['value' => 'V', 'label' => 'V - Veneer full contour'], ['value' => ')(', 'label' => ')( - missing tooth'], ['value' => 'X', 'label' => 'X - remove tooth'], ['value' => '+', 'label' => '+ - Holding pin'] ]; @endphp @foreach(array_chunk($options, 3) as $row) @foreach($row as $cell) @endforeach @endforeach
{{ $cell['value'] }} {{ explode(' - ', $cell['label'])[1] }}
18
17
16
15
14
13
12
11
21
22
23
24
25
26
27
28
48
47
46
45
44
43
42
41
31
32
33
34
35
36
37
38
Material
    @php $checkboxData = [ 'c808z1' => 'N - CoCr', 'c808z2' => 'Z - Zirkon classic ST', 'c808z221' => 'Y - Zirkon ST', 'c808z222' => 'X - Zirkon EF', 'c808z3' => 'U - Zirkon TT ML', 'c808z4' => 'P - PMMA', 'c808z5' => 'T - Titan', 'c808z6' => 'W - Wax', 'c808z7' => 'M - Modelldruck' ]; @endphp @foreach($checkboxData as $id => $label)
  • @inputField([ 'input_type' => 'checkbox', 'input_id' => $id, 'input_name' => 'az[' .$id .']', 'check_label' => $label, 'value' => (int) ($form_metas->{'check_' .$id} ?? 0), 'margin_top' => '', 'label_class' => '', 'disabled' => $disabled, ])
  • @endforeach
Design
    @php $checkboxData = [ 'a808v1' => 'Offset', 'a808v2' => 'Collar', 'a808v3' => 'Strong/solid design', 'a808v5' => 'pontic with strong contact to gingiva', 'a808v6' => 'interdental hygenic design with space for interdental brush', 'a808v7' => 'Interedental closed, not hygenic designed', 'a808v8' => 'With occlusal screw hole', ]; @endphp @foreach($checkboxData as $id => $label)
  • @inputField([ 'input_type' => 'checkbox', 'input_id' => $id, 'input_name' => 'az[' .$id .']', 'check_label' => $label, 'value' => (int) ($form_metas->{'check_' .$id} ?? 0), 'margin_top' => '', 'label_class' => '', 'disabled' => $disabled, ])
  • @endforeach
Okklusalkontakt
    @php $checkboxData = [ 'ok1' => 'keinen', 'ok2' => 'leicht', 'ok3' => 'stark', ]; @endphp @foreach($checkboxData as $id => $label)
  • @inputField([ 'input_type' => 'checkbox', 'input_id' => $id, 'input_name' => 'az[' .$id .']', 'check_label' => $label, 'value' => (int) ($form_metas->{'check_' .$id} ?? 0), 'margin_top' => '', 'label_class' => '', 'disabled' => $disabled, ])
  • @endforeach
Approximalkontakt
    @php $checkboxData = [ 'ap1' => 'leicht', 'ap2' => 'stark', ]; @endphp @foreach($checkboxData as $id => $label)
  • @inputField([ 'input_type' => 'checkbox', 'input_id' => $id, 'input_name' => 'az[' .$id .']', 'check_label' => $label, 'value' => (int) ($form_metas->{'check_' .$id} ?? 0), 'margin_top' => '', 'label_class' => '', 'disabled' => $disabled, ])
  • @endforeach
Brückengliedgestaltung
az_bild.png
@inputField([ 'input_type' => 'radio_checkboxes', 'input_id' => $id, 'inputName' => 'az[' .$id .']', 'value' => (int) ($form_metas->{'check_' .$id} ?? 0), 'margin_top' => '', 'label_class' => '', 'disabled' => $disabled, 'options' => ['bggg1','bggg2','bggg3','bggg4','bggg5'] ])
Kronengestaltung
    @php $checkboxData = [ 'kg1' => 'einzeln', 'kg2' => 'verblockt', ]; @endphp @foreach($checkboxData as $id => $label)
  • @inputField([ 'input_type' => 'checkbox', 'input_id' => $id, 'input_name' => 'az[' .$id .']', 'check_label' => $label, 'value' => (int) ($form_metas->{'check_' .$id} ?? 0), 'margin_top' => '', 'label_class' => '', 'disabled' => $disabled, ])
  • @endforeach
Fitting
    @php $checkboxData = [ 'b808z1' => 'Tight fitting at stumps', 'b808z2' => 'tight fitting at implants', 'b808z3' => 'Loose fitting at stumps', 'b808z4' => 'Loose fitting at implants', 'b808z5' => 'Block out the bubbles', 'b808z6' => 'Block out undercuts', 'b808z7' => 'Grind the gingiva for strong pontic contact', 'b808z8' => 'very, very loose fitting', ]; @endphp @foreach($checkboxData as $id => $label)
  • @inputField([ 'input_type' => 'checkbox', 'input_id' => $id, 'input_name' => 'az[' .$id .']', 'check_label' => $label, 'value' => (int) ($form_metas->{'check_' .$id} ?? 0), 'margin_top' => '', 'label_class' => '', 'disabled' => $disabled, ])
  • @endforeach
Implantatarbeit
    @php $checkboxData = [ 'd808z1' => 'Implant system', 'd808z2' => 'Implant diameter', 'd808z3' => 'With occlusal screw hole', ]; @endphp
  • @inputField([ 'input_type' => 'text', 'input_id' => "az_system", 'input_name' => 'az[system]', 'value' => ($form_metas->{'az_system'} ?? ""), 'disabled' => $disabled, ])
  • @foreach($checkboxData as $id => $label)
  • @inputField([ 'input_type' => 'checkbox', 'input_id' => $id, 'input_name' => 'az[' .$id .']', 'check_label' => $label, 'value' => (int) ($form_metas->{'check_' .$id} ?? 0), 'margin_top' => '', 'label_class' => '', 'disabled' => $disabled, ])
  • @endforeach
Bemerkungen
@inputField([ 'input_type' => 'textarea', 'input_id' => "bm", 'input_name' => 'az["bm"]', 'input_class' => 'text-danger', 'input_attr' => 'rows=3', 'text_editor' => false, 'disabled' => $disabled, 'value' => (string) ($form_metas->az_bm ?? ""), ])
@php $numCommentSeletItems = 6 @endphp @for($i = 1; $i <= $numCommentSeletItems; $i++)
@inputField([ 'input_type' => 'text', 'input_id' => "comments_txt" .$i, 'input_name' => 'comments["txt"]', 'input_class' => 'text-danger', 'input_attr' => 'rows=3', 'text_editor' => true, 'disabled' => $disabled, 'value' => (string) ($form_metas->az_bm ?? ""), ])
@php $commentOptions = [ "follow these SOP if no detailed instruction above", "zirconia on implant abutments always make tight fitting", "CoCr on implant abutments always make loose fitting", "PMMA always make very very loose fitting", "implant abutments always make with occlusal screwholes", "Titan abutments always make", "full titanium preform abutment with screwhole, follow gingiva perfectly, design in real anatomy stump size, use nt-trading preform libary at 3shape scanner, send screenshots from design", "for KM the standart is no palatinal /lingual collar, facing suporting design", "pontic basal design standart is tangential design", "never block out undercuts (unless on specific request!)" ]; @endphp @inputField([ 'input_type' => 'ui_select', 'input_id' => 'comments_cn' .$i, 'input_name' => 'comments["cn"]', 'placeholder' => '', 'value' => $form_metas->comments_cn ?? '', 'disabled' => $disabled, 'options' => $commentOptions ])
@endfor