56 lines
1.6 KiB
PHP
56 lines
1.6 KiB
PHP
@extends('layouts.indexsecond')
|
|
|
|
@section('content')
|
|
|
|
<title>Rekod Pembelian | Customer Portal</title>
|
|
|
|
<div class="row">
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item text-dark opacity-5"><a href="/">Home</a></li>
|
|
<li class="breadcrumb-item text-dark active" aria-current="page">Rekod Pembelian</li>
|
|
</ol>
|
|
</nav>
|
|
</div>
|
|
|
|
@error('sltcawangan')
|
|
<script>
|
|
$.notify({
|
|
icon: 'fas fa-exclamation-triangle fa-2x',
|
|
newest_on_top: true,
|
|
message: "<strong style='font-size:15px;'>Sila pilih cawangan terlebih dahulu sebelum tekan semak!</strong>"
|
|
}, {
|
|
type: 'danger',
|
|
allow_dismiss: false,
|
|
placement: {
|
|
align: 'center',
|
|
from: 'bottom'
|
|
},
|
|
animate: {
|
|
enter: 'animate__animated animate__bounce',
|
|
|
|
exit: 'animate__animated animate__bounceOutDown'
|
|
}
|
|
});
|
|
</script>
|
|
@enderror
|
|
|
|
<form name="semaksagform" action="{{ route('senaraisag') }}" method="POST">
|
|
@csrf
|
|
<div>
|
|
<p class="lead text-dark pe-md-5 me-md-5">
|
|
Sila pilih cawangan
|
|
</p>
|
|
<select class="form-select custom-select" aria-label="Default select example" name="sltcawangan">
|
|
<option selected disabled>Pilihan Cawangan</option>
|
|
@foreach($cawangan as $index1=>$caw)
|
|
<option value="{{ $caw['kodcaw'] }}">{{ $caw['namacawangan'] }}</option>
|
|
@endforeach
|
|
</select>
|
|
</div>
|
|
<button type="submit" href="{{ route('senaraisag') }}" class="btn btn-primary mt-3 d-flex">
|
|
Semak
|
|
</button>
|
|
</form>
|
|
|
|
@endsection |