Form group add show feature in attribute..
This commit is contained in:
parent
e947cc9332
commit
3500570b92
@ -1,6 +1,6 @@
|
|||||||
@stack('bulk_action_row_input_start')
|
@stack('bulk_action_row_input_start')
|
||||||
|
|
||||||
@php
|
@php
|
||||||
if (is_array($path)) {
|
if (is_array($path)) {
|
||||||
$path = route('bulk-actions.action', $path);
|
$path = route('bulk-actions.action', $path);
|
||||||
} else {
|
} else {
|
||||||
@ -15,10 +15,10 @@
|
|||||||
|
|
||||||
$actions_to_show[$key] = true;
|
$actions_to_show[$key] = true;
|
||||||
}
|
}
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
@if(!empty($actions_to_show))
|
@if(!empty($actions_to_show))
|
||||||
<div class="align-items-center d-none"
|
<div class="align-items-center d-none"
|
||||||
v-if="bulk_action.show"
|
v-if="bulk_action.show"
|
||||||
:class="[{'show': bulk_action.show}]">
|
:class="[{'show': bulk_action.show}]">
|
||||||
<div class="mr-6">
|
<div class="mr-6">
|
||||||
@ -78,9 +78,9 @@
|
|||||||
<span>{{ trans('general.clear') }}</span>
|
<span>{{ trans('general.clear') }}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<akaunting-modal
|
<akaunting-modal
|
||||||
:show="bulk_action.modal"
|
:show="bulk_action.modal"
|
||||||
:title="'{{ trans_choice($text, 2) }}'"
|
:title="'{{ trans_choice($text, 2) }}'"
|
||||||
:message="bulk_action.message"
|
:message="bulk_action.message"
|
||||||
@ -98,9 +98,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</akaunting-modal>
|
</akaunting-modal>
|
||||||
@else
|
@else
|
||||||
<div class="text-white" :class="[{'show': bulk_action.show}]">{{ trans('bulk_actions.no_action') }}</div>
|
<div class="text-white" :class="[{'show': bulk_action.show}]">{{ trans('bulk_actions.no_action') }}</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@stack('bulk_action_row_input_end')
|
@stack('bulk_action_row_input_end')
|
||||||
|
@ -55,6 +55,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['v-error-message']))
|
@if (isset($attributes['v-error-message']))
|
||||||
:form-error="{{ $attributes['v-error-message'] }}"
|
:form-error="{{ $attributes['v-error-message'] }}"
|
||||||
@else
|
@else
|
||||||
|
@ -60,6 +60,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['v-error-message']))
|
@if (isset($attributes['v-error-message']))
|
||||||
:form-error="{{ $attributes['v-error-message'] }}"
|
:form-error="{{ $attributes['v-error-message'] }}"
|
||||||
@else
|
@else
|
||||||
|
@ -19,6 +19,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['masked']))
|
@if (isset($attributes['masked']))
|
||||||
:masked="{{ ($attributes['masked']) ? 'true' : 'false' }}"
|
:masked="{{ ($attributes['masked']) ? 'true' : 'false' }}"
|
||||||
@endif
|
@endif
|
||||||
|
@ -71,6 +71,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['v-error-message']))
|
@if (isset($attributes['v-error-message']))
|
||||||
:form-error="{{ $attributes['v-error-message'] }}"
|
:form-error="{{ $attributes['v-error-message'] }}"
|
||||||
@else
|
@else
|
||||||
|
@ -49,6 +49,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['v-error-message']))
|
@if (isset($attributes['v-error-message']))
|
||||||
:form-error="{{ $attributes['v-error-message'] }}"
|
:form-error="{{ $attributes['v-error-message'] }}"
|
||||||
@else
|
@else
|
||||||
|
@ -65,6 +65,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['v-error-message']))
|
@if (isset($attributes['v-error-message']))
|
||||||
:form-error="{{ $attributes['v-error-message'] }}"
|
:form-error="{{ $attributes['v-error-message'] }}"
|
||||||
@else
|
@else
|
||||||
|
@ -43,6 +43,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['v-error-message']))
|
@if (isset($attributes['v-error-message']))
|
||||||
:form-error="{{ $attributes['v-error-message'] }}"
|
:form-error="{{ $attributes['v-error-message'] }}"
|
||||||
@else
|
@else
|
||||||
|
@ -67,6 +67,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['v-error-message']))
|
@if (isset($attributes['v-error-message']))
|
||||||
:form-error="{{ $attributes['v-error-message'] }}"
|
:form-error="{{ $attributes['v-error-message'] }}"
|
||||||
@else
|
@else
|
||||||
|
@ -45,6 +45,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['v-error-message']))
|
@if (isset($attributes['v-error-message']))
|
||||||
:form-error="{{ $attributes['v-error-message'] }}"
|
:form-error="{{ $attributes['v-error-message'] }}"
|
||||||
@else
|
@else
|
||||||
|
@ -43,6 +43,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['v-error-message']))
|
@if (isset($attributes['v-error-message']))
|
||||||
:form-error="{{ $attributes['v-error-message'] }}"
|
:form-error="{{ $attributes['v-error-message'] }}"
|
||||||
@else
|
@else
|
||||||
|
@ -48,6 +48,10 @@
|
|||||||
:disabled="{{ $attributes['disabled'] }}"
|
:disabled="{{ $attributes['disabled'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (isset($attributes['show']))
|
||||||
|
v-if="{{ $attributes['show'] }}"
|
||||||
|
@endif
|
||||||
|
|
||||||
@if(isset($attributes['v-error-message']))
|
@if(isset($attributes['v-error-message']))
|
||||||
:form-error="{{ $attributes['v-error-message'] }}"
|
:form-error="{{ $attributes['v-error-message'] }}"
|
||||||
@else
|
@else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user