feat: batch billing

This commit is contained in:
Jannat Patel
2024-01-23 15:33:31 +05:30
parent b07940951c
commit 9671c4d63f
154 changed files with 112825 additions and 51286 deletions

View File

@@ -78,12 +78,7 @@
</div>
</template>
<script setup>
import {
Breadcrumbs,
createDocumentResource,
createListResource,
createResource,
} from 'frappe-ui'
import { Breadcrumbs, createResource } from 'frappe-ui'
import { BookOpen, Calendar, Clock } from 'lucide-vue-next'
import { formatTime } from '../utils'
import { computed, inject } from 'vue'
@@ -110,7 +105,7 @@ const batch = createResource({
},
auto: true,
onSuccess(data) {
if (data.students?.includes(user.data.name)) {
if (data.students?.includes(user.data?.name)) {
router.push({
name: 'Batch',
params: {