fix lang bug

This commit is contained in:
decoder 2024-04-25 23:40:12 +05:00
commit 3485957da4
2 changed files with 852 additions and 40 deletions

File diff suppressed because one or more lines are too long

View File

@ -141,9 +141,10 @@
<div class="table-responsive"> <div class="table-responsive">
<table class="table" id="assigned_form_table" style="width: 100%;"> <table class="table" id="assigned_form_table" style="width: 100%;">
<thead> <thead>
<tr> <tr>
<th>@lang('messages.name')</th>
<th>@lang('messages.description')</th> <th>@lang('messages.description')</th>
<th>@lang('messages.name')</th>
@if (auth()->user()->hasRole(\App\Enums\User\RoleEnum::SUPERVISOR->value)) @if (auth()->user()->hasRole(\App\Enums\User\RoleEnum::SUPERVISOR->value))
<th>@lang('messages.created_by')</th> <th>@lang('messages.created_by')</th>
@endif @endif
@ -437,6 +438,7 @@
] ]
}); });
//form collaborate //form collaborate
$(document).on('click', '.collab_btn', function() { $(document).on('click', '.collab_btn', function() {
var url = $(this).data('href'); var url = $(this).data('href');