update_10.09.23
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
</li>
|
||||
@endif
|
||||
<li class="nav-item">
|
||||
<a class="nav-link
|
||||
<a class="nav-link
|
||||
@if(!auth()->user()->can('superadmin') && !Auth::user()->can_create_form)
|
||||
active
|
||||
@endif
|
||||
@@ -137,7 +137,6 @@
|
||||
<tr>
|
||||
<th>@lang('messages.name')</th>
|
||||
<th>@lang('messages.description')</th>
|
||||
<th>@lang('messages.created_by')</th>
|
||||
<th>@lang('messages.action')</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -215,7 +214,7 @@
|
||||
if(result.success == true){
|
||||
toastr.success(result.msg);
|
||||
form_table.ajax.reload();
|
||||
} else {
|
||||
} else {
|
||||
toastr.error(result.msg);
|
||||
}
|
||||
}
|
||||
@@ -236,7 +235,7 @@
|
||||
if(result.success == true){
|
||||
toastr.success(result.msg);
|
||||
template_table.ajax.reload();
|
||||
} else {
|
||||
} else {
|
||||
toastr.error(result.msg);
|
||||
}
|
||||
}
|
||||
@@ -295,13 +294,11 @@
|
||||
"columnDefs": [
|
||||
{ "width": "25%", "targets": 0 },
|
||||
{ "width": "40%", "targets": 1 },
|
||||
{ "width": "15%", "targets": 2 },
|
||||
{ "width": "20%", "targets": 3 }
|
||||
{ "width": "20%", "targets": 2 }
|
||||
],
|
||||
columns: [
|
||||
{ data: 'name' , name: 'forms.name'},
|
||||
{ data: 'description' , name: 'forms.description'},
|
||||
{ data: 'created_by' , name: 'users.name', sortable:false},
|
||||
{ data: 'action', name: 'action', sortable:false }
|
||||
]
|
||||
});
|
||||
@@ -393,4 +390,4 @@
|
||||
@endif
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user