diff --git a/app/Http/Requests/BranchRequest.php b/app/Http/Requests/BranchRequest.php index e5050fd..b1f5722 100644 --- a/app/Http/Requests/BranchRequest.php +++ b/app/Http/Requests/BranchRequest.php @@ -28,6 +28,7 @@ 'authorized_at' => 'nullable|datetime', 'authorized_status' => 'nullable|string|max:1', 'authorized_by' => 'nullable|exists:users,id', + 'is_dalam_kota' => 'nullable|in:0,1', ]; if ($this->method() == 'PUT') { diff --git a/resources/views/branch/create.blade.php b/resources/views/branch/create.blade.php index 07a68f1..64d7825 100644 --- a/resources/views/branch/create.blade.php +++ b/resources/views/branch/create.blade.php @@ -6,83 +6,122 @@ @section('content')