Copd (Grid View)
Specific Folder FTP Upload / ftp-deploy (push) Successful in 36s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 36s
Details
This commit is contained in:
parent
d850f86e6d
commit
db31b18280
|
|
@ -28,6 +28,26 @@ $brandData = [
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
|
@php
|
||||||
|
$submissions = Formhelper::getMultiformData($form->partition, $form_id, $form->user_id);
|
||||||
|
|
||||||
|
|
||||||
|
$formdata = null;
|
||||||
|
|
||||||
|
if (!empty($submissions->data->submissions)) {
|
||||||
|
foreach ($submissions->data->submissions as $submission) {
|
||||||
|
if ($submission->id == $id) {
|
||||||
|
$formdata = $submission->formdata ?? null;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@endphp
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<body class="loading">
|
<body class="loading">
|
||||||
<div class="account-pages">
|
<div class="account-pages">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
@ -175,69 +195,69 @@ $brandData = [
|
||||||
@break
|
@break
|
||||||
@case('multitextbox')
|
@case('multitextbox')
|
||||||
|
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
|
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
|
|
||||||
<thead class="table-light">
|
<thead class="table-light">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="70%">Brand</th>
|
<th width="70%">Brand</th>
|
||||||
<th width="30%">POB Units</th>
|
<th width="30%">POB Units</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
@foreach($brandData as $brand)
|
@foreach($brandData as $brand)
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td>{{ $brand['brand'] }}</td>
|
<td>{{ $brand['brand'] }}</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
min="0"
|
min="0"
|
||||||
step="1"
|
step="1"
|
||||||
class="form-control pob-unit"
|
class="form-control pob-unit"
|
||||||
id="field-{{ $brand['slug'] }}"
|
id="field-{{ $brand['slug'] }}"
|
||||||
name="{{ $brand['slug'] }}"
|
name="{{ $brand['slug'] }}"
|
||||||
value="{{ $id && isset($formdata->{$brand['slug']}) ? $formdata->{$brand['slug']} : 0 }}"
|
value="{{ $id && isset($formdata->{$brand['slug']}) ? $formdata->{$brand['slug']} : 0 }}"
|
||||||
>
|
>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
<tr class="table-secondary">
|
<tr class="table-secondary">
|
||||||
|
|
||||||
<th>Total POB Units</th>
|
<th>Total POB Units</th>
|
||||||
|
|
||||||
<th>
|
<th>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
id="field-total_pob_units"
|
id="field-total_pob_units"
|
||||||
name="total_pob_units"
|
name="total_pob_units"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
readonly
|
readonly
|
||||||
value="{{ $id && isset($formdata->total_pob_units) ? $formdata->total_pob_units : 0 }}"
|
value="{{ $id && isset($formdata->total_pob_units) ? $formdata->total_pob_units : 0 }}"
|
||||||
>
|
>
|
||||||
|
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@break
|
@break
|
||||||
@endswitch
|
@endswitch
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue