|
@@ -1,5 +1,8 @@
|
|
|
<!--- body-copy-search --->
|
|
|
-@php $modalClassName = $modalClassName ?? ''; @endphp
|
|
|
+@php $modalClassName = $modalClassName ?? '';
|
|
|
+ //var_dump($moealSetFile['BodyCopyPageVars'])
|
|
|
+@endphp
|
|
|
+
|
|
|
<div class="modal fade modal-red {{ $modalClassName }}" id="modal-bodycopy" aria-hidden="true" data-backdrop="static" style="display: none; z-index: 1050;">
|
|
|
<div class="modal-dialog m-auto pt-4" style="max-width: 1250px;">
|
|
|
<button type="button" hidden
|
|
@@ -75,23 +78,25 @@
|
|
|
<div class="jumbotron jumbotron-fluid w-100 mb-2 py-2">
|
|
|
<div class="col-12 d-flex flex-row flex-wrap align-items-md-center py-2">
|
|
|
<!--날짜-->
|
|
|
- <div class="d-flex flex-column mb-2 sel-date">
|
|
|
- <label class="m-0">{{ $moealSetFile['FormVars']['Title']['DayFromTodayOption'] }}</label>
|
|
|
- <select class="rounded w-100 day-from-today-select">
|
|
|
- <option value="10">10</option>
|
|
|
- <option value="20">20</option>
|
|
|
- <option value="30" selected>30</option>
|
|
|
- <option value="40">40</option>
|
|
|
- <option value="50">50</option>
|
|
|
- <option value="60">60</option>
|
|
|
- <option value="70">70</option>
|
|
|
- <option value="80">80</option>
|
|
|
- <option value="90">90</option>
|
|
|
- <option value="150">150</option>
|
|
|
- <option value="300">300</option>
|
|
|
- <option value="10000">10000</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
+ @if(isset($moealSetFile['FormVars']['Title']['DayFromTodayOption']) && !empty($moealSetFile['FormVars']['Title']['DayFromTodayOption']))
|
|
|
+ <div class="d-flex flex-column mb-2 sel-date">
|
|
|
+ <label class="m-0">{{ $moealSetFile['FormVars']['Title']['DayFromTodayOption'] }}</label>
|
|
|
+ <select class="rounded w-100 day-from-today-select">
|
|
|
+ <option value="10">10</option>
|
|
|
+ <option value="20">20</option>
|
|
|
+ <option value="30" selected>30</option>
|
|
|
+ <option value="40">40</option>
|
|
|
+ <option value="50">50</option>
|
|
|
+ <option value="60">60</option>
|
|
|
+ <option value="70">70</option>
|
|
|
+ <option value="80">80</option>
|
|
|
+ <option value="90">90</option>
|
|
|
+ <option value="150">150</option>
|
|
|
+ <option value="300">300</option>
|
|
|
+ <option value="10000">10000</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
<!--//날짜 -->
|
|
|
|
|
|
<div class="d-flex align-items-stretch align-items-md-center flex-column flex-md-row mb-2 mb-md-0 px-0 px-md-1">
|
|
@@ -104,10 +109,12 @@
|
|
|
@endforeach
|
|
|
</select>
|
|
|
</div>
|
|
|
- <div class="d-flex align-items-stretch align-items-md-center flex-column flex-md-row mb-2 mb-md-0 px-0 px-md-1 pl-3">
|
|
|
- <input type="checkbox" value="1" class="text-md-center w-100 overflow-hidden text-nowrap" name="ShowOnlyClosedChecked" id="{{ $modalClassName }}-ShowOnlyClosedChecked">
|
|
|
- <label class="m-0 text-nowrap" for="{{ $modalClassName }}-ShowOnlyClosedChecked">{{ $moealSetFile['FormVars']['Title']['ShowOnlyClosedChecked'] }}</label>
|
|
|
- </div>
|
|
|
+ @if(isset($moealSetFile['FormVars']['Title']['ShowOnlyClosedChecked']) && !empty($moealSetFile['FormVars']['Title']['ShowOnlyClosedChecked']))
|
|
|
+ <div class="d-flex align-items-stretch align-items-md-center flex-column flex-md-row mb-2 mb-md-0 px-0 px-md-1 pl-3">
|
|
|
+ <input type="checkbox" value="1" class="text-md-center w-100 overflow-hidden text-nowrap" name="ShowOnlyClosedChecked" id="{{ $modalClassName }}-ShowOnlyClosedChecked">
|
|
|
+ <label class="m-0 text-nowrap" for="{{ $modalClassName }}-ShowOnlyClosedChecked">{{ $moealSetFile['FormVars']['Title']['ShowOnlyClosedChecked'] }}</label>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -151,6 +158,7 @@
|
|
|
function body_copy_show_modal(modal_class_name, key) {
|
|
|
let func_name = `get_${bodyCopy[modal_class_name]['BodyCopyPopupVars']['Filter'][key]}`;
|
|
|
|
|
|
+ console.log('func_name : ', func_name);
|
|
|
// 첫 번째 show 했을 때만 호출
|
|
|
if (! $(`#modal-bodycopy.${modal_class_name}`).find('.modal-btn').data('first')) {
|
|
|
first_slip_date_rang(`#${modal_class_name}slip-date-navi-div`)
|