@extends('layouts/base_view') @section('title') {!! $variables['header_routes'] !!} @endsection @section('content')

{!! $variables['judul'] !!}

@csrf
id ? 'readonly' : '' }}> @if ($errors->has('code')) {{ $errors->first('code') }} @endif
Kode QAD 4 karakter @if ($errors->has('qad_code')) {{ $errors->first('qad_code') }} @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('pic')) {{ $errors->first('pic') }} @endif
@if ($errors->has('pic_phone')) {{ $errors->first('pic_phone') }} @endif
@if ($errors->has('pic_email')) {{ $errors->first('pic_email') }} @endif
Pisahkan multiple email dengan koma (,) @if ($errors->has('notify_email_shipment')) {{ $errors->first('notify_email_shipment') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('submit_so_deadline')) {{ $errors->first('submit_so_deadline') }} @endif
Jika aktif, deadline submit SO diabaikan
flag_submit_so_free ?? false) ? 'checked' : '' }}>

Distribution Centers (DC)

@php $existingMap = []; if ($data->id && isset($data->storeDcs)) { foreach ($data->storeDcs->where('delete_flag', 0) as $sdc) { $existingMap[$sdc->period_group] = $sdc->dc_id; } } @endphp @foreach($variables['periodGroups'] as $pg) @endforeach
Period Group DC *
{{ $pg->code }} @if($pg->description)
{{ $pg->description }} @endif
List
@endsection