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

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

@csrf
Kode toko unik (maks 20 karakter) id ? 'readonly' : '' }}> @if ($errors->has('code')) {{ $errors->first('code') }} @endif
Kode QAD 4 karakter (wajib diisi) @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
Batas waktu edit SPB @if ($errors->has('spb_edit_deadline')) {{ $errors->first('spb_edit_deadline') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
Pisahkan multiple email dengan koma (,) @if ($errors->has('notify_email_shipment')) {{ $errors->first('notify_email_shipment') }} @endif

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