Files
opensem/resources/views/Shop/admin/Sections/partials/edit-documentation.blade.php
Ludovic CANDELLIER 002967136e renaming dir
2020-04-15 17:34:57 +02:00

29 lines
846 B
PHP

@if (isset($documents))
@include('Hestimmo.modules.LotDocument.partials.list-documents')
@endif
@include('Hestimmo.modules.LotDocument.partials.block_document_new')
<div id="append_lot_document" class="row m-top-8"> </div>
<button type="button" class="btn btn-primary add-new-lot-document m-top-8">Ajouter un document <i class="fa fa-plus"></i></button>
@push('js')
<script>
function append_lot_document() {
$("#append_lot_document .file").fileinput();
}
$("#append_lot_document").appender({
rowSection: '.row-new-lot-document',
type: '.row-lot-document',
addBtn: '.add-new-lot-document',
appendEffect: 'slide',
addClass: 'animated bounceInLeft',
rowNumber: '.row-lot-document-number',
deleteBtn: '.delete-new-lot-document-btn',
callback: append_lot_document,
hideSection: true
});
</script>
@endpush