fix adding price for count(prices) > 3

This commit is contained in:
Ludovic CANDELLIER
2021-08-31 23:33:10 +02:00
parent 73cfe5a42e
commit 4614ea57cf
2 changed files with 4 additions and 2 deletions

View File

@@ -56,7 +56,7 @@
$('#add_price').click( function () {
var index = $('#prices-table tbody tr').length;
$.get("{{ route('Admin.Shop.PriceListValues.addPrice') }}/" + index, function(data) {
$("#prices-table").prepend(data);
$("#prices-table").append(data);
})
})
}