Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('layouts.master')
- @php
- $mold_temp_s = 0;
- $cycle_time_s = 0;
- $fill_time_s=0;
- $fill_peak_s=0;
- $scr_most_mm_s=0;
- $scr_most_mpa_s=0;
- $mtg_ready_s=0;
- $plast_tm_s=0;
- $inj_end_position_s=0;
- $sm_s=0;
- $pp1_s=0;
- $pp2_s=0;
- $pp3_s=0;
- $vp_change_s=0;
- $pv1_s=0;
- $p1_s=0;
- $s5_s=0;
- $p2_s=0;
- $p3_s=0;
- $valve_1_s=0;
- $valve_2_s=0;
- $valve_3_s=0;
- $valve_4_s=0;
- $valve_5_s=0;
- $valve_6_s=0;
- $valve_7_s=0;
- $valve_8_s=0;
- $valve_9_s=0;
- $valve_10_s=0;
- $valve_11_s=0;
- $valve_12_s=0;
- $valve_13_s=0;
- $valve_14_s=0;
- $valve_15_s=0;
- $valve_16_s=0;
- $diff_s=0;
- $gate_delay_time_s=0;
- $gate_open_time_s=0;
- $cool_tm_s=0;
- $a1_top_s=0;
- $a1_bottom_s=0;
- $b1_top_s=0;
- $b1_bottom_s=0;
- $a2_top_s=0;
- $a2_bottom_s=0;
- $b2_top_s=0;
- $b2_bottom_s=0;
- $chiller_temp_s=0;
- $screw_speed_s=0;
- $melt_temp_s=0;
- $motor_current_s=0;
- $weight_s=0;
- $span_s=0;
- $temp_setting_l1_s=0;
- $temp_setting_l2_s=0;
- $temp_setting_l3_s=0;
- $temp_setting_l4_s=0;
- $pre_below_time_l_s=0;
- $pre_below_time_r_s=0;
- $calibrator_down_l_s=0;
- $calibrator_down_r_s=0;
- $left_1_s=0;
- $left_2_s=0;
- $left_3_s=0;
- $left_4_s=0;
- $right_1_s=0;
- $right_2_s=0;
- $right_3_s=0;
- $right_4_s=0;
- if($settings->cycle_time != ''){
- $cycle_time = json_decode($settings->cycle_time);
- $cycle_time_s = $cycle_time[1];
- }else{
- $cycle_time = "";
- }
- if($settings->mold_temp_controller != ''){
- $mold_temp = json_decode($settings->mold_temp_controller);
- $mold_temp_s = $mold_temp[1];
- }else{
- $mold_temp = "";
- }
- if($settings->fill_time != ''){
- $fill_time = json_decode($settings->fill_time);
- $fill_time_s = $fill_time[1];
- }else{
- $fill_time = "";
- }
- if($settings->fill_peak != ''){
- $fill_peak = json_decode($settings->fill_peak);
- $fill_peak_s = $fill_peak[1];
- }else{
- $fill_peak = "";
- }
- if($settings->scr_most_mm != ''){
- $scr_most_mm = json_decode($settings->scr_most_mm);
- $scr_most_mm_s = $scr_most_mm[1];
- }else{
- $scr_most_mm = "";
- }
- if($settings->scr_most_mpa != ''){
- $scr_most_mpa = json_decode($settings->scr_most_mpa);
- $scr_most_mpa_s = $scr_most_mpa[1];
- }else{
- $scr_most_mpa = "";
- }
- if($settings->mtg_ready != ''){
- $mtg_ready = json_decode($settings->mtg_ready);
- $mtg_ready_s = $mtg_ready[1];
- }else{
- $mtg_ready = "";
- }
- if($settings->plast_tm != ''){
- $plast_tm = json_decode($settings->plast_tm);
- $plast_tm_s = $plast_tm[1];
- }else{
- $plast_tm = "";
- }
- if($settings->inj_end_position != ''){
- $inj_end_position = json_decode($settings->inj_end_position);
- $inj_end_position_s = $inj_end_position[1];
- }else{
- $inj_end_position = "";
- }
- if($settings->sm != ''){
- $sm = json_decode($settings->sm);
- $sm_s = $sm[1];
- }else{
- $sm = "";
- }
- if($settings->pp1 != ''){
- $pp1 = json_decode($settings->pp1);
- $pp1_s = $pp1[1];
- }else{
- $pp1 = "";
- }
- if($settings->pp2 != ''){
- $pp2 = json_decode($settings->pp2);
- $pp2_s = $pp2[1];
- }else{
- $pp2 = "";
- }
- if($settings->pp3 != ''){
- $pp3 = json_decode($settings->pp3);
- $pp3_s = $pp3[1];
- }else{
- $pp3 = "";
- }
- if($settings->vp_change != ''){
- $vp_change = json_decode($settings->vp_change);
- $vp_change_s = $vp_change[1];
- }else{
- $vp_change = "";
- }
- if($settings->pv1 != ''){
- $pv1 = json_decode($settings->pv1);
- $pv1_s = $pv1[1];
- }else{
- $pv1 = "";
- }
- if($settings->p1 != ''){
- $p1 = json_decode($settings->p1);
- $p1_s = $p1[1];
- }else{
- $p1 = "";
- }
- if($settings->s5 != ''){
- $s5 = json_decode($settings->s5);
- $s5_s = $s5[1];
- }else{
- $s5 = "";
- }
- if($settings->p2 != ''){
- $p2 = json_decode($settings->p2);
- $p2_s = $p2[1];
- }else{
- $p2 = "";
- }
- if($settings->p3 != ''){
- $p3 = json_decode($settings->p3);
- $p3_s = $p3[1];
- }else{
- $p3 = "";
- }
- if($settings->valve_1 != ''){
- $valve_1 = json_decode($settings->valve_1);
- $valve_1_s = $valve_1[1];
- }else{
- $valve_1 = "";
- }
- if($settings->valve_2 != ''){
- $valve_2 = json_decode($settings->valve_2);
- $valve_2_s = $valve_2[1];
- }else{
- $valve_2 = "";
- }
- if($settings->valve_3 != ''){
- $valve_3 = json_decode($settings->valve_3);
- $valve_3_s = $valve_3[1];
- }else{
- $valve_3 = "";
- }
- if($settings->valve_4 != ''){
- $valve_4 = json_decode($settings->valve_4);
- $valve_4_s = $valve_4[1];
- }else{
- $valve_4 = "";
- }
- if($settings->valve_5 != ''){
- $valve_5 = json_decode($settings->valve_5);
- $valve_5_s = $valve_5[1];
- }else{
- $valve_5 = "";
- }
- if($settings->valve_6 != ''){
- $valve_6 = json_decode($settings->valve_6);
- $valve_6_s = $valve_6[1];
- }else{
- $valve_6 = "";
- }
- if($settings->valve_7 != ''){
- $valve_7 = json_decode($settings->valve_7);
- $valve_7_s = $valve_7[1];
- }else{
- $valve_7 = "";
- }
- if($settings->valve_8 != ''){
- $valve_8 = json_decode($settings->valve_8);
- $valve_8_s = $valve_8[1];
- }else{
- $valve_8 = "";
- }
- if($settings->valve_9 != ''){
- $valve_9 = json_decode($settings->valve_9);
- $valve_9_s = $valve_9[1];
- }else{
- $valve_9 = "";
- }
- if($settings->valve_10 != ''){
- $valve_10 = json_decode($settings->valve_10);
- $valve_10_s = $valve_10[1];
- }else{
- $valve_10 = "";
- }
- if($settings->valve_11 != ''){
- $valve_11 = json_decode($settings->valve_11);
- $valve_11_s = $valve_11[1];
- }else{
- $valve_11 = "";
- }
- if($settings->valve_12 != ''){
- $valve_12 = json_decode($settings->valve_12);
- $valve_12_s = $valve_12[1];
- }else{
- $valve_12 = "";
- }
- if($settings->valve_13 != ''){
- $valve_13 = json_decode($settings->valve_13);
- $valve_13_s = $valve_13[1];
- }else{
- $valve_13 = "";
- }
- if($settings->valve_14 != ''){
- $valve_14 = json_decode($settings->valve_14);
- $valve_14_s = $valve_14[1];
- }else{
- $valve_14 = "";
- }
- if($settings->valve_15 != ''){
- $valve_15 = json_decode($settings->valve_15);
- $valve_15_s = $valve_15[1];
- }else{
- $valve_15 = "";
- }
- if($settings->valve_16 != ''){
- $valve_16 = json_decode($settings->valve_16);
- $valve_16_s = $valve_16[1];
- }else{
- $valve_16 = "";
- }
- if($settings->diff != ''){
- $diff = json_decode($settings->diff);
- $diff_s = $diff[1];
- }else{
- $diff = "";
- }
- if($settings->gate_delay_time != ''){
- $gate_delay_time = json_decode($settings->gate_delay_time);
- $gate_delay_time_s = $gate_delay_time[1];
- }else{
- $gate_delay_time = "";
- }
- if($settings->gate_open_time != ''){
- $gate_open_time = json_decode($settings->gate_open_time);
- $gate_open_time_s = $gate_open_time[1];
- }else{
- $gate_open_time = "";
- }
- if($settings->cool_tm != ''){
- $cool_tm = json_decode($settings->cool_tm);
- $cool_tm_s = $cool_tm[1];
- }else{
- $cool_tm = "";
- }
- if($settings->a1_top != ''){
- $a1_top = json_decode($settings->a1_top);
- $a1_top_s = $a1_top[1];
- }else{
- $a1_top = "";
- }
- if($settings->a1_bottom != ''){
- $a1_bottom = json_decode($settings->a1_bottom);
- $a1_bottom_s = $a1_bottom[1];
- }else{
- $a1_bottom = "";
- }
- if($settings->b1_top != ''){
- $b1_top = json_decode($settings->b1_top);
- $b1_top_s = $b1_top[1];
- }else{
- $b1_top = "";
- }
- if($settings->b1_bottom != ''){
- $b1_bottom = json_decode($settings->b1_bottom);
- $b1_bottom_s = $b1_bottom[1];
- }else{
- $b1_bottom = "";
- }
- if($settings->a2_top != ''){
- $a2_top = json_decode($settings->a2_top);
- $a2_top_s = $a2_top[1];
- }else{
- $a2_top = "";
- }
- if($settings->a2_bottom != ''){
- $a2_bottom = json_decode($settings->a2_bottom);
- $a2_bottom_s = $a2_bottom[1];
- }else{
- $a2_bottom = "";
- }
- if($settings->b2_top != ''){
- $b2_top = json_decode($settings->b2_top);
- $b2_top_s = $b2_top[1];
- }else{
- $b2_top = "";
- }
- if($settings->b2_bottom != ''){
- $b2_bottom = json_decode($settings->b2_bottom);
- $b2_bottom_s = $b2_bottom[1];
- }else{
- $b2_bottom = "";
- }
- if($settings->chiller_temp != ''){
- $chiller_temp = json_decode($settings->chiller_temp);
- $chiller_temp_s = $chiller_temp[1];
- }else{
- $chiller_temp = "";
- }
- if($settings->screw_speed != ''){
- $screw_speed = json_decode($settings->screw_speed);
- $screw_speed_s = $screw_speed[1];
- }else{
- $screw_speed = "";
- }
- if($settings->melt_temp != ''){
- $melt_temp = json_decode($settings->melt_temp);
- $melt_temp_s = $melt_temp[1];
- }else{
- $melt_temp = "";
- }
- if($settings->motor_current != ''){
- $motor_current = json_decode($settings->motor_current);
- $motor_current_s = $motor_current[1];
- }else{
- $motor_current = "";
- }
- if($settings->weight != ''){
- $weight = json_decode($settings->weight);
- $weight_s = $weight[1];
- }else{
- $weight = "";
- }
- if($settings->span != ''){
- $span = json_decode($settings->span);
- $span_s = $span[1];
- }else{
- $span = "";
- }
- if($settings->temp_setting_l1 != ''){
- $temp_setting_l1 = json_decode($settings->temp_setting_l1);
- $temp_setting_l1_s = $temp_setting_l1[1];
- }else{
- $temp_setting_l1 = "";
- }
- if($settings->temp_setting_l2 != ''){
- $temp_setting_l2 = json_decode($settings->temp_setting_l2);
- $temp_setting_l2_s = $temp_setting_l2[1];
- }else{
- $temp_setting_l2 = "";
- }
- if($settings->temp_setting_l3 != ''){
- $temp_setting_l3 = json_decode($settings->temp_setting_l3);
- $temp_setting_l3_s = $temp_setting_l3[1];
- }else{
- $temp_setting_l3 = "";
- }
- if($settings->temp_setting_l4 != ''){
- $temp_setting_l4 = json_decode($settings->temp_setting_l4);
- $temp_setting_l4_s = $temp_setting_l4[1];
- }else{
- $temp_setting_l4 = "";
- }
- if($settings->pre_below_time_l != ''){
- $pre_below_time_l = json_decode($settings->pre_below_time_l);
- $pre_below_time_l_s = $pre_below_time_l[1];
- }else{
- $pre_below_time_l = "";
- }
- if($settings->pre_below_time_r != ''){
- $pre_below_time_r = json_decode($settings->pre_below_time_r);
- $pre_below_time_r_s = $pre_below_time_r[1];
- }else{
- $pre_below_time_r = "";
- }
- if($settings->calibrator_down_l != ''){
- $calibrator_down_l = json_decode($settings->calibrator_down_l);
- $calibrator_down_l_s = $calibrator_down_l[1];
- }else{
- $calibrator_down_l = "";
- }
- if($settings->calibrator_down_r != ''){
- $calibrator_down_r = json_decode($settings->calibrator_down_r);
- $calibrator_down_r_s = $calibrator_down_r[1];
- }else{
- $calibrator_down_r = "";
- }
- if($settings->left_1 != ''){
- $left_1 = json_decode($settings->left_1);
- $left_1_s = $left_1[1];
- }else{
- $left_1 = "";
- }
- if($settings->left_2 != ''){
- $left_2 = json_decode($settings->left_2);
- $left_2_s = $left_2[1];
- }else{
- $left_2 = "";
- }
- if($settings->left_3 != ''){
- $left_3 = json_decode($settings->left_3);
- $left_3_s = $left_3[1];
- }else{
- $left_3 = "";
- }
- if($settings->left_4 != ''){
- $left_4 = json_decode($settings->left_4);
- $left_4_s = $left_4[1];
- }else{
- $left_4 = "";
- }
- if($settings->right_1 != ''){
- $right_1 = json_decode($settings->right_1);
- $right_1_s = $right_1[1];
- }else{
- $right_1 = "";
- }
- if($settings->right_2 != ''){
- $right_2 = json_decode($settings->right_2);
- $right_2_s = $right_2[1];
- }else{
- $right_2 = "";
- }
- if($settings->right_3 != ''){
- $right_3 = json_decode($settings->right_3);
- $right_3_s = $right_3[1];
- }else{
- $right_3 = "";
- }
- if($settings->right_4 != ''){
- $right_4 = json_decode($settings->right_4);
- $right_4_s = $right_4[1];
- }else{
- $right_4 = "";
- }
- @endphp
- @section('content')
- @section('assets_top')
- <link rel="stylesheet" href="{{asset('css/bootstrap-toggle.min.css')}}">
- <link rel="stylesheet" href="{{asset('css/Chart.css')}}">
- <link rel="stylesheet" type="text/css" href="{{asset('css/Chart.min.css')}}">
- <style type="text/css">
- .toggle-on {
- padding-left: 6px !important;
- }
- .btn-info {
- color: #fff;
- background-color: #de86d5;
- border-color: #de86d5;
- }
- </style>
- @endsection
- <div class="main">
- <div class="main-content">
- <link rel="stylesheet" href="{{asset('admin/assets/css/datatable/dataTables.bootstrap.min.css')}}">
- <div class="container-fluid">
- <div class="panel-title">Identity Machine</div>
- <table class="table table-striped ">
- <thead>
- <tr>
- <th>Line</th>
- <th>Machine Name </th>
- <th>Model</th>
- <th>Part Name</th>
- <th>Part Code</th>
- <th>Mold No</th>
- <th>Cavity No</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{$machine->line_number}}</td>
- <td>{{$machine->machine_name}}</td>
- <td>{{$machine->model}}</td>
- <td>{{$machine->part_name}}</td>
- <td>{{$machine->part_code}}</td>
- <td>{{$machine->mold_no}}</td>
- <td>{{$machine->cavity_no}}</td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-12">
- <div class="col-md-12" id="camera" style="display: none;text-align: center;">
- <br></br>
- <canvas id="canvaswebcam"></canvas>
- </div>@if(Auth::user()->level == 1 || Auth::user()->level == 2 )
- <div class="panel">
- <div class="panel-heading" align="center"> Scan QR Code
- </div>
- <div class="panel-body">
- <div class="form-group col-md-12">
- <br>
- <div class="footer" align="center">
- <button type="button" id="stop" class="btn btn-primary " style="display: none">Stop Scan</button>
- <button type="button" id="scan" class="btn btn-primary ">Scan QRCode</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- <div class="panel">
- <div class="panel-body">
- <div class="form-group col-md-6" align="left">
- <a href="/newmachine/"><button type="button" class="btn btn-danger"><i class="fa fa-arrow-left"></i> Back To Machine </button></a>
- </div>
- <div class="form-group col-md-6" align="right">
- @if(Auth::user()->level == 1)
- <a href="#"><button type="button" class="btn btn-danger" id="submit_ng" style="display: none"><i class="fa fa-plus-square"></i> NG </button></a>
- <a href="#"><button type="button" class="btn btn-default" id="commentspv" style="display: none"><i class="fa fa-plus-square"></i> Comment </button></a>
- <a href="#"><button type="button" class="btn btn-success" id="submit_approve" style="display: none"><i class="fa fa-plus-square"></i> Submit </button></a>
- <a href="#"><button type="button" class="btn btn-success" id="approve"><i class="fa fa-plus-square"></i> Approve </button></a>
- @endif
- @if(Auth::user()->level == 5)
- <a href="#"><button type="button" class="btn btn-danger" id="submit_ngmanager" style="display: none"><i class="fa fa-plus-square"></i> NG </button></a>
- <a href="#"><button type="button" class="btn btn-success" id="submit_approvemanager" style="display: none"><i class="fa fa-plus-square"></i> Submit </button></a>
- <a href="#"><button type="button" class="btn btn-success" id="approvemanager"><i class="fa fa-plus-square"></i> Approve For Manager </button></a>
- @endif
- @if(Auth::user()->level == 1 || Auth::user()->level == 2 )
- <a href="/newmachine/{{$machine->id}}/profile/inputdaily"><button type="button" class="btn btn-primary"><i class="fa fa-plus-square"></i> Checksheet Daily </button></a>
- @endif
- @if(Auth::user()->level == 1 || Auth::user()->level == 2 )
- <button type="button" class="btn btn-warning" data-toggle="modal" data-target="#exampleModal"><i class="fa fa-plus-square"></i> Standart Setting </button>
- @endif
- <button type="button" class="btn btn-info hotrunner" data-img1="{{$machine->pict1}}">Latest Hot Runner System </button>
- </div>
- <div class="form-group col-md-12">
- <table id="bootstrap-data-table-2" class="table table-striped table-bordered">
- <thead>
- <tr>
- @if(Auth::user()->level == 1)
- <th style="display: none" id="approved">Check</th>
- @endif
- @if(Auth::user()->level == 1)
- <th style="display: none" id="approved"></th>
- @endif
- @if(Auth::user()->level == 5)
- <th style="display: none" id="approvedmanager">Check</th>
- @endif
- @if(Auth::user()->level == 2)
- <th style="display: none" ></th>
- @endif
- @if(Auth::user()->level == 2)
- <th style="display: none" ></th>
- @endif
- @if(Auth::user()->level == 3)
- <th style="display: none" ></th>
- @endif
- @if(Auth::user()->level == 4)
- <th style="display: none" ></th>
- @endif
- <th style="display: none" ></th>
- @if(Auth::user()->level == null)
- <th style="display: none" ></th>
- @endif
- <th>Date</th>
- <th>Day</th>
- <th>Actual Time</th>
- <th>Duration</th>
- @if($machine_settingA->mold_temp_controller == 1)
- <th>Mold Temp Controller [⁰C]</th>
- @endif
- @if($machine_settingA->cycle_time == 1)
- <th>Cycle Time [sec]</th>
- @endif
- @if($machine_settingA->fill_time == 1)
- <th>Fill Time [sec]</th>
- @endif
- @if($machine_settingA->fill_peak == 1)
- <th>Fill Peak [Mpa]</th>
- @endif
- @if($machine_settingA->scr_most_mm == 1)
- <th>Fill Peak [%] </th>
- @endif
- @if($machine_settingA->scr_most_mpa == 1)
- <th>Screw Most MPa </th>
- @endif
- @if($machine_settingA->mtg_ready == 1)
- <th>Smart Feeder Controller [rpm]</th>
- @endif
- @if($machine_settingA->plast_tm == 1)
- <th>Plast TM</th>
- @endif
- @if($machine_settingA->inj_end_position == 1)
- <th>Injection End Position [mm]</th>
- @endif
- @if($machine_settingA->sm == 1)
- <th>SM [mm]</th>
- @endif
- @if($machine_settingA->pp1 == 1)
- <th>PP1 [%]</th>
- @endif
- @if($machine_settingA->pp2 == 1)
- <th>PP2 [%]</th>
- @endif
- @if($machine_settingA->pp3 == 1)
- <th>PP3 [%]</th>
- @endif
- @if($machine_settingA->vp_change == 1)
- <th>V-P Change [mm]</th>
- @endif
- @if($machine_settingA->pv1 == 1)
- <th>PV 1 [Mpa]</th>
- @endif
- @if($machine_settingA->p1 == 1)
- <th>P1 [%]</th>
- @endif
- @if($machine_settingA->s5 == 1)
- <th>S5 [mm]</th>
- @endif
- @if($machine_settingA->p2 == 1)
- <th>P2 [%]</th>
- @endif
- @if($machine_settingA->p3 == 1)
- <th>P3 [%]</th>
- @endif
- @if($machine_settingA->valve_1 == 1)
- <th>Valve Pin Heater 1 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_2 == 1)
- <th>Valve Pin Heater 2 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_3 == 1)
- <th>Valve Pin Heater 3 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_4 == 1)
- <th>Valve Pin Heater 4 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_5 == 1)
- <th>Valve Pin Heater 5 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_6 == 1)
- <th>Valve Pin Heater 6 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_7 == 1)
- <th>Valve Pin Heater 7 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_8 == 1)
- <th>Valve Pin Heater 8 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_9 == 1)
- <th>Valve Pin Heater 9 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_10 == 1)
- <th>Valve Pin Heater 10 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_11 == 1)
- <th>Valve Pin Heater 11 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_12 == 1)
- <th>Valve Pin Heater 12 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_13 == 1)
- <th>Valve Pin Heater 13 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_14 == 1)
- <th>Valve Pin Heater 14 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_15 == 1)
- <th>Valve Pin Heater 15 [⁰C]</th>
- @endif
- @if($machine_settingA->valve_16 == 1)
- <th>Valve Pin Heater 16 [⁰C]</th>
- @endif
- @if($machine_settingA->diff == 1)
- <th>DIFF [⁰C]</th>
- @endif
- @if($machine_settingA->gate_delay_time == 1)
- <th>Gate Open Delay Time [sec]</th>
- @endif
- @if($machine_settingA->gate_open_time == 1)
- <th>Gate Open Time [sec]</th>
- @endif
- @if($machine_settingA->distinction == 1)
- <th>Distinction</th>
- @endif
- @if($machine_settingA->distinction_f1 == 1)
- <th>Distinction F1</th>
- @endif
- @if($machine_settingA->distinction_f2 == 1)
- <th>Distinction F2</th>
- @endif
- @if($machine_settingA->cool_tm == 1)
- <th>Cool TM [sec]</th>
- @endif
- @if($machine_settingA->a1_top == 1)
- <th>Cav 1 Top [⁰C]</th>
- @endif
- @if($machine_settingA->a1_bottom == 1)
- <th>Cav 1 Bottom [⁰C]</th>
- @endif
- @if($machine_settingA->b1_top == 1)
- <th>Cav 2 Top [⁰C]</th>
- @endif
- @if($machine_settingA->b1_bottom == 1)
- <th>Cav 2 Bottom [⁰C]</th>
- @endif
- @if($machine_settingA->a2_top == 1)
- <th>Cav 3 Top [⁰C]</th>
- @endif
- @if($machine_settingA->a2_bottom == 1)
- <th>Cav 3 Bottom [⁰C]</th>
- @endif
- @if($machine_settingA->b2_top == 1)
- <th>Cav 4 Top [⁰C]</th>
- @endif
- @if($machine_settingA->b2_bottom == 1)
- <th>Cav 4 Bottom [⁰C]</th>
- @endif
- @if($machine_settingB->chiller_temp == 1)
- <th>Chiller Time [⁰C]</th>
- @endif
- @if($machine_settingB->screw_speed == 1)
- <th>Screw Speed [rpm]</th>
- @endif
- @if($machine_settingB->melt_temp == 1)
- <th>Melt Temp [⁰C]</th>
- @endif
- @if($machine_settingB->motor_current == 1)
- <th>Motor Current [A]</th>
- @endif
- @if($machine_settingB->weight == 1)
- <th>Wieght [mm]</th>
- @endif
- @if($machine_settingB->span == 1)
- <th>Span [mm]</th>
- @endif
- @if($machine_settingB->temp_setting_l1 == 1)
- <th>Temperature Setting L1 [⁰C]</th>
- @endif
- @if($machine_settingB->temp_setting_l2 == 1)
- <th>Temperature Setting L2 [⁰C]</th>
- @endif
- @if($machine_settingB->temp_setting_l3 == 1)
- <th>Temperature Setting L3 [⁰C]</th>
- @endif
- @if($machine_settingB->temp_setting_l4 == 1)
- <th>Temperature Setting L4 [⁰C]</th>
- @endif
- @if($machine_settingB->pre_below_time_l == 1)
- <th>Pre Below Time Left [sec]</th>
- @endif
- @if($machine_settingB->pre_below_time_r == 1)
- <th>Pre Below Time Right [sec]</th>
- @endif
- @if($machine_settingB->calibrator_down_l == 1)
- <th>Calibrator Down Left [sec]</th>
- @endif
- @if($machine_settingB->calibrator_down_r == 1)
- <th>Calibrator Down Right [sec]</th>
- @endif
- @if($machine_settingB->left_1 == 1)
- <th>Left 1 [%]</th>
- @endif
- @if($machine_settingB->left_2 == 1)
- <th>Left 2 [%]</th>
- @endif
- @if($machine_settingB->left_3 == 1)
- <th>Left 3 [%]</th>
- @endif
- @if($machine_settingB->left_4 == 1)
- <th>Left 4 [%]</th>
- @endif
- @if($machine_settingB->right_1 == 1)
- <th>Right 1 [%]</th>
- @endif
- @if($machine_settingB->right_2 == 1)
- <th>Right 2 [%]</th>
- @endif
- @if($machine_settingB->right_3 == 1)
- <th>Right 3 [%]</th>
- @endif
- @if($machine_settingB->right_4 == 1)
- <th>Right 4 [%]</th>
- @endif
- <th>Checked</th>
- <th>Remark</th>
- <th>Option</th>
- <th>Status Superior</th>
- <th>Comment Superior</th>
- <th>Status Manager</th>
- <th>Comment Manager</th>
- </tr>
- </thead>
- <tbody>
- @php
- $i = 0;
- @endphp
- @foreach($machine_inputA as $machineA)
- @php
- $i++;
- @endphp
- <tr>
- @if(Auth::user()->level == 1)
- <td class="approved_checkbox" style="display: none"><input id="{{ 'index'.$i }}" type="checkbox" data-unit="{{ $i % 9 == 0 ? 1:0 || $i == 1 ? 1:0 }}" class="form-control approved_data" data-index="{{ $i }}" value="{{ $machineA->daily_id }}" name="approved[]"></td>
- @endif
- @if((Auth::user()->level == 5) && $machineA->status !=null )
- <td class="approvedmanager_checkbox" style="display: none"><input id="{{ 'index'.$i }}" type="checkbox" data-unit="{{ $i % 9 == 0 ? 1:0 || $i == 1 ? 1:0 }}" class="form-control approvedmanager_data" data-index="{{ $i }}" value="{{ $machineA->daily_id }}" name="approvedmanager[]"></td>
- @else
- <td class="approvedmanager_checkbox" style="display: none;">-</td>
- @endif
- @if(Auth::user()->level == 2 )
- <td style="display: none"></td>
- @endif
- <td style="display: none"></td>
- <td>{{ date('d-F-Y', strtotime($machineA->date)) }}</td>
- <td>{{ date('D', strtotime($machineA->date)) }}</td>
- <td>{{ $machineA->actual_time }}</td>
- <td>{{$machineA->downtime}}</td>
- @if($machine_settingA->mold_temp_controller == 1)
- <td style="color: {{$machineA->mold_temp_controller > $mold_temp_s ? 'red':'' }}">{{ $machineA->mold_temp_controller }}</td>
- @endif
- @if($machine_settingA->cycle_time == 1)
- <td style="color : {{$machineA->cycle_time > $cycle_time_s ? 'red':''}}">{{ $machineA->cycle_time }}</td>
- @endif
- @if($machine_settingA->fill_time == 1)
- <td style="color : {{$machineA->fill_time > $fill_time_s ? 'red':''}}">{{ $machineA->fill_time }}</td>
- @endif
- @if($machine_settingA->fill_peak == 1)
- <td style="color : {{$machineA->fill_peak > $fill_peak_s ? 'red':''}}">{{ $machineA->fill_peak }}</td>
- @endif
- @if($machine_settingA->scr_most_mm == 1)
- <td style="color: {{$machineA->scr_most_mm > $scr_most_mm_s ? 'red':''}}">{{ $machineA->scr_most_mm }}</td>
- @endif
- @if($machine_settingA->scr_most_mpa == 1)
- <td style="color: {{$machineA->scr_most_mpa > $scr_most_mpa_s ?'red' :''}}">{{ $machineA->scr_most_mpa }}</td>
- @endif
- @if($machine_settingA->mtg_ready == 1)
- <td style="color: {{$machineA->mtg_ready > $mtg_ready_s ?'red':''}}">{{ $machineA->mtg_ready }}</td>
- @endif
- @if($machine_settingA->plast_tm == 1)
- <td style="color: {{$machineA->plast_tm > $plast_tm_s ? 'red':''}}">{{ $machineA->plast_tm }}</td>
- @endif
- @if($machine_settingA->inj_end_position == 1)
- <td style="color: {{$machineA->inj_end_position > $inj_end_position_s ? 'red':''}}">{{ $machineA->inj_end_position }}</td>
- @endif
- @if($machine_settingA->sm == 1)
- <td style="color: {{$machineA->sm > $sm_s ? 'red':''}}">{{ $machineA->sm }}</td>
- @endif
- @if($machine_settingA->pp1 == 1)
- <td style="color: {{$machineA->pp1 > $pp1_s ?'red':''}}">{{ $machineA->pp1 }}</td>
- @endif
- @if($machine_settingA->pp2 == 1)
- <td style="color: {{$machineA->pp2 > $pp2_s ? 'red':''}}" >{{ $machineA->pp2 }}</td>
- @endif
- @if($machine_settingA->pp3 == 1)
- <td style="color: {{$machineA->pp3 > $pp3_s ? 'red':''}}">{{ $machineA->pp3 }}</td>
- @endif
- @if($machine_settingA->vp_change == 1)
- <td style="color: {{$machineA->vp_change > $vp_change_s ? 'red':''}}">{{ $machineA->vp_change }}</td>
- @endif
- @if($machine_settingA->pv1 == 1)
- <td style="color: {{$machineA->pv1 > $pv1_s ?'red':''}}">{{ $machineA->pv1 }}</td>
- @endif
- @if($machine_settingA->p1 == 1)
- <td style="color: {{$machineA->p1 > $p1_s ? 'red':''}}">{{ $machineA->p1 }}</td>
- @endif
- @if($machine_settingA->s5 == 1)
- <td style="color: {{$machineA->s5 > $s5_s ? 'red':''}}">{{ $machineA->s5 }}</td>
- @endif
- @if($machine_settingA->p2 == 1)
- <td style="color: {{$machineA->p2 > $p2_s ? 'red':''}}">{{ $machineA->p2 }}</td>
- @endif
- @if($machine_settingA->p3 == 1)
- <td style="color: {{$machineA->p3 > $p3_s ? 'red':''}}">{{ $machineA->p3 }}</td>
- @endif
- @if($machine_settingA->valve_1 == 1)
- <td style="color: {{$machineA->valve_1 > $valve_1_s ? 'red':''}}" >{{ $machineA->valve_1 }}</td>
- @endif
- @if($machine_settingA->valve_2 == 1)
- <td style="color: {{$machineA->valve_2 > $valve_2_s ? 'red':''}}">{{ $machineA->valve_2 }}</td>
- @endif
- @if($machine_settingA->valve_3 == 1)
- <td style="color: {{$machineA->valve_3 > $valve_3_s ? 'red':''}}">{{ $machineA->valve_3 }}</td>
- @endif
- @if($machine_settingA->valve_4 == 1)
- <td style="color: {{$machineA->valve_4 > $valve_4_s ? 'red':''}}">{{ $machineA->valve_4 }}</td>
- @endif
- @if($machine_settingA->valve_5 == 1)
- <td style="color: {{$machineA->valve_5 > $valve_5_s ? 'red':''}}">{{ $machineA->valve_5 }}</td>
- @endif
- @if($machine_settingA->valve_6 == 1)
- <td style="color: {{$machineA->valve_6 > $valve_6_s ? 'red':''}}">{{ $machineA->valve_6 }}</td>
- @endif
- @if($machine_settingA->valve_7 == 1)
- <td style="color: {{$machineA->valve_7 > $valve_7_s ? 'red':''}}">{{ $machineA->valve_7 }}</td>
- @endif
- @if($machine_settingA->valve_8 == 1)
- <td style="color: {{$machineA->valve_8 > $valve_8_s ? 'red':''}}">{{ $machineA->valve_8 }}</td>
- @endif
- @if($machine_settingA->valve_9 == 1)
- <td style="color: {{$machineA->valve_9 > $valve_9_s ? 'red':''}}">{{ $machineA->valve_9 }}</td>
- @endif
- @if($machine_settingA->valve_10 == 1)
- <td style="color: {{$machineA->valve_10 > $valve_10_s ? 'red':''}}">{{ $machineA->valve_10 }}</td>
- @endif
- @if($machine_settingA->valve_11 == 1)
- <td style="color: {{$machineA->valve_11 > $valve_11_s ? 'red':''}}">{{ $machineA->valve_11 }}</td>
- @endif
- @if($machine_settingA->valve_12 == 1)
- <td style="color: {{$machineA->valve_12 > $valve_12_s ? 'red':''}}">{{ $machineA->valve_12 }}</td>
- @endif
- @if($machine_settingA->valve_13 == 1)
- <td style="color: {{$machineA->valve_13 > $valve_13_s ? 'red':''}}">{{ $machineA->valve_13 }}</td>
- @endif
- @if($machine_settingA->valve_14 == 1)
- <td style="color: {{$machineA->valve_14 > $valve_14_s ? 'red':''}}">{{ $machineA->valve_14 }}</td>
- @endif
- @if($machine_settingA->valve_15 == 1)
- <td style="color: {{$machineA->valve_15 > $valve_15_s ? 'red':''}}">{{ $machineA->valve_15 }}</td>
- @endif
- @if($machine_settingA->valve_16 == 1)
- <td style="color: {{$machineA->valve_16 > $valve_16_s ? 'red':''}}">{{ $machineA->valve_16 }}</td>
- @endif
- @if($machine_settingA->diff == 1)
- <td style="color: {{$machineA->diff > $diff_s ? 'red':''}}">{{ $machineA->diff }}</td>
- @endif
- @if($machine_settingA->gate_delay_time == 1)
- <td style="color: {{$machineA->gate_delay_time > $gate_delay_time_s ? 'red':''}}"> {{ $machineA->gate_delay_time }}</td>
- @endif
- @if($machine_settingA->gate_open_time == 1)
- <td style="color: {{$machineA->gate_open_time > $gate_open_time_s ? 'red':''}}">{{ $machineA->gate_open_time }}</td>
- @endif
- @if($machine_settingA->distinction == 1)
- <td>{{ $machineA->distinction }}</td>
- @endif
- @if($machine_settingA->distinction_f1 == 1)
- <td>{{ $machineA->distinction_f1 }}</td>
- @endif
- @if($machine_settingA->distinction_f2 == 1)
- <td>{{ $machineA->distinction_f2 }}</td>
- @endif
- @if($machine_settingA->cool_tm == 1)
- <td style="color: {{$machineA->cool_tm > $cool_tm_s ? 'red':''}}">{{ $machineA->cool_tm }}</td>
- @endif
- @if($machine_settingA->a1_top == 1)
- <td>{{ $machineA->a1_top }}</td>
- @endif
- @if($machine_settingA->a1_bottom == 1)
- <td >{{ $machineA->a1_bottom }}</td>
- @endif
- @if($machine_settingA->b1_top == 1)
- <td >{{ $machineA->b1_top }}</td>
- @endif
- @if($machine_settingA->b1_bottom == 1)
- <td >{{ $machineA->b1_bottom }}</td>
- @endif
- @if($machine_settingA->a2_top == 1)
- <td>{{ $machineA->a2_top }}</td>
- @endif
- @if($machine_settingA->a2_bottom == 1)
- <td >{{ $machineA->a2_bottom }}</td>
- @endif
- @if($machine_settingA->b2_top == 1)
- <td >{{ $machineA->b2_top }}</td>
- @endif
- @if($machine_settingA->b2_bottom == 1)
- <td>{{ $machineA->b2_bottom }}</td>
- @endif
- @if($machine_settingB->chiller_temp == 1)
- <td style="color: {{$machineA->chiller_temp > $chiller_temp_s ?'red':''}}">{{ $machineA->chiller_temp }}</td>
- @endif
- @if($machine_settingB->screw_speed == 1)
- <td style="color: {{$machineA->screw_speed > $screw_speed_s ? 'red':''}}">{{ $machineA->screw_speed }}</td>
- @endif
- @if($machine_settingB->melt_temp == 1)
- <td style="color: {{$machineA->melt_temp > $melt_temp_s ? 'red':''}}">{{ $machineA->melt_temp }}</td>
- @endif
- @if($machine_settingB->motor_current == 1)
- <td style="color: {{$machineA->motor_current > $motor_current_s ?'red':''}}">{{ $machineA->motor_current }}</td>
- @endif
- @if($machine_settingB->weight == 1)
- <td style="color: {{$machineA->weight > $weight_s ?'red':''}}">{{ $machineA->weight }}</td>
- @endif
- @if($machine_settingB->span == 1)
- <td style="color: {{$machineA->span >$span_s ?'red':''}}">{{ $machineA->span }}</td>
- @endif
- @if($machine_settingB->temp_setting_l1 == 1)
- <td style="color: {{$machineA->temp_setting_l1 > $temp_setting_l1_s ? 'red':''}}">{{ $machineA->temp_setting_l1 }}</td>
- @endif
- @if($machine_settingB->temp_setting_l2 == 1)
- <td style="color: {{$machineA->temp_setting_l2 > $temp_setting_l2_s ? 'red':''}}">{{ $machineA->temp_setting_l2 }}</td>
- @endif
- @if($machine_settingB->temp_setting_l3 == 1)
- <td style="color: {{$machineA->temp_setting_l3 > $temp_setting_l3_s ? 'red':''}}">{{ $machineA->temp_setting_l3 }}</td>
- @endif
- @if($machine_settingB->temp_setting_l4 == 1)
- <td style="color: {{$machineA->temp_setting_l4 > $temp_setting_l4_s ? 'red':''}}">{{ $machineA->temp_setting_l4 }}</td>
- @endif
- @if($machine_settingB->pre_below_time_l == 1)
- <td style="color: {{$machineA->pre_below_time_l > $pre_below_time_l_s ?'red':''}}">{{ $machineA->pre_below_time_l }}</td>
- @endif
- @if($machine_settingB->pre_below_time_r == 1)
- <td style="color: {{$machineA->pre_below_time_r > $pre_below_time_r_s ?'red':''}}">{{ $machineA->pre_below_time_r }}</td>
- @endif
- @if($machine_settingB->calibrator_down_l == 1)
- <td style="color: {{$machineA->calibrator_down_l > $calibrator_down_l_s ? 'red':''}}">{{ $machineA->calibrator_down_l }}</td>
- @endif
- @if($machine_settingB->calibrator_down_r == 1)
- <td style="color: {{$machineA->calibrator_down_r > $calibrator_down_r_s ? 'red':''}}">{{ $machineA->calibrator_down_r }}</td>
- @endif
- @if($machine_settingB->left_1 == 1)
- <td style="color: {{$machineA->left_1 > $left_1_s ?'red':''}}">{{ $machineA->left_1 }}</td>
- @endif
- @if($machine_settingB->left_2 == 1)
- <td style="color: {{$machineA->left_2 > $left_2_s ?'red':''}}">{{ $machineA->left_2 }}</td>
- @endif
- @if($machine_settingB->left_3 == 1)
- <td style="color: {{$machineA->left_3 > $left_3_s ?'red':''}}">{{ $machineA->left_3 }}</td>
- @endif
- @if($machine_settingB->left_4 == 1)
- <td style="color: {{$machineA->left_4 > $left_4_s ?'red':''}}">{{ $machineA->left_4 }}</td>
- @endif
- @if($machine_settingB->right_1 == 1)
- <td style="color: {{$machineA->right_1 > $right_1_s ?'red':''}}">{{ $machineA->right_1 }}</td>
- @endif
- @if($machine_settingB->right_2 == 1)
- <td style="color: {{$machineA->right_2 > $right_2_s ?'red':''}}">{{ $machineA->right_2 }}</td>
- @endif
- @if($machine_settingB->right_3 == 1)
- <td style="color: {{$machineA->right_3 > $right_3_s ?'red':''}}">{{ $machineA->right_3 }}</td>
- @endif
- @if($machine_settingB->right_4 == 1)
- <td style="color: {{$machineA->right_4 > $right_4_s ?'red':''}}">{{ $machineA->right_4 }}</td>
- @endif
- <td>{{ $machineA->checked }}</td>
- <td>{{ $machineA->remark}}</td>
- <td>
- @if((Auth::user()->level == 1 || Auth::user()->level == 2) && $machineA->status != 1 )
- <a href="/newmachine/{{$machineA->daily_id}}/editinput"><button type='submit' class='btn btn-warning btn-sm'>Edit</button></a>
- @endif
- @if((Auth::user()->level == 1 || Auth::user()->level == 2) && $machineA->status != 1 )
- <a href="/newmachine/deleteDailyMachine" class="btn btn-danger btn-sm delete" data-id="{{ $machineA->daily_id }}"> Delete </a>
- @endif
- </td>
- @if($machineA->status == 1)
- <td><label class="btn btn-success btn-sm" style="cursor: auto;">Approved </label> by {{$machineA->superior}}</td>
- @elseif($machineA->status == 2)
- <td><label class="btn btn-danger btn-sm" style="cursor: auto;">Not Good</label> by {{$machineA->superior}}</td>
- @else
- <td>-</td>
- @endif
- <td>{{ $machineA->note }}</td>
- @if($machineA->statusmanager == 1)
- <td><label class="btn btn-success btn-sm" style="cursor: auto;">Approved </label> by {{$machineA->manager}}</td>
- @elseif($machineA->statusmanager == 2)
- <td><label class="btn btn-danger btn-sm" style="cursor: auto;">Not Good</label> by {{$machineA->manager}}</td>
- @else
- <td>-</td>
- @endif
- <td>{{ $machineA->notemanager }}</td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="panel">
- <div class="panel-heading"> View Chart
- </div>
- <div class="panel-body">
- <div class="form-group col-md-3">
- <select name="" id="month" class="form-control" required="">
- <option value="">Please select Month </option>
- <option value="1">January</option>
- <option value="2">February</option>
- <option value="3">March</option>
- <option value="4">April</option>
- <option value="5">May</option>
- <option value="6">June</option>
- <option value="7">July</option>
- <option value="8">August</option>
- <option value="9">September</option>
- <option value="10">October</option>
- <option value="11">November</option>
- <option value="12">December</option>
- </select>
- </div>
- <div class="form-group col-md-3">
- <select id="year" class="form-control" required="">
- <option value="">Please select Year</option>
- <option value="2019">2019</option>
- <option value="2020">2020</option>
- <option value="2021">2021</option>
- <option value="2022">2022</option>
- <option value="2023">2023</option>
- <option value="2024">2024</option>
- <option value="2025">2025</option>
- <option value="2026">2026</option>
- <option value="2027">2027</option>
- <option value="2028">2028</option>
- <option value="2029">2029</option>
- <option value="2030">2030</option>
- </select>
- </div>
- <div class="form-group col-md-3">
- <select id="field" class="form-control">
- <option value="">Please Select Data</option>
- @if($machine_settingA->mold_temp_controller == 1)
- <option value="mold_temp_controller">Mold Temp Controller</option>
- @endif
- @if($machine_settingA->cycle_time == 1)
- <option value="cycle_time">Cycle Time</option>
- @endif
- @if($machine_settingA->fill_time == 1)
- <option value="fill_time">Fill Time</option>
- @endif
- @if($machine_settingA->fill_peak == 1)
- <option value="fill_peak">Fill Peak</option>
- @endif
- @if($machine_settingA->scr_most_mm == 1)
- <option value="scr_most_mm">Scr Most MM Peak</option>
- @endif
- @if($machine_settingA->scr_most_mpa == 1)
- <option value="scr_most_mpa">Scr Most Mpa</option>
- @endif
- @if($machine_settingA->mtg_ready == 1)
- <option value="mtg_ready">Smart Feeder Controller [rpm]</option>
- @endif
- @if($machine_settingA->plast_tm == 1)
- <option value="plast_tm">Plast TM</option>
- @endif
- @if($machine_settingA->inj_end_position == 1)
- <option value="inj_end_position">Inj End Position</option>
- @endif
- @if($machine_settingA->sm == 1)
- <option value="sm">SM</option>
- @endif
- @if($machine_settingA->pp1 == 1)
- <option value="pp1">PP1</option>
- @endif
- @if($machine_settingA->pp2 == 1)
- <option value="pp2">PP2</option>
- @endif
- @if($machine_settingA->pp3 == 1)
- <option value="pp3">PP3</option>
- @endif
- @if($machine_settingA->vp_change == 1)
- <option value="vp_change">V-P Change</option>
- @endif
- @if($machine_settingA->pv1 == 1)
- <option value="pv1">PV 1</option>
- @endif
- @if($machine_settingA->p1 == 1)
- <option value="p1">p1</option>
- @endif
- @if($machine_settingA->s5 == 1)
- <option value="s5">S5</option>
- @endif
- @if($machine_settingA->p2 == 1)
- <option value="p2">P2</option>
- @endif
- @if($machine_settingA->p3 == 1)
- <option value="p3">p3</option>
- @endif
- @if($machine_settingA->valve_1 == 1)
- <option value="valve_1">Valve Pin Heater 1</option>
- @endif
- @if($machine_settingA->valve_2 == 1)
- <option value="valve_2">Valve Pin Heater 2</option>
- @endif
- @if($machine_settingA->valve_3 == 1)
- <option value="valve_3">Valve Pin Heater 3</option>
- @endif
- @if($machine_settingA->valve_4 == 1)
- <option value="valve_4">Valve Pin Heater 4</option>
- @endif
- @if($machine_settingA->valve_5 == 1)
- <option value="valve_5">Valve Pin Heater 5</option>
- @endif
- @if($machine_settingA->valve_6 == 1)
- <option value="valve_6">Valve Pin Heater 6</option>
- @endif
- @if($machine_settingA->valve_7 == 1)
- <option value="valve_7">Valve Pin Heater 7</option>
- @endif
- @if($machine_settingA->valve_8 == 1)
- <option value="valve_8">Valve Pin Heater 8</option>
- @endif
- @if($machine_settingA->valve_9 == 1)
- <option value="valve_9">Valve Pin Heater 9</option>
- @endif
- @if($machine_settingA->valve_10 == 1)
- <option value="valve_10">Valve Pin Heater 10</option>
- @endif
- @if($machine_settingA->valve_11 == 1)
- <option value="valve_11">Valve Pin Heater 11</option>
- @endif
- @if($machine_settingA->valve_12 == 1)
- <option value="valve_12">Valve Pin Heater 12</option>
- @endif
- @if($machine_settingA->valve_13 == 1)
- <option value="valve_13">Valve Pin Heater 13</option>
- @endif
- @if($machine_settingA->valve_14 == 1)
- <option value="valve_14">Valve Pin Heater 14</option>
- @endif
- @if($machine_settingA->valve_15 == 1)
- <option value="valve_15">Valve Pin Heater 15</option>
- @endif
- @if($machine_settingA->valve_16 == 1)
- <option value="valve_16">Valve Pin Heater 16</option>
- @endif
- @if($machine_settingA->diff == 1)
- <option value="diff">DIFF</option>
- @endif
- @if($machine_settingA->gate_delay_time == 1)
- <option value="gate_delay_time">Gate Open Delay Time</option>
- @endif
- @if($machine_settingA->gate_open_time == 1)
- <option value="gate_open_time">Gate Open Time</option>
- @endif
- @if($machine_settingA->distinction == 1)
- <th>Distinction</th>
- @endif
- @if($machine_settingA->distinction_f1 == 1)
- <th>Distinction F1</th>
- @endif
- @if($machine_settingA->distinction_f2 == 1)
- <th>Distinction F2</th>
- @endif
- @if($machine_settingA->cool_tm == 1)
- <option value="cool_tm">Cool TM</option>
- @endif
- @if($machine_settingA->a1_top == 1)
- <option value="a1_top">A1 Top</option>
- @endif
- @if($machine_settingA->a1_bottom == 1)
- <option value="a1_bottom">A1 Bottom</option>
- @endif
- @if($machine_settingA->b1_top == 1)
- <option value="b1_top">B1 Top</option>
- @endif
- @if($machine_settingA->b1_bottom == 1)
- <option value="b1_bottom">B1 Bottom</option>
- @endif
- @if($machine_settingA->a2_top == 1)
- <option value="a2_top">A2 Top</option>
- @endif
- @if($machine_settingA->a2_bottom == 1)
- <option value="a2_bottom">A2 Bottom</option>
- @endif
- @if($machine_settingA->b2_top == 1)
- <option value="b2_top">B2 Top</option>
- @endif
- @if($machine_settingA->b2_bottom == 1)
- <option value="b2_bottom">B2 Bottom</option>
- @endif
- @if($machine_settingB->chiller_temp == 1)
- <option value="chiller_temp">Chiller Temp</option>
- @endif
- @if($machine_settingB->screw_speed == 1)
- <option value="screw_speed">Screw Speed</option>
- @endif
- @if($machine_settingB->melt_temp == 1)
- <option value="melt_temp">Melt Temp</option>
- @endif
- @if($machine_settingB->motor_current == 1)
- <option value="motor_current">Motor Current</option>
- @endif
- @if($machine_settingB->weight == 1)
- <option value="weight">Weight</option>
- @endif
- @if($machine_settingB->span == 1)
- <option value="span">SPAN</option>
- @endif
- @if($machine_settingB->temp_setting_l1 == 1)
- <option value="temp_setting_l1">Temperature Setting L1</option>
- @endif
- @if($machine_settingB->temp_setting_l2 == 1)
- <option value="temp_setting_l2">Temperature Setting L2</option>
- @endif
- @if($machine_settingB->temp_setting_l3 == 1)
- <option value="temp_setting_l3">Temperature Setting L3</option>
- @endif
- @if($machine_settingB->temp_setting_l4 == 1)
- <option value="temp_setting_l4">Temperature Setting L4</option>
- @endif
- @if($machine_settingB->pre_below_time_l == 1)
- <option value="pre_below_time_l">Pre Below Time Left</option>
- @endif
- @if($machine_settingB->pre_below_time_r == 1)
- <option value="pre_below_time_r">Pre Below Time Right</option>
- @endif
- @if($machine_settingB->calibrator_down_l == 1)
- <option value="calibrator_down_l">Calibrator Down Left</option>
- @endif
- @if($machine_settingB->calibrator_down_r == 1)
- <option value="calibrator_down_r">Calibrator Down Right</option>
- @endif
- @if($machine_settingB->left_1 == 1)
- <option value="left_1">Left 1</option>
- @endif
- @if($machine_settingB->left_2 == 1)
- <option value="left_2">Left 2</option>
- @endif
- @if($machine_settingB->left_3 == 1)
- <option value="left_3">Left 3</option>
- @endif
- @if($machine_settingB->left_4 == 1)
- <option value="left_4">Left 4</option>
- @endif
- @if($machine_settingB->right_1 == 1)
- <option value="right_1">Right 1</option>
- @endif
- @if($machine_settingB->right_2 == 1)
- <option value="right_2">Right 2</option>
- @endif
- @if($machine_settingB->right_3 == 1)
- <option value="right_3">Right 3</option>
- @endif
- @if($machine_settingB->right_4 == 1)
- <option value="right_4">Right 4</option>
- @endif
- </select>
- </div>
- <div class="form-group col-md-3">
- <input type="hidden" id="machine_id" value="{{ $machine->id }}">
- <button type="button" id="get_data" class="btn btn-primary">Choose</button>
- </div>
- <div class="col-md-12">
- <canvas id="chart" width="400" height="100"></canvas>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- @if(Auth::user()->level == 1)
- <div class="modal fade" id="modalnote" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
- <div class="modal-dialog modal-lg" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="exampleModalLabel">NG</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div class="row">
- <div class="col-md-12">
- <label for="comment">Comment</label>
- <textarea style="height: 137px" class="form-control" id="comment">
- </textarea>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
- <button type="button" id="submitng" class="btn btn-primary">Submit</button>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if(Auth::user()->level == 5)
- <div class="modal fade" id="modalnotemanager" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
- <div class="modal-dialog modal-lg" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="exampleModalLabel">NG</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div class="row">
- <div class="col-md-12">
- <label for="commentmanager">Comment</label>
- <textarea style="height: 137px" class="form-control" id="commentmanager">
- </textarea>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
- <button type="button" id="submitngmanager" class="btn btn-primary">Submit</button>
- </div>
- </div>
- </div>
- </div>
- @endif
- <!-- Modal Standart Setting-->
- <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
- <div class="modal-dialog modal-lg" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="exampleModalLabel">Standart Setting</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div class="row">
- <form action="/profile/saveSetting" method="POST">
- {{csrf_field()}}
- <div class="col-md-12">
- <input type="hidden" name="id" value="{{ $machine->id }}">
- @if($machine_settingA->mold_temp_controller == 1)
- <div class="form-group col-md-4">
- <label for="">Mold Temp Controller</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="mold_temp[]" class="form-control" placeholder="min" value="{{ $mold_temp == '' ? $mold_temp:$mold_temp[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="mold_temp[]" class="form-control" placeholder="max" value="{{ $mold_temp == '' ? $mold_temp:$mold_temp[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="mold_temp[]" class="form-control" placeholder="standart" value="{{ $mold_temp == '' ? $mold_temp:$mold_temp[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->cycle_time == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Cycle Time</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="cycle_time[]" class="form-control" placeholder="min" value="{{ $cycle_time == '' ? $cycle_time:$cycle_time[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="cycle_time[]" class="form-control" placeholder="max" value="{{ $cycle_time == '' ? $cycle_time:$cycle_time[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="cycle_time[]" class="form-control" placeholder="standart" value="{{ $cycle_time == '' ? $cycle_time:$cycle_time[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->fill_time == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Fill Time</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="fill_time[]" class="form-control" placeholder="min"value="{{ $fill_time == '' ? $fill_time:$fill_time[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="fill_time[]" class="form-control" placeholder="max"value="{{ $fill_time == '' ? $fill_time:$fill_time[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="fill_time[]" class="form-control" placeholder="standart"value="{{ $fill_time == '' ? $fill_time:$fill_time[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->fill_peak == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Fill Peak</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="fill_peak[]" class="form-control" placeholder="min"value="{{ $fill_peak == '' ? $fill_peak:$fill_peak[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="fill_peak[]" class="form-control" placeholder="max"value="{{ $fill_peak == '' ? $fill_peak:$fill_peak[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="fill_peak[]" class="form-control" placeholder="standart"value="{{ $fill_peak == '' ? $fill_peak:$fill_peak[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->scr_most_mm == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Screw Most MM</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="scr_most_mm[]" class="form-control" placeholder="min"value="{{ $scr_most_mm == '' ? $scr_most_mm:$scr_most_mm[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="scr_most_mm[]" class="form-control" placeholder="max"value="{{ $scr_most_mm == '' ? $scr_most_mm:$scr_most_mm[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="scr_most_mm[]" class="form-control" placeholder="standart"value="{{ $scr_most_mm == '' ? $scr_most_mm:$scr_most_mm[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->scr_most_mpa == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Screw Most MPa</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="scr_most_mpa[]" class="form-control" placeholder="min"value="{{ $scr_most_mpa == '' ? $scr_most_mpa:$scr_most_mpa[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="scr_most_mpa[]" class="form-control" placeholder="max"value="{{ $scr_most_mpa == '' ? $scr_most_mpa:$scr_most_mpa[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="scr_most_mpa[]" class="form-control" placeholder="standart"value="{{ $scr_most_mpa == '' ? $scr_most_mpa:$scr_most_mpa[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->mtg_ready == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Smart Feeder Controller [rpm]</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="mtg_ready[]" class="form-control" placeholder="min"value="{{ $mtg_ready == '' ? $mtg_ready:$mtg_ready[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="mtg_ready[]" class="form-control" placeholder="max"value="{{ $mtg_ready == '' ? $mtg_ready:$mtg_ready[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="mtg_ready[]" class="form-control" placeholder="standart"value="{{ $mtg_ready == '' ? $mtg_ready:$mtg_ready[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->plast_tm == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Plast TM</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="plast_tm[]" class="form-control" placeholder="min"value="{{ $plast_tm == '' ? $plast_tm:$plast_tm[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="plast_tm[]" class="form-control" placeholder="max"value="{{ $plast_tm == '' ? $plast_tm:$plast_tm[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="plast_tm[]" class="form-control" placeholder="standart"value="{{ $plast_tm == '' ? $plast_tm:$plast_tm[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->inj_end_position == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Inj. End Position</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="inj_end_position[]" class="form-control" placeholder="min"value="{{ $inj_end_position == '' ? $inj_end_position:$inj_end_position[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="inj_end_position[]" class="form-control" placeholder="max"value="{{ $inj_end_position == '' ? $inj_end_position:$inj_end_position[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="inj_end_position[]" class="form-control" placeholder="standart"value="{{ $inj_end_position == '' ? $inj_end_position:$inj_end_position[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->sm == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">SM</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="sm[]" class="form-control" placeholder="min"value="{{ $sm == '' ? $sm:$sm[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="sm[]" class="form-control" placeholder="max"value="{{ $sm == '' ? $sm:$sm[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="sm[]" class="form-control" placeholder="standart"value="{{ $sm == '' ? $sm:$sm[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->pp1 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">PP1</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="pp1[]" class="form-control" placeholder="min"value="{{ $pp1 == '' ? $pp1:$pp1[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="pp1[]" class="form-control" placeholder="max"value="{{ $pp1 == '' ? $pp1:$pp1[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="pp1[]" class="form-control" placeholder="standart"value="{{ $pp1 == '' ? $pp1:$pp1[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->pp2 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">PP2</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="pp2[]" class="form-control" placeholder="min"value="{{ $pp2 == '' ? $pp2:$pp2[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="pp2[]" class="form-control" placeholder="max"value="{{ $pp2 == '' ? $pp2:$pp2[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="pp2[]" class="form-control" placeholder="standart"value="{{ $pp2 == '' ? $pp2:$pp2[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->pp3 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">PP3</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="pp3[]" class="form-control" placeholder="min"value="{{ $pp3 == '' ? $pp3:$pp3[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="pp3[]" class="form-control" placeholder="max"value="{{ $pp3 == '' ? $pp3:$pp3[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="pp3[]" class="form-control" placeholder="standart"value="{{ $pp3 == '' ? $pp3:$pp3[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->vp_change == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">V-P Change</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="vp_change[]" class="form-control" placeholder="min"value="{{ $vp_change == '' ? $vp_change:$vp_change[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="vp_change[]" class="form-control" placeholder="max"value="{{ $vp_change == '' ? $vp_change:$vp_change[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="vp_change[]" class="form-control" placeholder="standart"value="{{ $vp_change == '' ? $vp_change:$vp_change[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->pv1 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">PV1</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="pv1[]" class="form-control" placeholder="min"value="{{ $pv1 == '' ? $pv1:$pv1[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="pv1[]" class="form-control" placeholder="max"value="{{ $pv1 == '' ? $pv1:$pv1[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="pv1[]" class="form-control" placeholder="standart"value="{{ $pv1 == '' ? $pv1:$pv1[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->p1 == 1)
- <div class="form-group col-md-4">
- <label for="p1">P1</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="p1[]" class="form-control" placeholder="min"value="{{ $p1 == '' ? $p1:$p1[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="p1[]" class="form-control" placeholder="max"value="{{ $p1 == '' ? $p1:$p1[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="p1[]" class="form-control" placeholder="standart"value="{{ $p1 == '' ? $p1:$p1[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->s5 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">S5</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="s5[]" class="form-control" placeholder="min"value="{{ $s5 == '' ? $s5:$s5[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="s5[]" class="form-control" placeholder="max"value="{{ $s5 == '' ? $s5:$s5[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="s5[]" class="form-control" placeholder="standart"value="{{ $s5 == '' ? $s5:$s5[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->p2 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">P2</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="p2[]" class="form-control" placeholder="min"value="{{ $p2 == '' ? $p2:$p2[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="p2[]" class="form-control" placeholder="max"value="{{ $p2 == '' ? $p2:$p2[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="p2[]" class="form-control" placeholder="standart"value="{{ $p2 == '' ? $p2:$p2[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->p3 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">P3</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="p3[]" class="form-control" placeholder="min"value="{{ $p3 == '' ? $p3:$p3[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="p3[]" class="form-control" placeholder="max"value="{{ $p3 == '' ? $p3:$p3[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="p3[]" class="form-control" placeholder="standart"value="{{ $p3 == '' ? $p3:$p3[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- <!-- <div class="form-group col-md-4">
- <label for="mold_temp">Distinction</label><br>
- <input type="checkbox" name="distinction" id="distinction" value="1" data-toggle="toggle" data-onstyle="primary">
- </div>
- <div class="form-group col-md-4">
- <label for="mold_temp">Distinction F1</label><br>
- <input type="checkbox" name="f1" id="f1" data-toggle="toggle" value="1" data-onstyle="primary">
- </div>
- <div class="form-group col-md-4">
- <label for="mold_temp">Distinction F2</label><br>
- <input type="checkbox" name="f2" id="f2" data-toggle="toggle" value="1" data-onstyle="primary">
- </div> -->
- </div>
- <div class="col-md-12">
- <div class="col-md-12">
- @if($machine_settingA->valve_1 == 1)
- <label><h4>Hot Runner Heater Controller</h4></label>
- @endif
- </div>
- <br />
- @if($machine_settingA->valve_1 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 1</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_1[]" class="form-control" placeholder="min"value="{{ $valve_1 == '' ? $valve_1:$valve_1[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_1[]" class="form-control" placeholder="max"value="{{ $valve_1 == '' ? $valve_1:$valve_1[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_1[]" class="form-control" placeholder="standart"value="{{ $valve_1 == '' ? $valve_1:$valve_1[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_2 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 2</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_2[]" class="form-control" placeholder="min"value="{{ $valve_2 == '' ? $valve_2:$valve_2[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_2[]" class="form-control" placeholder="max"value="{{ $valve_2 == '' ? $valve_2:$valve_2[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_2[]" class="form-control" placeholder="standart"value="{{ $valve_2 == '' ? $valve_2:$valve_2[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_3 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 3</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_3[]" class="form-control" placeholder="min"value="{{ $valve_3 == '' ? $valve_3:$valve_3[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_3[]" class="form-control" placeholder="max"value="{{ $valve_3 == '' ? $valve_3:$valve_3[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_3[]" class="form-control" placeholder="standart"value="{{ $valve_3 == '' ? $valve_3:$valve_3[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_4 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 4</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_4[]" class="form-control" placeholder="min"value="{{ $valve_4 == '' ? $valve_4:$valve_4[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_4[]" class="form-control" placeholder="max"value="{{ $valve_4 == '' ? $valve_4:$valve_4[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_4[]" class="form-control" placeholder="standart"value="{{ $valve_4 == '' ? $valve_4:$valve_4[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_5 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 5</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_5[]" class="form-control" placeholder="min"value="{{ $valve_5 == '' ? $valve_5:$valve_5[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_5[]" class="form-control" placeholder="max"value="{{ $valve_5 == '' ? $valve_5:$valve_5[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_5[]" class="form-control" placeholder="standart"value="{{ $valve_5 == '' ? $valve_5:$valve_5[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_6 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 6</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_6[]" class="form-control" placeholder="min"value="{{ $valve_6 == '' ? $valve_6:$valve_6[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_6[]" class="form-control" placeholder="max"value="{{ $valve_6 == '' ? $valve_6:$valve_6[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_6[]" class="form-control" placeholder="standart"value="{{ $valve_6 == '' ? $valve_6:$valve_6[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_7 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 7</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_7[]" class="form-control" placeholder="min"value="{{ $valve_7 == '' ? $valve_7:$valve_7[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_7[]" class="form-control" placeholder="max"value="{{ $valve_7 == '' ? $valve_7:$valve_7[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_7[]" class="form-control" placeholder="standart"value="{{ $valve_7 == '' ? $valve_7:$valve_7[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_8 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 8</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_8[]" class="form-control" placeholder="min" value="{{ $valve_8 == '' ? $valve_8:$valve_8[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_8[]" class="form-control" placeholder="max" value="{{ $valve_8 == '' ? $valve_8:$valve_8[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_8[]" class="form-control" placeholder="standart" value="{{ $valve_8 == '' ? $valve_8:$valve_8[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_9 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 9</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_9[]" class="form-control" placeholder="min"value="{{ $valve_9 == '' ? $valve_9:$valve_9[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_9[]" class="form-control" placeholder="max"value="{{ $valve_9 == '' ? $valve_9:$valve_9[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_9[]" class="form-control" placeholder="standart"value="{{ $valve_9 == '' ? $valve_9:$valve_9[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_10 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 10</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_10[]" class="form-control" placeholder="min"value="{{ $valve_10 == '' ? $valve_10:$valve_10[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_10[]" class="form-control" placeholder="max"value="{{ $valve_10 == '' ? $valve_10:$valve_10[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_10[]" class="form-control" placeholder="standart"value="{{ $valve_10 == '' ? $valve_10:$valve_10[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_11 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 11</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_11[]" class="form-control" placeholder="min"value="{{ $valve_11 == '' ? $valve_11:$valve_11[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_11[]" class="form-control" placeholder="max"value="{{ $valve_11 == '' ? $valve_11:$valve_11[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_11[]" class="form-control" placeholder="standart"value="{{ $valve_11 == '' ? $valve_11:$valve_11[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_12 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 12</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_12[]" class="form-control" placeholder="min"value="{{ $valve_12 == '' ? $valve_12:$valve_12[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_12[]" class="form-control" placeholder="max"value="{{ $valve_12 == '' ? $valve_12:$valve_12[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_12[]" class="form-control" placeholder="standart"value="{{ $valve_12 == '' ? $valve_12:$valve_12[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_13 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 13</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_13[]" class="form-control" placeholder="min"value="{{ $valve_13 == '' ? $valve_13:$valve_13[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_13[]" class="form-control" placeholder="max"value="{{ $valve_13 == '' ? $valve_13:$valve_13[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_13[]" class="form-control" placeholder="standart"value="{{ $valve_13 == '' ? $valve_13:$valve_13[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_14 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 14</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_14[]" class="form-control" placeholder="min"value="{{ $valve_14 == '' ? $valve_14:$valve_14[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_14[]" class="form-control" placeholder="max"value="{{ $valve_14 == '' ? $valve_14:$valve_14[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_14[]" class="form-control" placeholder="standart"value="{{ $valve_14 == '' ? $valve_14:$valve_14[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_15 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 15</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_15[]" class="form-control" placeholder="min"value="{{ $valve_15 == '' ? $valve_15:$valve_15[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_15[]" class="form-control" placeholder="max"value="{{ $valve_15 == '' ? $valve_15:$valve_15[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_15[]" class="form-control" placeholder="standart"value="{{ $valve_15 == '' ? $valve_15:$valve_15[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->valve_16 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Valve Pin Heater 16</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="valve_16[]" class="form-control" placeholder="min"value="{{ $valve_16 == '' ? $valve_16:$valve_16[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="valve_16[]" class="form-control" placeholder="max"value="{{ $valve_16 == '' ? $valve_16:$valve_16[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="valve_16[]" class="form-control" placeholder="standart"value="{{ $valve_16 == '' ? $valve_16:$valve_16[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->diff == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Diff</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="diff[]" class="form-control" placeholder="min"value="{{ $diff == '' ? $diff:$diff[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="diff[]" class="form-control" placeholder="max"value="{{ $diff == '' ? $diff:$diff[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="diff[]" class="form-control" placeholder="standart"value="{{ $diff == '' ? $diff:$diff[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- <!-- <div class="form-group col-md-4">
- <label for="mold_temp">DIFF</label><br>
- <input type="checkbox" name="diff" id="diff" data-toggle="toggle" value="1" data-onstyle="primary">
- </div> -->
- @if($machine_settingA->gate_delay_time == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Gate Open Delay Time </label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="gate_delay_time[]" class="form-control" placeholder="min"value="{{ $gate_delay_time == '' ? $gate_delay_time:$gate_delay_time[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="gate_delay_time[]" class="form-control" placeholder="max"value="{{ $gate_delay_time == '' ? $gate_delay_time:$gate_delay_time[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="gate_delay_time[]" class="form-control" placeholder="standart"value="{{ $gate_delay_time == '' ? $gate_delay_time:$gate_delay_time[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->gate_open_time == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Gate Open Time</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="gate_open_time[]" class="form-control" placeholder="min"value="{{ $gate_open_time == '' ? $gate_open_time:$gate_open_time[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="gate_open_time[]" class="form-control" placeholder="max"value="{{ $gate_open_time == '' ? $gate_open_time:$gate_open_time[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="gate_open_time[]" class="form-control" placeholder="standart"value="{{ $gate_open_time == '' ? $gate_open_time:$gate_open_time[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- </div>
- <div class="col-md-12">
- <div class="col-md-12">
- @if($machine_settingA->cool_tm == 1)
- <label><h4>Get Cut</h4></label>
- @endif
- </div>
- <br />
- @if($machine_settingA->cool_tm == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Cool TM</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="cool_tm[]" class="form-control" placeholder="min"value="{{ $cool_tm == '' ? $cool_tm:$cool_tm[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="cool_tm[]" class="form-control" placeholder="max"value="{{ $cool_tm == '' ? $cool_tm:$cool_tm[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="cool_tm[]" class="form-control" placeholder="standart"value="{{ $cool_tm == '' ? $cool_tm:$cool_tm[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->a1_top == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">A1 Top</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="a1_top[]" class="form-control" placeholder="min"value="{{ $a1_top == '' ? $a1_top:$a1_top[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="a1_top[]" class="form-control" placeholder="max"value="{{ $a1_top == '' ? $a1_top:$a1_top[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="a1_top[]" class="form-control" placeholder="standart"value="{{ $a1_top == '' ? $a1_top:$a1_top[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->a1_bottom == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">A1 Bottom</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="a1_bottom[]" class="form-control" placeholder="min"value="{{ $a1_bottom == '' ? $a1_bottom:$a1_bottom[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="a1_bottom[]" class="form-control" placeholder="max"value="{{ $a1_bottom == '' ? $a1_bottom:$a1_bottom[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="a1_bottom[]" class="form-control" placeholder="standart"value="{{ $a1_bottom == '' ? $a1_bottom:$a1_bottom[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->b1_top == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">B1 Top</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="b1_top[]" class="form-control" placeholder="min"value="{{ $b1_top == '' ? $b1_top:$b1_top[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="b1_top[]" class="form-control" placeholder="max"value="{{ $b1_top == '' ? $b1_top:$b1_top[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="b1_top[]" class="form-control" placeholder="standart"value="{{ $b1_top == '' ? $b1_top:$b1_top[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->b1_bottom == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">B1 Bottom</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="b1_bottom[]" class="form-control" placeholder="min"value="{{ $b1_bottom == '' ? $b1_bottom:$b1_bottom[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="b1_bottom[]" class="form-control" placeholder="max"value="{{ $b1_bottom == '' ? $b1_bottom:$b1_bottom[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="b1_bottom[]" class="form-control" placeholder="standart"value="{{ $b1_bottom == '' ? $b1_bottom:$b1_bottom[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->a2_top == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">A2 Top</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="a2_top[]" class="form-control" placeholder="min"value="{{ $a2_top == '' ? $a2_top:$a2_top[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="a2_top[]" class="form-control" placeholder="max"value="{{ $a2_top == '' ? $a2_top:$a2_top[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="a2_top[]" class="form-control" placeholder="standart"value="{{ $a2_top == '' ? $a2_top:$a2_top[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->a2_bottom == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">A2 Bottom</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="a2_bottom[]" class="form-control" placeholder="min"value="{{ $a2_bottom == '' ? $a2_bottom:$a2_bottom[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="a2_bottom[]" class="form-control" placeholder="max"value="{{ $a2_bottom == '' ? $a2_bottom:$a2_bottom[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="a2_bottom[]" class="form-control" placeholder="standart"value="{{ $a2_bottom == '' ? $a2_bottom:$a2_bottom[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->b2_top == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">B2 Top</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="b2_top[]" class="form-control" placeholder="min"value="{{ $b2_top == '' ? $b2_top:$b2_top[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="b2_top[]" class="form-control" placeholder="max"value="{{ $b2_top == '' ? $b2_top:$b2_top[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="b2_top[]" class="form-control" placeholder="standart"value="{{ $b2_top == '' ? $b2_top:$b2_top[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingA->b2_bottom == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">B2 Bottom</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="b2_bottom[]" class="form-control" placeholder="min"value="{{ $b2_bottom == '' ? $b2_bottom:$b2_bottom[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="b2_bottom[]" class="form-control" placeholder="max"value="{{ $b2_bottom == '' ? $b2_bottom:$b2_bottom[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="b2_bottom[]" class="form-control" placeholder="standart"value="{{ $b2_bottom == '' ? $b2_bottom:$b2_bottom[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- <div class="col-md-12">
- @if($machine_settingB->chiller_temp == 1)
- <label><h4>Mesin Ink Bottle</h4></label>
- @endif
- </div>
- <br />
- @if($machine_settingB->chiller_temp == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Chiller Temp</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="chiller_temp[]" class="form-control" placeholder="min"value="{{ $chiller_temp == '' ? $chiller_temp:$chiller_temp[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="chiller_temp[]" class="form-control" placeholder="max"value="{{ $chiller_temp == '' ? $chiller_temp:$chiller_temp[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="chiller_temp[]" class="form-control" placeholder="standart"value="{{ $chiller_temp == '' ? $chiller_temp:$chiller_temp[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->screw_speed == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Screw Speed</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="screw_speed[]" class="form-control" placeholder="min"value="{{ $screw_speed == '' ? $screw_speed:$screw_speed[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="screw_speed[]" class="form-control" placeholder="max"value="{{ $screw_speed == '' ? $screw_speed:$screw_speed[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="screw_speed[]" class="form-control" placeholder="standart"value="{{ $screw_speed == '' ? $screw_speed:$screw_speed[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->melt_temp == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Melt Temp</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="melt_temp[]" class="form-control" placeholder="min"value="{{ $melt_temp == '' ? $melt_temp:$melt_temp[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="melt_temp[]" class="form-control" placeholder="max"value="{{ $melt_temp == '' ? $melt_temp:$melt_temp[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="melt_temp[]" class="form-control" placeholder="standart"value="{{ $melt_temp == '' ? $melt_temp:$melt_temp[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->motor_current == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Motor Current</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="motor_current[]" class="form-control" placeholder="min"value="{{ $motor_current == '' ? $motor_current:$motor_current[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="motor_current[]" class="form-control" placeholder="max"value="{{ $motor_current == '' ? $motor_current:$motor_current[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="motor_current[]" class="form-control" placeholder="standart"value="{{ $motor_current == '' ? $motor_current:$motor_current[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->weight == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Weight</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="weight[]" class="form-control" placeholder="min"value="{{ $weight == '' ? $weight:$weight[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="weight[]" class="form-control" placeholder="max"value="{{ $weight == '' ? $weight:$weight[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="weight[]" class="form-control" placeholder="standart"value="{{ $weight == '' ? $weight:$weight[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->span == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Span</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="span[]" class="form-control" placeholder="min"value="{{ $span == '' ? $span:$span[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="span[]" class="form-control" placeholder="max"value="{{ $span == '' ? $span:$span[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="span[]" class="form-control" placeholder="standart"value="{{ $span == '' ? $span:$span[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->temp_setting_l1 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Temp Setting L1</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="temp_setting_l1[]" class="form-control" placeholder="min"value="{{ $temp_setting_l1 == '' ? $temp_setting_l1:$temp_setting_l1[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="temp_setting_l1[]" class="form-control" placeholder="max"value="{{ $temp_setting_l1 == '' ? $temp_setting_l1:$temp_setting_l1[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="temp_setting_l1[]" class="form-control" placeholder="standart"value="{{ $temp_setting_l1 == '' ? $temp_setting_l1:$temp_setting_l1[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->temp_setting_l2 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Temp Setting L2</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="temp_setting_l2[]" class="form-control" placeholder="min"value="{{ $temp_setting_l2 == '' ? $temp_setting_l2:$temp_setting_l2[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="temp_setting_l2[]" class="form-control" placeholder="max"value="{{ $temp_setting_l2 == '' ? $temp_setting_l2:$temp_setting_l2[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="temp_setting_l2[]" class="form-control" placeholder="standart"value="{{ $temp_setting_l2 == '' ? $temp_setting_l2:$temp_setting_l2[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->temp_setting_l3 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Temp Setting L3</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="temp_setting_l3[]" class="form-control" placeholder="min"value="{{ $temp_setting_l3 == '' ? $temp_setting_l3:$temp_setting_l3[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="temp_setting_l3[]" class="form-control" placeholder="max"value="{{ $temp_setting_l3 == '' ? $temp_setting_l3:$temp_setting_l3[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="temp_setting_l3[]" class="form-control" placeholder="standart"value="{{ $temp_setting_l3 == '' ? $temp_setting_l3:$temp_setting_l3[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->temp_setting_l4 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Temp Setting L4</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="temp_setting_l4[]" class="form-control" placeholder="min"value="{{ $temp_setting_l4 == '' ? $temp_setting_l4:$temp_setting_l4[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="temp_setting_l4[]" class="form-control" placeholder="max"value="{{ $temp_setting_l4 == '' ? $temp_setting_l4:$temp_setting_l4[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="temp_setting_l4[]" class="form-control" placeholder="standart"value="{{ $temp_setting_l4 == '' ? $temp_setting_l4:$temp_setting_l4[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->pre_below_time_l == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Pre Below Time Left</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="pre_below_time_l[]" class="form-control" placeholder="min"value="{{ $pre_below_time_l == '' ? $pre_below_time_l:$pre_below_time_l[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="pre_below_time_l[]" class="form-control" placeholder="max"value="{{ $pre_below_time_l == '' ? $pre_below_time_l:$pre_below_time_l[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="pre_below_time_l[]" class="form-control" placeholder="standart"value="{{ $pre_below_time_l == '' ? $pre_below_time_l:$pre_below_time_l[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->pre_below_time_r == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Pre Below Time Right</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="pre_below_time_r[]" class="form-control" placeholder="min"value="{{ $pre_below_time_r == '' ? $pre_below_time_r:$pre_below_time_r[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="pre_below_time_r[]" class="form-control" placeholder="max"value="{{ $pre_below_time_r == '' ? $pre_below_time_r:$pre_below_time_r[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="pre_below_time_r[]" class="form-control" placeholder="standart"value="{{ $pre_below_time_r == '' ? $pre_below_time_r:$pre_below_time_r[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->calibrator_down_l == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Calibrator Down Left</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="calibrator_down_l[]" class="form-control" placeholder="min"value="{{ $calibrator_down_l == '' ? $calibrator_down_l:$calibrator_down_l[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="calibrator_down_l[]" class="form-control" placeholder="max"value="{{ $calibrator_down_l == '' ? $calibrator_down_l:$calibrator_down_l[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="calibrator_down_l[]" class="form-control" placeholder="standart"value="{{ $calibrator_down_l == '' ? $calibrator_down_l:$calibrator_down_l[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->calibrator_down_r == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Calibrator Down Right</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="calibrator_down_r[]" class="form-control" placeholder="min"value="{{ $calibrator_down_r == '' ? $calibrator_down_r:$calibrator_down_r[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="calibrator_down_r[]" class="form-control" placeholder="max"value="{{ $calibrator_down_r == '' ? $calibrator_down_r:$calibrator_down_r[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="calibrator_down_r[]" class="form-control" placeholder="standart"value="{{ $calibrator_down_r == '' ? $calibrator_down_r:$calibrator_down_r[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- <div class="col-md-12">
- @if($machine_settingB->left_1 == 1)
- <label><h4>Effective Load Factor Calibrator</h4></label>
- @endif
- </div>
- <br />
- @if($machine_settingB->left_1 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Left 1</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="left_1[]" class="form-control" placeholder="min"value="{{ $left_1 == '' ? $left_1:$left_1[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="left_1[]" class="form-control" placeholder="max"value="{{ $left_1 == '' ? $left_1:$left_1[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="left_1[]" class="form-control" placeholder="standart"value="{{ $left_1 == '' ? $left_1:$left_1[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->left_2 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Left 2</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="left_2[]" class="form-control" placeholder="min"value="{{ $left_2 == '' ? $left_2:$left_2[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="left_2[]" class="form-control" placeholder="max"value="{{ $left_2 == '' ? $left_2:$left_2[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="left_2[]" class="form-control" placeholder="standart"value="{{ $left_2 == '' ? $left_2:$left_2[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->left_3 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Left 3</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="left_3[]" class="form-control" placeholder="min"value="{{ $left_3 == '' ? $left_3:$left_3[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="left_3[]" class="form-control" placeholder="max"value="{{ $left_3 == '' ? $left_3:$left_3[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="left_3[]" class="form-control" placeholder="standart"value="{{ $left_3 == '' ? $left_3:$left_3[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->left_4 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Left 4</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="left_4[]" class="form-control" placeholder="min"value="{{ $left_4 == '' ? $left_4:$left_4[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="left_4[]" class="form-control" placeholder="max"value="{{ $left_4 == '' ? $left_4:$left_4[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="left_4[]" class="form-control" placeholder="standart"value="{{ $left_4 == '' ? $left_4:$left_4[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->right_1 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Right 1</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="right_1[]" class="form-control" placeholder="min"value="{{ $right_1 == '' ? $right_1:$right_1[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="right_1[]" class="form-control" placeholder="max"value="{{ $right_1 == '' ? $right_1:$right_1[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="right_1[]" class="form-control" placeholder="standart"value="{{ $right_1 == '' ? $right_1:$right_1[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->right_2 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Right 2</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="right_2[]" class="form-control" placeholder="min"value="{{ $right_2 == '' ? $right_2:$right_2[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="right_2[]" class="form-control" placeholder="max"value="{{ $right_2 == '' ? $right_2:$right_2[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="right_2[]" class="form-control" placeholder="standart"value="{{ $right_2 == '' ? $right_2:$right_2[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->right_3 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Right 3</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="right_3[]" class="form-control" placeholder="min"value="{{ $right_3 == '' ? $right_3:$right_3[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="right_3[]" class="form-control" placeholder="max"value="{{ $right_3 == '' ? $right_3:$right_3[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="right_3[]" class="form-control" placeholder="standart"value="{{ $right_3 == '' ? $right_3:$right_3[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- @if($machine_settingB->right_4 == 1)
- <div class="form-group col-md-4">
- <label for="mold_temp">Right 4</label><br>
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-4">
- <p>Min</p>
- <input type="text" name="right_4[]" class="form-control" placeholder="min"value="{{ $right_4 == '' ? $right_4:$right_4[0] }}">
- </div>
- <div class="col-md-4">
- <p>Max</p>
- <input type="text" name="right_4[]" class="form-control" placeholder="max"value="{{ $right_4 == '' ? $right_4:$right_4[1] }}">
- </div>
- <div class="col-md-4">
- <p>Std</p>
- <input type="text" name="right_4[]" class="form-control" placeholder="standart"value="{{ $right_4 == '' ? $right_4:$right_4[2] }}">
- </div>
- </div>
- </div>
- </div>
- </div>
- @endif
- <div class="form-group col-md-12">
- <table id="bootstrap-data-table-12" class="table table-striped table-bordered">
- <thead>
- <tr>
- <h3><b>Revisi History</b></h3>
- <a href="/newmachine/{{$machine->id}}/profile/revisi"><button type="button" class="btn btn-success"><i class="fa fa-plus-square"></i> Add Revisi </button></a>
- @if(Auth::user()->level == null)
- <th style="display: none" ></th>
- @endif
- @if(Auth::user()->level == 2)
- <th style="display: none" ></th>
- @endif
- @if(Auth::user()->level == 1)
- <th style="display: none" ></th>
- @endif
- @if(Auth::user()->level == 3)
- <th style="display: none" ></th>
- @endif
- @if(Auth::user()->level == 4)
- <th style="display: none" ></th>
- @endif
- @if(Auth::user()->level == 5)
- <th style="display: none" ></th>
- @endif
- <th>Rev</th>
- <th>Date</th>
- <th>Change Item</th>
- <th>Reason</th>
- <th>Checked By</th>
- <th>Change By</th>
- <th>Action</th>
- </tr>
- </thead>
- <tbody>
- @php
- $i = 0;
- @endphp
- @foreach($all_revisi as $revisi)
- <tr>
- <td style="display: none"></td>
- <td>{{$revisi->rev}}</td>
- <td>{{ date('d-F-Y', strtotime($revisi->date)) }}</td>
- <td>{{$revisi->change_item}}</td>
- <td>{{$revisi->reason}}</td>
- <td>{{$revisi->checked}}</td>
- <td>{{$revisi->change}}</td>
- <td>
- <a href="/newmachine/{{$revisi->revisi_id}}/editrevisi"><span type='submit' class='btn btn-warning btn-sm'>Edit</span></a>
- <a href="/newmachine/deleteRevisiHistory" class="btn btn-danger btn-sm deleterevisi" data-id="{{$revisi->revisi_id}}"> Delete </a>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
- <button type="submit" class="btn btn-primary">Submit</button>
- </div>
- </form>
- </div>
- </div>
- </div>
- <!-- MODAl HOT RUNNER SYSTEM -->
- <div class="modal fade" id="HRS" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
- <div class="modal-dialog modal-sm" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="exampleModalLabel">Hot Runner System</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div class="row">
- {{csrf_field()}}
- <div class="col-md-12">
- <div class="form-group col-md-2">
- <label for="date">Latest Update</label>
- <input type="date" class="form-control" name="date" value="" >
- </div>
- <div class="form-group col-md-10" align="right">
- <br>
- @if((Auth::user()->level == 1 || Auth::user()->level == 2) && $machine->stock1 != 1 )
- <button type="button" class="btn btn-success uploadnewhotrunner"><i class="fa fa-plus-square"></i> Upload New Hot Runner System</button>
- @endif
- <button type="button" class="btn btn-warning uploadhotrunner">Upload Edit Hot Runner System</button>
- </div>
- <div class="col-md-12">
- <div class="col-md-12">
- <div class="slideshow-container">
- </div>
- </div>
- </div>
- <br>
- </br>
- <br>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- MODAl UPLOAD NEW HOT RUNNER SYSTEM -->
- <!-- Modal -->
- <div class="modal fade" id="uploadNEWHRS" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
- <div class="modal-dialog modal-lg" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="exampleModalLabel">Upload NEW Hot Runner System</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div class="row">
- <form action="/profile/hrsaddnew" method="POST" enctype="multipart/form-data">
- {{csrf_field()}}
- <div class="col-md-12">
- <div class="form-group col-md-4">
- <label for="date">Select Date</label>
- <input type="date" class="form-control" name="date" value="{{ date('Y-m-d') }}" >
- <input type="hidden" name="id" value="{{$machine->id}}">
- </div>
- <div class="form-group col-md-2">
- <label for="reason">Reason</label>
- <input type="text" class="form-control" name="reason" required="" value="" >
- </div>
- <div class="form-group col-md-4">
- <label for="pict1">Choose File</label>
- <input type="file" class="form-control" name="pict1[]" value="" >
- </div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
- <button type="submit" class="btn btn-primary">Submit</button>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- <!-- MODAl UPLOAD EDIT HOT RUNNER SYSTEM -->
- <div class="modal fade" id="uploadHRS" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
- <div class="modal-dialog modal-lg" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="exampleModalLabel">EDIT Hot Runner System</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div class="row">
- <form action="" method="POST">
- {{csrf_field()}}
- <div class="col-md-12">
- <div class="form-group col-md-4">
- <label for="date">Select Date</label>
- <input type="date" class="form-control" name="date" value="" >
- </div>
- <div class="form-group col-md-2">
- <label for="date">Reason</label>
- <input type="text" class="form-control" name="" required="" value="" >
- </div>
- <div class="form-group col-md-4">
- <label for="date">Choose File</label>
- <input type="file" class="form-control" name="" value="" >
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
- <button type="button" class="btn btn-primary">Submit</button>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- @stop
- @section('content1')
- @if(session('sukses'))
- <div class="alert alert-primary" role="alert">
- {{session('sukses')}}
- </div>
- @endif
- @endsection
- @section('assets_bottom')
- <script type="text/javascript" src="{{asset('js/bootstrap-toggle.min.js')}}"></script>
- <script src="{{asset('admin/assets/js/data-table/datatables.min.js')}}"></script>
- <script type="text/javascript" src="{{ asset('assets/js/qrcodelib.js') }}"></script>
- <script type="text/javascript" src="{{ asset('assets/js/webcodecamjquery.js') }}"></script>
- <script src="{{asset('admin/assets/js/data-table/dataTables.bootstrap.min.js')}}"></script>
- <script src="{{asset('admin/assets/js/data-table/datatables-init.js')}}"></script>
- <script type="text/javascript" src="{{asset('js/Chart.bundle.min.js')}}"></script>
- <script type="text/javascript" src="{{asset('js/chartjs-plugin-annotation.min.js')}}"></script>
- <script type="text/javascript" src="{{asset('admin/assetsnew/js/date-eu.js')}}"></script>
- <script type="text/javascript">
- document.querySelectorAll("input").forEach(data => {
- data.setAttribute('required','true')
- })
- $(document).on('change','#mold_temp', function(e){
- if($("#mold_temp:checked").val()){
- // alert('on')
- }else{
- // alert('off')
- }
- })
- <?php
- if(Auth::user()->level == 1){
- ?>
- $(document).on('change', '.approved_data', function(){
- if( $('.approved_data:checked').length > 0 ){
- $("#submit_approve").css('display','')
- $("#commentspv").css('display','')
- $("#submit_ng").css('display','');
- }else{
- $("#submit_approve").css('display','none')
- $("#commentspv").css('display','none')
- $("#submit_ng").css('display','none')
- }
- if($(this).data('unit') == 1){
- var index = $(this).data('index');
- if($(this).is(':checked')){
- for(var i = 1;i < 7 ;i++ ){
- $('#index'+(i+index)).prop('checked',true);
- }
- }else{
- for(var i = 1;i < 7 ;i++ ){
- $('#index'+(i+index)).prop('checked',false);
- }
- }
- if( $('.approved_data:checked').length > 0 ){
- $("#submit_approve").css('display','')
- $("#commentspv").css('display','')
- $("#submit_ng").css('display','');
- }else{
- $("#submit_approve").css('display','none')
- $("#commentspv").css('display','none')
- $("#submit_ng").css('display','none')
- }
- }
- })
- $(document).on('click','#submit_approve', function(e){
- var data = new Array();
- $("#bootstrap-data-table-2 input[type=checkbox]:checked").each(function () {
- data.push(this.value);
- });
- data.join(',');
- $.ajax({
- type: "POST",
- url: '/saveApprove',
- data: {
- data: data,
- _token: $('meta[name="csrf-token"]').attr('content'),
- },
- success: function(value){
- location.reload()
- },
- error: function(xhr){
- }
- })
- })
- $(document).on('click','#submit_ng' && '#commentspv', function(e){
- $("#modalnote").modal('show')
- })
- $(document).on('click','#submitng', function(e){
- var data = new Array();
- $("#bootstrap-data-table-2 input[type=checkbox]:checked").each(function () {
- data.push(this.value);
- });
- var comment = $("#comment").val();
- data.join(',');
- $.ajax({
- type: "POST",
- url: '/saveNG' && '/savecommentspv',
- data: {
- data: data,
- comment: comment,
- _token: $('meta[name="csrf-token"]').attr('content'),
- },
- success: function(value){
- location.reload()
- },
- error: function(xhr){
- }
- })
- })
- $(document).on('click','#approve', function(e){
- e.preventDefault()
- // console.log($("#approved").css('display'))
- if( $("#approved").css('display') == "table-cell"){
- // alert('aaa')
- $("#approved").css('display', 'none');
- $(".approved_checkbox").css('display', 'none');
- $(".approved_data").removeAttr('checked');
- var table = $('#bootstrap-data-table-2').DataTable();
- table.draw();
- }else{
- $("#approved").css('display','');
- $(".approved_checkbox").css('display','');
- var table = $('#bootstrap-data-table-2').DataTable();
- table.draw();
- }
- // $('example').DataTable().ajax.reload();
- })
- <?php
- }
- ?>
- $(document).ready(function() {
- $('#bootstrap-data-table-12').DataTable( {
- } );
- } );
- $(document).ready(function() {
- $('#bootstrap-data-table-2').DataTable( {
- "scrollX": true
- } );
- } );
- $(document).on('click', '#get_data', function(){
- var month = $("#month").val();
- var year = $("#year").val();
- var field = $("#field").val();
- var text = $("#field :selected").text();
- console.log(text);
- var machine = $("#machine_id").val();
- $.ajax({
- type: "POST",
- url: '/getChart',
- data: {
- month: month,
- year: year,
- field: field,
- machine: machine,
- _token: $('meta[name="csrf-token"]').attr('content'),
- },
- success: function(data){
- console.log(data)
- var setting = JSON.parse(data.setting.field);
- var min = 0,max = 0;
- if(setting.length > 0){
- min = setting[0];
- max = setting[1];
- }
- data.all_data.forEach(function(part, index, array) {
- array[index].x = new Date(part.x);
- }, data.all_data);
- var lines = [], id = 0;
- var myChart = new Chart('chart', {
- type: 'line',
- data: {
- // labels: ["2015-03-15T13:03:00Z", "2015-03-25T13:02:00Z", "2015-04-25T14:12:00Z"],
- datasets: [{
- label: text+' Chart',
- data: data.all_data,
- backgroundColor: [
- 'rgba(255, 99, 132, 0.0)',
- 'rgba(54, 162, 235, 0.0)',
- 'rgba(255, 206, 86, 0.0)',
- 'rgba(75, 192, 192, 0.0)',
- 'rgba(153, 102, 255, 0.0)',
- 'rgba(255, 159, 64, 0.0)'
- ],
- borderColor: [
- 'rgba(255,99,132,1)',
- 'rgba(54, 162, 235, 1)',
- 'rgba(255, 206, 86, 1)',
- 'rgba(75, 192, 192, 1)',
- 'rgba(153, 102, 255, 1)',
- 'rgba(255, 159, 64, 1)'
- ],
- borderWidth: 1
- }]
- },
- options: {
- annotation: {
- annotations: [{
- type: 'line',
- mode: 'horizontal',
- scaleID: 'y-axis',
- value: max,
- borderColor: 'red',
- borderWidth: 4,
- label: {
- enabled: true,
- content: 'max('+max+')'
- }
- },
- {
- type: 'line',
- mode: 'horizontal',
- scaleID: 'y-axis',
- value: min,
- borderColor: 'rgb(75, 192, 192)',
- borderWidth: 4,
- label: {
- enabled: true,
- content: 'min('+min+')'
- }
- }],
- },
- scales: {
- xAxes: [{
- type: 'time',
- time: {
- unit: 'day'
- },
- distribution: 'series',
- bounds: 'ticks',
- ticks: {
- source: 'data'
- }
- }],
- yAxes: [{
- id: 'y-axis'
- }]
- }
- }
- });
- }
- });
- })
- $(document).on('click','.delete', function(e){
- e.preventDefault()
- if(confirm('Are you sure ?')){
- var id = $(this).data('id');
- $.ajax({
- type: "POST",
- url: '/newmachine/deleteDailyMachine',
- data: {
- id: id,
- _token: $('meta[name="csrf-token"]').attr('content')
- },
- success: function(data){
- if(data.status == 1){
- location.reload();
- }
- }
- })
- }
- })
- $(document).on('click','.deleterevisi', function(e){
- e.preventDefault()
- if(confirm('Are you sure ?')){
- var id = $(this).data('id');
- $.ajax({
- type: "POST",
- url: '/newmachine/deleteRevisiHistory',
- data: {
- id: id,
- _token: $('meta[name="csrf-token"]').attr('content')
- },
- success: function(data){
- if(data.status == 1){
- location.reload();
- }
- }
- })
- }
- })
- <?php
- if(Auth::user()->level == 5){
- ?>
- $(document).on('change', '.approvedmanager_data', function(){
- if( $('.approvedmanager_data:checked').length > 0 ){
- $("#submit_approvemanager").css('display','')
- $("#submit_ng").css('display','');
- }else{
- $("#submit_approvemanager").css('display','none')
- $("#submit_ng").css('display','none')
- }
- if($(this).data('unit') == 1){
- var index = $(this).data('index');
- if($(this).is(':checked')){
- for(var i = 1;i < 7 ;i++ ){
- $('#index'+(i+index)).prop('checked',true);
- }
- }else{
- for(var i = 1;i < 7 ;i++ ){
- $('#index'+(i+index)).prop('checked',false);
- }
- }
- if( $('.approvedmanager_data:checked').length > 0 ){
- $("#submit_approvemanager").css('display','')
- $("#submit_ngmanager").css('display','');
- }else{
- $("#submit_approvemanager").css('display','none')
- $("#submit_ngmanager").css('display','none')
- }
- }
- })
- $(document).on('click','#submit_approvemanager', function(e){
- var data = new Array();
- $("#bootstrap-data-table-2 input[type=checkbox]:checked").each(function () {
- data.push(this.value);
- });
- data.join(',');
- $.ajax({
- type: "POST",
- url: '/saveApprovemanager',
- data: {
- data: data,
- _token: $('meta[name="csrf-token"]').attr('content'),
- },
- success: function(value){
- location.reload()
- },
- error: function(xhr){
- }
- })
- })
- $(document).on('click','#submit_ngmanager', function(e){
- $("#modalnotemanager").modal('show')
- })
- $(document).on('click','#submitngmanager', function(e){
- var data = new Array();
- $("#bootstrap-data-table-2 input[type=checkbox]:checked").each(function () {
- data.push(this.value);
- });
- var commentmanager = $("#commentmanager").val();
- data.join(',');
- $.ajax({
- type: "POST",
- url: '/saveNGmanager',
- data: {
- data: data,
- commentmanager: commentmanager,
- _token: $('meta[name="csrf-token"]').attr('content'),
- },
- success: function(value){
- location.reload()
- },
- error: function(xhr){
- }
- })
- })
- $(document).on('click','#approvemanager', function(e){
- e.preventDefault()
- // console.log($("#approved").css('display'))
- if( $("#approvedmanager").css('display') == "table-cell"){
- // alert('aaa')
- $("#approvedmanager").css('display', 'none');
- $(".approvedmanager_checkbox").css('display', 'none');
- $(".approvedmanager_data").removeAttr('checked');
- var table = $('#bootstrap-data-table-2').DataTable();
- table.draw();
- }else{
- $("#approvedmanager").css('display','');
- $(".approvedmanager_checkbox").css('display','');
- var table = $('#bootstrap-data-table-2').DataTable();
- table.draw();
- }
- // $('example').DataTable().ajax.reload();
- })
- <?php
- }
- ?>
- </script>
- <script type="text/javascript">
- // var txt = "innerText" in HTMLElement.prototype ? "innerText" : "textContent";
- $(document).on('click','#scan', function(){
- $('#camera').css('display','');
- $('#stop').css('display','');
- var arg = {
- resultFunction: function(result) {
- console.log(result.code)
- // var aChild = document.createElement('li');
- // aChild[txt] = result.format + ': ' + result.code;
- // document.querySelector('canvas').appendChild(aChild);
- // decoder.stop();
- location.href = result.code;
- decoder.stop();
- }
- };
- var decoder = $("#canvaswebcam").WebCodeCamJQuery(arg).data().plugin_WebCodeCamJQuery;
- decoder.play();
- $(document).on('click','#stop', function(){
- $('#camera').css('display','none');
- $('#stop').css('display','none');
- decoder.stop();
- })
- })
- $(document).on('click', '.hotrunner', function() {
- $('#HRS').modal('show');
- });
- $(document).on('click', '.uploadnewhotrunner', function() {
- $('#uploadNEWHRS').modal('show');
- });
- $(document).on('click', '.uploadhotrunner', function() {
- $('#uploadHRS').modal('show');
- });
- </script>
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement