47 lines
1.1 KiB
PHP
47 lines
1.1 KiB
PHP
@include('Shop.Admin.Articles.partials.block_price_new')
|
|
|
|
<div id="append_price" class="row">
|
|
@include('Shop.Admin.Articles.partials.list-prices')
|
|
</div>
|
|
|
|
<button type="button" class="btn btn-primary add-new-price">Ajouter un tarif <i class="fa fa-plus"></i></button>
|
|
|
|
@push('js')
|
|
<script>
|
|
|
|
function append_price() {
|
|
}
|
|
|
|
$("#append_price").appender({
|
|
rowSection: '.row-new-price',
|
|
type: '.row-price',
|
|
addBtn: '.add-new-price',
|
|
appendEffect: 'slide',
|
|
addClass: 'animated bounceInLeft',
|
|
rowNumber: '.row-price-number',
|
|
deleteBtn: '.delete-new-price-btn',
|
|
callback: append_price,
|
|
rowNumberStart: 2,
|
|
hideSection: true
|
|
});
|
|
|
|
function append_attribute() {
|
|
}
|
|
|
|
$("#append_attribute").appender({
|
|
rowSection: '.row-new-attribute',
|
|
type: '.row-attribute',
|
|
addBtn: '.add-new-attribute',
|
|
appendEffect: 'slide',
|
|
addClass: 'animated bounceInLeft',
|
|
rowNumber: '.row-attribute-number',
|
|
deleteBtn: '.delete-new-attribute-btn',
|
|
callback: append_attribute,
|
|
rowNumberStart: 2,
|
|
hideSection: true
|
|
});
|
|
|
|
|
|
</script>
|
|
@endpush
|