perbaikan view unit tidak muncul dan tambah foto depan objek
This commit is contained in:
@@ -130,8 +130,8 @@
|
|||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
<div class="flex-wrap items-stretch">
|
<div class="flex-wrap items-stretch">
|
||||||
<div class="flex flex-col items-start gap-2">
|
<div class="flex flex-col items-start gap-2">
|
||||||
@if (isset($basicDdata['viewUnit']))
|
@if (isset($basicData['viewUnit']))
|
||||||
@foreach ($basicDdata['viewUnit'] as $item)
|
@foreach ($basicData['viewUnit'] as $item)
|
||||||
<label class="form-label flex items-center gap-2.5 text-nowrap">
|
<label class="form-label flex items-center gap-2.5 text-nowrap">
|
||||||
<input class="checkbox" name="view[]" type="checkbox"
|
<input class="checkbox" name="view[]" type="checkbox"
|
||||||
value="{{ $item->name }}"
|
value="{{ $item->name }}"
|
||||||
|
|||||||
@@ -256,9 +256,11 @@
|
|||||||
$objekViews = [];
|
$objekViews = [];
|
||||||
if ($kategori === 'tanah') {
|
if ($kategori === 'tanah') {
|
||||||
$objekViews = [
|
$objekViews = [
|
||||||
['label' => 'Tampak Samping Kiri', 'index' => 0],
|
['label' => 'Tampak Depan Objek', 'index' => 0],
|
||||||
['label' => 'Tampak Samping Kanan', 'index' => 1],
|
['label' => 'Tampak Samping Kiri', 'index' => 1],
|
||||||
['label' => 'Nomor Rumah/Unit', 'index' => 2],
|
['label' => 'Tampak Samping Kanan', 'index' => 2],
|
||||||
|
['label' => 'Nomor Rumah/Unit', 'index' => 3],
|
||||||
|
|
||||||
];
|
];
|
||||||
} elseif ($kategori === 'apartemen-kantor') {
|
} elseif ($kategori === 'apartemen-kantor') {
|
||||||
$objekViews = [
|
$objekViews = [
|
||||||
|
|||||||
Reference in New Issue
Block a user