edit page and show pages media delete issue solved.
This commit is contained in:
@ -459,11 +459,13 @@
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript">
|
||||
@permission('delete-common-uploads')
|
||||
@if($invoice->attachment)
|
||||
$(document).on('click', '#remove-attachment', function (e) {
|
||||
confirmDelete("#attachment-{!! $invoice->attachment->id !!}", "{!! trans('general.attachment') !!}", "{!! trans('general.delete_confirm', ['name' => '<strong>' . $invoice->attachment->basename . '</strong>', 'type' => strtolower(trans('general.attachment'))]) !!}", "{!! trans('general.cancel') !!}", "{!! trans('general.delete') !!}");
|
||||
});
|
||||
@endif
|
||||
@endpermission
|
||||
|
||||
$(document).on('click', '#button-payment', function (e) {
|
||||
$('#modal-add-payment').remove();
|
||||
|
Reference in New Issue
Block a user