display call_back_at in activity table
This commit is contained in:
parent
2cc765912e
commit
5f9d00b575
|
|
@ -28,12 +28,12 @@ class Activity extends Model
|
|||
'client_case_id',
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
/*protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'call_back_at' => 'datetime',
|
||||
];
|
||||
}
|
||||
}*/
|
||||
|
||||
protected $hidden = [
|
||||
'action_id',
|
||||
|
|
|
|||
|
|
@ -741,8 +741,16 @@ const copyToClipboard = async (text) => {
|
|||
<span class="text-gray-500">D:</span>
|
||||
<span class="ml-1">{{ fmtDate(row.due_date) }}</span>
|
||||
</div>
|
||||
<div v-if="row.call_back_at" class="leading-tight">
|
||||
<span class="text-gray-500">K:</span>
|
||||
<span class="ml-1">{{ fmtDateTime(row.call_back_at) }}</span>
|
||||
</div>
|
||||
<div
|
||||
v-if="!row.due_date && (!row.amount || Number(row.amount) === 0)"
|
||||
v-if="
|
||||
!row.due_date &&
|
||||
(!row.amount || Number(row.amount) === 0) &&
|
||||
!row.call_back_at
|
||||
"
|
||||
class="text-gray-400"
|
||||
>
|
||||
—
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user