main
parent
798911251b
commit
5d4474bfcb
|
@ -19,8 +19,13 @@ class KelompokKategoriSeeder extends Seeder
|
|||
'kategori_produk_id' => 1,
|
||||
],
|
||||
[
|
||||
'nama_kelompok_kategori' => 'Terang Bulan',
|
||||
'kode_kelompok_kategori' => 'TERB',
|
||||
'nama_kelompok_kategori' => 'Terbul Reguler',
|
||||
'kode_kelompok_kategori' => 'TERBG',
|
||||
'kategori_produk_id' => 2,
|
||||
],
|
||||
[
|
||||
'nama_kelompok_kategori' => 'Terbul Premium',
|
||||
'kode_kelompok_kategori' => 'TERBP',
|
||||
'kategori_produk_id' => 2,
|
||||
],
|
||||
[
|
||||
|
|
|
@ -79,16 +79,48 @@ kelompok_kategori_id,produk_id
|
|||
2,78
|
||||
2,79
|
||||
2,80
|
||||
2,81
|
||||
2,82
|
||||
2,83
|
||||
2,84
|
||||
2,85
|
||||
2,86
|
||||
2,87
|
||||
2,88
|
||||
2,89
|
||||
2,90
|
||||
2,91
|
||||
2,92
|
||||
2,93
|
||||
3,49
|
||||
3,50
|
||||
3,51
|
||||
3,52
|
||||
3,53
|
||||
3,54
|
||||
3,55
|
||||
3,56
|
||||
3,57
|
||||
3,58
|
||||
3,59
|
||||
3,60
|
||||
3,61
|
||||
3,62
|
||||
3,63
|
||||
3,64
|
||||
3,65
|
||||
3,66
|
||||
3,67
|
||||
3,68
|
||||
3,69
|
||||
3,70
|
||||
3,71
|
||||
3,72
|
||||
3,73
|
||||
3,74
|
||||
3,75
|
||||
3,76
|
||||
3,77
|
||||
3,78
|
||||
3,79
|
||||
3,80
|
||||
3,81
|
||||
3,82
|
||||
3,83
|
||||
3,84
|
||||
3,85
|
||||
3,86
|
||||
3,87
|
||||
3,88
|
||||
3,89
|
||||
3,90
|
||||
3,91
|
||||
3,92
|
||||
3,93
|
||||
|
|
|
|
@ -55,8 +55,8 @@ id,kategori_produk_id,kode_produk,nama_produk,varian_produk,deskripsi_produk,har
|
|||
54,2,BLACK FOREST,Black Forest,,,22000,,,,,,,21
|
||||
55,2,GREENTEA,Greentea,,,22000,,,,,,,21
|
||||
56,2,TARO,Taro,,,22000,,,,,,,21
|
||||
57,2,REGULAR,Regular,,,42000,,,,,,,22
|
||||
58,2,PREMIUM,Premium,,,70000,,,,,,,22
|
||||
57,2,REGULAR,Regular 8 Rasa,,,42000,,,,,,,22
|
||||
58,2,PREMIUM,Premium 8 Rasa,,,70000,,,,,,,22
|
||||
59,2,MESES,Meses,,,21000,,,,,,,23
|
||||
60,2,PISANG MESES,Pisang Meses,,,23000,,,,,,,23
|
||||
61,2,KEJU MESES,Keju Meses,,,26000,,,,,,,23
|
||||
|
|
|
|
@ -0,0 +1,107 @@
|
|||
<div class="col-lg-12 col-md-12 col-sm-12" style="padding: 0px">
|
||||
<div class="row" style="padding: 0px">
|
||||
<div class="col-xl-3 col-lg-4 col-md-4 col-sm-3" style="margin-left: 0px;padding-left: 0px;">
|
||||
<div class="nav flex-column nav-tabs h-100" id="vert-tabs-tab" role="tablist" aria-orientation="vertical">
|
||||
|
||||
<a class="nav-link vert-nav-content active" id="vert-tabs-jadonanG-tab" data-toggle="pill"
|
||||
href="#vert-tabs-jadonanG" role="tab" aria-controls="vert-tabs-jadonanG" aria-selected="true">
|
||||
Adonan</a>
|
||||
<a class="nav-link vert-nav-content" id="vert-tabs-regulartopsG-tab" data-toggle="pill"
|
||||
href="#vert-tabs-regulartopsG" role="tab" aria-controls="vert-tabs-regulartopsG"
|
||||
aria-selected="false">Topping Regular</a>
|
||||
|
||||
<div class="card card-warning card-outline" style="margin-top: auto;margin-right: 5px;height: auto;">
|
||||
<div class="card-header">
|
||||
<h6 class="text-sm m-0" id="nama-paket">
|
||||
Paket Menu Terpilih
|
||||
</h6>
|
||||
</div>
|
||||
<div class="card-body" style="padding: 2px 20px 2px">
|
||||
<ul style="padding: 0px 5px 0px;" id="menu-terpilih">
|
||||
<li class="text=xs">
|
||||
Pilih Paket Menu Terlebih Dahulu
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a class="btn btn-warning disabled" id="select-ordered-menus" onclick="cariPaket()">Pilih
|
||||
Paket Menu
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xl-9 col-lg-8 col-md-8 col-sm-9" style="padding: 0px;">
|
||||
<div class="card-body" style="height:700px;overflow-y:scroll;">
|
||||
<div class="tab-content" id="vert-tabs-tabContent">
|
||||
<div class="tab-pane vert-tab-content fade text-left show active" id="vert-tabs-jadonanG"
|
||||
role="tabpanel" aria-labelledby="vert-tabs-jadonanG-tab">
|
||||
<div class="row">
|
||||
@foreach ($item->kelompokKategoriPivot as $key2 => $kelompokKategoriPivot)
|
||||
@if (
|
||||
$kelompokKategoriPivot->produk->urutan == 21 ||
|
||||
$kelompokKategoriPivot->produk->urutan == 22 ||
|
||||
$kelompokKategoriPivot->produk->urutan == 23)
|
||||
<div class="col-xl-4 col-lg-6 col-md-12 col-sm-6">
|
||||
<div onclick="aadMenu( {{ $kelompokKategoriPivot->produk }} );"
|
||||
class="card card-warning card-outline btn">
|
||||
<div class="card-body" style="padding: 5px;">
|
||||
<h5 class="m-0 text-ms">
|
||||
{{ $kelompokKategoriPivot->produk->nama_produk ?? '' }}
|
||||
</h5>
|
||||
<hr style="margin: 5px;">
|
||||
<img style="width: 100%;height: 100%;object-fit: cover;"
|
||||
src="{{ $kelompokKategoriPivot->produk->gambar_produk }}"
|
||||
alt="{{ $kelompokKategoriPivot->produk->nama_produk ?? '' }}">
|
||||
<div class="col-md-12 mt-1"
|
||||
style="align-items: center;align-content: center;">
|
||||
<h5>
|
||||
{{ convert_to_rupiah($kelompokKategoriPivot->produk->harga_produk) }}
|
||||
</h5>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-warning" id="ordered-menus">
|
||||
Pesan
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane vert-tab-content" id="vert-tabs-regulartopsG" role="tabpanel"
|
||||
aria-labelledby="vert-tabs-regulartopsG-tab">
|
||||
<div class="row">
|
||||
@foreach ($item->kelompokKategoriPivot as $key2 => $kelompokKategoriPivot)
|
||||
@if ($kelompokKategoriPivot->produk->urutan == 24)
|
||||
<div class="col-xl-4 col-lg-6 col-md-12 col-sm-6">
|
||||
<div onclick="aadMenu( {{ $kelompokKategoriPivot->produk }} );"
|
||||
class="card card-warning card-outline btn">
|
||||
<div class="card-body" style="padding: 5px;">
|
||||
<h5 class="m-0 text-ms">
|
||||
{{ $kelompokKategoriPivot->produk->nama_produk ?? '' }}
|
||||
</h5>
|
||||
<hr style="margin: 5px;">
|
||||
<img style="width: 100%;height: 100%;object-fit: cover;"
|
||||
src="{{ $kelompokKategoriPivot->produk->gambar_produk }}"
|
||||
alt="{{ $kelompokKategoriPivot->produk->nama_produk ?? '' }}">
|
||||
<div class="col-md-12 mt-1"
|
||||
style="align-items: center;align-content: center;">
|
||||
<h5>
|
||||
{{ convert_to_rupiah($kelompokKategoriPivot->produk->harga_produk) }}
|
||||
</h5>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-warning" id="ordered-menus">
|
||||
Pesan
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -3,16 +3,15 @@
|
|||
<div class="col-xl-3 col-lg-4 col-md-4 col-sm-3" style="margin-left: 0px;padding-left: 0px;">
|
||||
<div class="nav flex-column nav-tabs h-100" id="vert-tabs-tab" role="tablist" aria-orientation="vertical">
|
||||
|
||||
<a class="nav-link vert-nav-content active" id="vert-tabs-jadonan-tab" data-toggle="pill"
|
||||
href="#vert-tabs-jadonan" role="tab" aria-controls="vert-tabs-jadonan"
|
||||
aria-selected="true">Jenis
|
||||
<a class="nav-link vert-nav-content active" id="vert-tabs-premiumtaste-tab" data-toggle="pill"
|
||||
href="#vert-tabs-premiumtaste" role="tab" aria-controls="vert-tabs-premiumtaste"
|
||||
aria-selected="true">Topping Premium</a>
|
||||
<a class="nav-link vert-nav-content" id="vert-tabs-jadonan-tab" data-toggle="pill"
|
||||
href="#vert-tabs-jadonan" role="tab" aria-controls="vert-tabs-jadonan" aria-selected="false">
|
||||
Adonan</a>
|
||||
<a class="nav-link vert-nav-content" id="vert-tabs-regulartops-tab" data-toggle="pill"
|
||||
href="#vert-tabs-regulartops" role="tab" aria-controls="vert-tabs-regulartops"
|
||||
aria-selected="false">Topping Regular</a>
|
||||
<a class="nav-link vert-nav-content" id="vert-tabs-premiumtaste-tab" data-toggle="pill"
|
||||
href="#vert-tabs-premiumtaste" role="tab" aria-controls="vert-tabs-premiumtaste"
|
||||
aria-selected="false">Premium Taste </a>
|
||||
aria-selected="false">Topping Regular Tambahan</a>
|
||||
|
||||
<div class="card card-warning card-outline" style="margin-top: auto;margin-right: 5px;height: auto;">
|
||||
<div class="card-header">
|
||||
|
@ -37,8 +36,8 @@
|
|||
<div class="col-xl-9 col-lg-8 col-md-8 col-sm-9" style="padding: 0px;">
|
||||
<div class="card-body" style="height:700px;overflow-y:scroll;">
|
||||
<div class="tab-content" id="vert-tabs-tabContent">
|
||||
<div class="tab-pane vert-tab-content fade text-left show active" id="vert-tabs-jadonan"
|
||||
role="tabpanel" aria-labelledby="vert-tabs-jadonan-tab">
|
||||
<div class="tab-pane vert-tab-content" id="vert-tabs-jadonan" role="tabpanel"
|
||||
aria-labelledby="vert-tabs-jadonan-tab">
|
||||
<div class="row">
|
||||
@foreach ($item->kelompokKategoriPivot as $key2 => $kelompokKategoriPivot)
|
||||
@if (
|
||||
|
@ -72,8 +71,8 @@
|
|||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane vert-tab-content" id="vert-tabs-regulartops" role="tabpanel"
|
||||
aria-labelledby="vert-tabs-regulartops-tab">
|
||||
<div class="tab-pane vert-tab-content fade text-left show active" id="vert-tabs-regulartops"
|
||||
role="tabpanel" aria-labelledby="vert-tabs-regulartops-tab">
|
||||
<div class="row">
|
||||
@foreach ($item->kelompokKategoriPivot as $key2 => $kelompokKategoriPivot)
|
||||
@if ($kelompokKategoriPivot->produk->urutan == 24)
|
|
@ -28,8 +28,10 @@
|
|||
<div class="row" style="justify-content: center">
|
||||
@if ($item->kode_kelompok_kategori == 'MART')
|
||||
@include('pages.Kasir.martabak_side')
|
||||
@elseif ($item->kode_kelompok_kategori == 'TERB')
|
||||
@include('pages.Kasir.terbul_side')
|
||||
@elseif ($item->kode_kelompok_kategori == 'TERBG')
|
||||
@include('pages.Kasir.terbulG_side')
|
||||
@elseif ($item->kode_kelompok_kategori == 'TERBP')
|
||||
@include('pages.Kasir.terbulP_side')
|
||||
@else
|
||||
@if (count($item->kelompokKategoriPivot) > 0)
|
||||
@foreach ($item->kelompokKategoriPivot as $key2 => $kelompokKategoriPivot)
|
||||
|
|
Loading…
Reference in New Issue