refx
This commit is contained in:
parent
f9491b306f
commit
0870b54855
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
use App\DAL\Studies\WorklistFactory;
|
use App\DAL\Studies\WorklistFactory;
|
||||||
use App\Models\Study;
|
use App\Models\Study;
|
||||||
use Blade;
|
use Illuminate\Support\Facades\Blade;
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use Carbon\CarbonImmutable;
|
use Carbon\CarbonImmutable;
|
||||||
use Illuminate\Database\Eloquent\Builder as QueryBuilder;
|
use Illuminate\Database\Eloquent\Builder as QueryBuilder;
|
||||||
|
@ -32,6 +32,9 @@ class User extends Authenticatable
|
|||||||
use Notifiable;
|
use Notifiable;
|
||||||
use TwoFactorAuthenticatable;
|
use TwoFactorAuthenticatable;
|
||||||
|
|
||||||
|
|
||||||
|
public array $info = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The attributes that are mass assignable.
|
* The attributes that are mass assignable.
|
||||||
*
|
*
|
||||||
@ -151,6 +154,4 @@ protected function casts(): array
|
|||||||
'password' => 'hashed',
|
'password' => 'hashed',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
public array $info = [];
|
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<div class="d-flex flex-column">
|
<div class="d-flex flex-column">
|
||||||
<span class="text-truncate fw-semibold mb-0">
|
<span class="text-truncate fw-semibold mb-0">
|
||||||
{{ $doc->display_name }}
|
{{ $doc->display_name }}
|
||||||
@if($study->isAssigned($doc->id))
|
@if ($study->isAssigned($doc->id))
|
||||||
<span class="badge bg-success badge-dot ms-2"></span>
|
<span class="badge bg-success badge-dot ms-2"></span>
|
||||||
@endif
|
@endif
|
||||||
</span>
|
</span>
|
||||||
@ -47,7 +47,7 @@
|
|||||||
{{ $doc->info['workload'] }}
|
{{ $doc->info['workload'] }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@if($study->isAssigned($doc->id))
|
@if ($study->isAssigned($doc->id))
|
||||||
@else
|
@else
|
||||||
<form action="{{ route('staff.assign.save', $study->hash) }}" class="inline" method="post">
|
<form action="{{ route('staff.assign.save', $study->hash) }}" class="inline" method="post">
|
||||||
@csrf
|
@csrf
|
||||||
|
Loading…
Reference in New Issue
Block a user