This commit is contained in:
parent
8259973dc4
commit
7b4c1ab407
|
|
@ -144,7 +144,7 @@
|
||||||
@push('add-scripts')
|
@push('add-scripts')
|
||||||
<script>
|
<script>
|
||||||
$('.shipped-ed').click(function(event) {
|
$('.shipped-ed').click(function(event) {
|
||||||
$http.post('orders/{{ $order->id }}/complete').then((res) => {
|
$http.post('orders/{{ $order->number }}/complete').then((res) => {
|
||||||
layer.msg(res.message)
|
layer.msg(res.message)
|
||||||
window.location.reload()
|
window.location.reload()
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue