style: fixed formatting
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
{{ __('Add') }}
|
{{ __('Add') }}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-2 pb-10 overflow-auto">
|
<div class="mt-2 pb-10 overflow-auto">
|
||||||
<!-- Member list -->
|
<!-- Member list -->
|
||||||
<div class="overflow-y-scroll">
|
<div class="overflow-y-scroll">
|
||||||
@@ -79,14 +79,15 @@
|
|||||||
<div v-if="member.last_active">
|
<div v-if="member.last_active">
|
||||||
{{ dayjs(member.last_active).format('DD MMM, YYYY HH:mm a') }}
|
{{ dayjs(member.last_active).format('DD MMM, YYYY HH:mm a') }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>-</div>
|
||||||
-
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="memberList.length && hasNextPage" class="flex justify-center mt-4">
|
<div
|
||||||
|
v-if="memberList.length && hasNextPage"
|
||||||
|
class="flex justify-center mt-4"
|
||||||
|
>
|
||||||
<Button @click="members.reload()">
|
<Button @click="members.reload()">
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<RefreshCw class="h-3 w-3 stroke-1.5" />
|
<RefreshCw class="h-3 w-3 stroke-1.5" />
|
||||||
|
|||||||
@@ -36,7 +36,10 @@ class LMSCertificateRequest(Document):
|
|||||||
def validate_unavailability(self):
|
def validate_unavailability(self):
|
||||||
if self.evaluator:
|
if self.evaluator:
|
||||||
unavailable = frappe.db.get_value(
|
unavailable = frappe.db.get_value(
|
||||||
"Course Evaluator", self.evaluator, ["unavailable_from", "unavailable_to"], as_dict=1
|
"Course Evaluator",
|
||||||
|
self.evaluator,
|
||||||
|
["unavailable_from", "unavailable_to"],
|
||||||
|
as_dict=1,
|
||||||
)
|
)
|
||||||
if (
|
if (
|
||||||
unavailable.unavailable_from
|
unavailable.unavailable_from
|
||||||
|
|||||||
Reference in New Issue
Block a user