08 2024
This commit is contained in:
parent
04d677d37a
commit
bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions
|
|
@ -14,7 +14,8 @@
|
|||
<th>{{__('Name')}}</th>
|
||||
<th>{{__('sichtbar') }}</th>
|
||||
<th>{{__('Standard')}}</th>
|
||||
<th>{{__('Status')}}</th>
|
||||
<th>{{__('Abo')}}</th>
|
||||
<th>{{__('tables.status')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -28,14 +29,16 @@
|
|||
data-short="{{ $value->short }}"
|
||||
data-show_on="{{ json_encode($value->show_on) }}"
|
||||
data-default="{{ $value->default }}"
|
||||
data-is_abo="{{ $value->is_abo }}"
|
||||
data-active="{{ $value->active }}">
|
||||
<span class="far fa-edit"></span>
|
||||
<span class="fa fa-edit"></span>
|
||||
</button>
|
||||
</td>
|
||||
<td>{{ $value->pos }}</td>
|
||||
<td>{{ $value->name }} ({{ $value->short }})</td>
|
||||
<td>{!! implode($value->getShowOnTypes(), '<br>') !!}</td>
|
||||
<td data-sort="{{ $value->default }}">{!! get_active_badge($value->default) !!}</td>
|
||||
<td data-sort="{{ $value->is_abo }}">{!! get_active_badge($value->is_abo) !!}</td>
|
||||
<td data-sort="{{ $value->active }}">{!! get_active_badge($value->active) !!}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
|
@ -48,7 +51,8 @@
|
|||
data-name=""
|
||||
data-short=""
|
||||
data-show_on="[]"
|
||||
data-default="1"
|
||||
data-default="0"
|
||||
data-is_abo="0"
|
||||
data-active="1"
|
||||
>{{__('Neue Zahlungsart hinzufügen')}}</button>
|
||||
</div>
|
||||
|
|
@ -109,8 +113,14 @@
|
|||
<span class="custom-control-label">{{__('Standard')}}</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-6">
|
||||
<label class="custom-control custom-checkbox m-2">
|
||||
<input type="checkbox" class="custom-control-input" name="is_abo" checked>
|
||||
<span class="custom-control-label">{{__('Zahlung für ABO')}} (muss einprogrammiert werden)</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
|
@ -132,6 +142,7 @@
|
|||
$(this).find(".modal-body select[name='show_on[]']").val(button.data('show_on'));
|
||||
$(this).find(".modal-body input[name='active']").prop( "checked", button.data('active'));
|
||||
$(this).find(".modal-body input[name='default']").prop( "checked", button.data('default'));
|
||||
$(this).find(".modal-body input[name='is_abo']").prop( "checked", button.data('is_abo'));
|
||||
$('.selectpicker').selectpicker('refresh');
|
||||
});
|
||||
|
||||
|
|
@ -140,7 +151,7 @@
|
|||
"iDisplayLength": 50,
|
||||
|
||||
"language": {
|
||||
"url": "/js/German.json"
|
||||
"url": "/js/datatables-{{ \App::getLocale() }}.json"
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue