Files
opensem/resources/views/Shop/Admin/Articles/partials/prices.blade.php
Ludovic CANDELLIER b481b78ebb [WIP] Adding prices
2020-05-10 01:54:56 +02:00

31 lines
681 B
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
});
</script>
@endpush