cloud-ide-fees 0.0.29 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/cloud-ide-fees.mjs +6727 -5388
- package/fesm2022/cloud-ide-fees.mjs.map +1 -1
- package/index.d.ts +193 -114
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4,8 +4,7 @@ import { Route } from '@angular/router';
|
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { MFeeStructure, feeStructureControllerResponse, MFeeStructureGetByIdPayload, feeStructureByIdControllerResponse, FeeStructureSaveUpdatePayload, feeStructureInsertUpdateControllerResponse, MFeeStructureDeletePayload, feeStructureDeleteControllerResponse, MFeeStructureToggleStatusPayload, feeStructureToggleStatusControllerResponse, FeeStructureResponse, AcaClassProgramMasterResponse, ICoreSygms, selectSearchType, FeeStructureItem, MFeePayment, feePaymentControllerResponse, MFeePaymentGetByIdPayload, feePaymentByIdControllerResponse, MFeePaymentInsertUpdatePayload, feePaymentInsertUpdateControllerResponse, MFeePaymentDeletePayload, feePaymentDeleteControllerResponse, FeePayment, MFeeReceiptTemplate, feeReceiptTemplateControllerResponse, MFeeReceiptTemplateGetByIdPayload, feeReceiptTemplateByIdControllerResponse, MFeeReceiptTemplateInsertUpdatePayload, feeReceiptTemplateInsertUpdateControllerResponse, MFeeReceiptTemplateDeletePayload, feeReceiptTemplateDeleteControllerResponse, MFeeReceiptTemplateToggleStatusPayload, feeReceiptTemplateToggleStatusControllerResponse, FeeReceiptTemplate } from 'cloud-ide-lms-model';
|
|
6
6
|
import { TemplateContext, GridConfiguration, GridEvent, DropdownConfig, DropdownItem, TabItem, SelectOption as SelectOption$1 } from 'cloud-ide-element';
|
|
7
|
-
import
|
|
8
|
-
import { FormGroup, FormArray, FormControl } from '@angular/forms';
|
|
7
|
+
import { FormGroup, FormArray } from '@angular/forms';
|
|
9
8
|
import { SafeHtml } from '@angular/platform-browser';
|
|
10
9
|
import { CideLytSharedWrapperComponent, CideLytSharedWrapperSetupParam } from 'cloud-ide-layout';
|
|
11
10
|
|
|
@@ -158,12 +157,6 @@ interface Entity$1 {
|
|
|
158
157
|
syen_name?: string;
|
|
159
158
|
syen_code?: string;
|
|
160
159
|
}
|
|
161
|
-
interface AcademicYear$1 {
|
|
162
|
-
_id?: string;
|
|
163
|
-
acayr_name?: string;
|
|
164
|
-
acayr_code?: string;
|
|
165
|
-
acayr_iscurrent?: boolean;
|
|
166
|
-
}
|
|
167
160
|
interface SelectOption {
|
|
168
161
|
value: string | number;
|
|
169
162
|
label: string;
|
|
@@ -174,7 +167,6 @@ declare class FeeStructureCreateComponent implements OnInit, OnDestroy {
|
|
|
174
167
|
private readonly fb;
|
|
175
168
|
private readonly feeStructureService;
|
|
176
169
|
private readonly entityService;
|
|
177
|
-
private readonly academicYearService;
|
|
178
170
|
private readonly classProgramMasterService;
|
|
179
171
|
private readonly programTermSectionService;
|
|
180
172
|
private readonly generalMasterService;
|
|
@@ -199,9 +191,7 @@ declare class FeeStructureCreateComponent implements OnInit, OnDestroy {
|
|
|
199
191
|
url?: string;
|
|
200
192
|
}[]>;
|
|
201
193
|
readonly entityOptions: _angular_core.WritableSignal<Entity$1[]>;
|
|
202
|
-
readonly academicYearOptions: _angular_core.WritableSignal<AcademicYear$1[]>;
|
|
203
194
|
readonly entityLoading: _angular_core.WritableSignal<boolean>;
|
|
204
|
-
readonly academicYearLoading: _angular_core.WritableSignal<boolean>;
|
|
205
195
|
readonly classProgramMasters: _angular_core.WritableSignal<AcaClassProgramMasterResponse[]>;
|
|
206
196
|
readonly classProgramMastersLoading: _angular_core.WritableSignal<boolean>;
|
|
207
197
|
readonly classProgramMastersOptions: _angular_core.Signal<SelectOption[]>;
|
|
@@ -376,12 +366,9 @@ declare class FeeStructureCreateComponent implements OnInit, OnDestroy {
|
|
|
376
366
|
label: string;
|
|
377
367
|
}>;
|
|
378
368
|
/**
|
|
379
|
-
* Get academic year
|
|
369
|
+
* Get academic year name from app state
|
|
380
370
|
*/
|
|
381
|
-
|
|
382
|
-
value: string;
|
|
383
|
-
label: string;
|
|
384
|
-
}>;
|
|
371
|
+
getAcademicYearName(): string;
|
|
385
372
|
/**
|
|
386
373
|
* Format currency
|
|
387
374
|
*/
|
|
@@ -396,7 +383,7 @@ declare class FeeStructureCreateComponent implements OnInit, OnDestroy {
|
|
|
396
383
|
|
|
397
384
|
interface FeeAssignment {
|
|
398
385
|
_id?: string;
|
|
399
|
-
|
|
386
|
+
feeas_student_id_auth?: string | {
|
|
400
387
|
_id?: string;
|
|
401
388
|
name?: string;
|
|
402
389
|
class?: string;
|
|
@@ -409,7 +396,9 @@ interface FeeAssignment {
|
|
|
409
396
|
feeas_fee_structure_item_id_feesi?: string;
|
|
410
397
|
feeas_academic_year_id_acayr?: string;
|
|
411
398
|
feeas_entity_id_syen?: string;
|
|
412
|
-
feeas_fee_category_sygms?:
|
|
399
|
+
feeas_fee_category_sygms?: any;
|
|
400
|
+
feeas_class_program_id_acacpm?: any;
|
|
401
|
+
feeas_section_id_acapts?: any;
|
|
413
402
|
feeas_fee_name?: string;
|
|
414
403
|
feeas_fee_description?: string;
|
|
415
404
|
feeas_fee_type?: string;
|
|
@@ -419,6 +408,7 @@ interface FeeAssignment {
|
|
|
419
408
|
feeas_scholarship_amount?: number;
|
|
420
409
|
feeas_tax_amount?: number;
|
|
421
410
|
feeas_final_amount?: number;
|
|
411
|
+
feeas_total_amount?: number;
|
|
422
412
|
feeas_due_date?: Date;
|
|
423
413
|
feeas_collection_start_date?: Date;
|
|
424
414
|
feeas_collection_end_date?: Date;
|
|
@@ -426,9 +416,10 @@ interface FeeAssignment {
|
|
|
426
416
|
feeas_status?: 'PENDING' | 'PARTIALLY_PAID' | 'PAID' | 'WAIVED' | 'CANCELLED';
|
|
427
417
|
feeas_amount_paid?: number;
|
|
428
418
|
feeas_amount_remaining?: number;
|
|
419
|
+
feeas_outstanding_amount?: number;
|
|
429
420
|
feeas_late_fee_applied?: number;
|
|
430
421
|
feeas_remarks?: string;
|
|
431
|
-
|
|
422
|
+
feeas_isactive?: boolean;
|
|
432
423
|
feeas_assigned_by_user?: string;
|
|
433
424
|
feeas_assigned_at?: Date;
|
|
434
425
|
feeas_updated_at?: Date;
|
|
@@ -440,13 +431,13 @@ interface FeeAssignment {
|
|
|
440
431
|
}
|
|
441
432
|
interface FeeAssignmentListPayload extends MFeeStructure {
|
|
442
433
|
feeas_id?: string;
|
|
443
|
-
|
|
434
|
+
feeas_student_id_auth?: string;
|
|
444
435
|
feeas_fee_structure_id_feest?: string;
|
|
445
436
|
feeas_status?: string;
|
|
446
437
|
}
|
|
447
438
|
interface FeeAssignmentInsertUpdatePayload {
|
|
448
439
|
_id?: string;
|
|
449
|
-
|
|
440
|
+
feeas_student_id_auth?: string;
|
|
450
441
|
feeas_fee_structure_id_feest?: string;
|
|
451
442
|
feeas_fee_structure_item_id_feesi?: string;
|
|
452
443
|
feeas_academic_year_id_acayr?: string;
|
|
@@ -467,7 +458,7 @@ interface FeeAssignmentInsertUpdatePayload {
|
|
|
467
458
|
feeas_installment_count?: number;
|
|
468
459
|
feeas_status?: 'PENDING' | 'PARTIALLY_PAID' | 'PAID' | 'WAIVED' | 'CANCELLED';
|
|
469
460
|
feeas_remarks?: string;
|
|
470
|
-
|
|
461
|
+
feeas_isactive?: boolean;
|
|
471
462
|
}
|
|
472
463
|
interface FeeAssignmentControllerResponse {
|
|
473
464
|
success: boolean;
|
|
@@ -488,6 +479,9 @@ interface FeeAssignmentInsertUpdateControllerResponse {
|
|
|
488
479
|
data: FeeAssignment;
|
|
489
480
|
message?: string;
|
|
490
481
|
}
|
|
482
|
+
interface FeeAssignmentDeletePayload {
|
|
483
|
+
feeas_id: string;
|
|
484
|
+
}
|
|
491
485
|
interface FeeAssignmentDeleteControllerResponse {
|
|
492
486
|
success: boolean;
|
|
493
487
|
code: number;
|
|
@@ -531,13 +525,14 @@ declare class CideFeeFeeAssignmentService {
|
|
|
531
525
|
|
|
532
526
|
interface FeeAssignmentData {
|
|
533
527
|
_id?: string;
|
|
534
|
-
|
|
528
|
+
feeas_student_id_auth?: string;
|
|
535
529
|
student_name?: string;
|
|
536
530
|
student_id?: string;
|
|
537
531
|
class?: string;
|
|
538
532
|
section?: string;
|
|
539
533
|
fee_structure_name?: string;
|
|
540
534
|
feeas_amount_original?: number;
|
|
535
|
+
feeas_amount_discount?: number;
|
|
541
536
|
feeas_amount_paid?: number;
|
|
542
537
|
feeas_amount_remaining?: number;
|
|
543
538
|
feeas_due_date?: Date;
|
|
@@ -551,10 +546,13 @@ declare class FeeAssignmentListComponent implements OnInit, OnDestroy {
|
|
|
551
546
|
private readonly notificationService;
|
|
552
547
|
private readonly academicYearService;
|
|
553
548
|
private readonly classProgramService;
|
|
549
|
+
private readonly programTermSectionService;
|
|
554
550
|
private readonly feeAssignmentService;
|
|
555
551
|
private readonly rightsService;
|
|
552
|
+
private readonly appStateService;
|
|
556
553
|
readonly studentDetailsRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
|
|
557
554
|
readonly amountRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
|
|
555
|
+
readonly dateRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
|
|
558
556
|
readonly statusRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
|
|
559
557
|
readonly actionsDropdownRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
|
|
560
558
|
readonly breadcrumbData: _angular_core.WritableSignal<{
|
|
@@ -610,6 +608,7 @@ declare class FeeAssignmentListComponent implements OnInit, OnDestroy {
|
|
|
610
608
|
onStatusFilterChange(value: string | number | string[] | null | undefined): void;
|
|
611
609
|
onAcademicYearFilterChange(value: string | number | string[] | null | undefined): void;
|
|
612
610
|
onClassFilterChange(value: string | number | string[] | null | undefined): void;
|
|
611
|
+
loadSections(): void;
|
|
613
612
|
onSectionFilterChange(value: string | number | string[] | null | undefined): void;
|
|
614
613
|
clearFilters(): void;
|
|
615
614
|
navigateToAssign(): void;
|
|
@@ -625,34 +624,40 @@ declare class FeeAssignmentListComponent implements OnInit, OnDestroy {
|
|
|
625
624
|
formatDate(date: string | Date | null | undefined): string;
|
|
626
625
|
getStatusBadgeClass(assignment: FeeAssignmentData): string;
|
|
627
626
|
getStatusText(assignment: FeeAssignmentData): string;
|
|
627
|
+
private formatClassDetails;
|
|
628
628
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeeAssignmentListComponent, never>;
|
|
629
629
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeeAssignmentListComponent, "cide-fee-assignment-list", never, {}, {}, never, never, true, never>;
|
|
630
630
|
}
|
|
631
631
|
|
|
632
|
+
type ApplicableFeeItem = FeeStructureResponse & {
|
|
633
|
+
fees_structure_name?: string;
|
|
634
|
+
fees_category_name?: string;
|
|
635
|
+
fees_total_amount?: number;
|
|
636
|
+
fees_amount?: number;
|
|
637
|
+
fees_structure_id?: string;
|
|
638
|
+
_feeItemData?: FeeStructureItem | any;
|
|
639
|
+
discount?: number;
|
|
640
|
+
scholarship?: number;
|
|
641
|
+
final_amount?: number;
|
|
642
|
+
is_assigned?: boolean;
|
|
643
|
+
};
|
|
644
|
+
|
|
632
645
|
interface Entity {
|
|
633
646
|
_id?: string;
|
|
634
647
|
syen_name?: string;
|
|
635
648
|
syen_code?: string;
|
|
636
649
|
}
|
|
637
|
-
interface AcademicYear {
|
|
638
|
-
_id?: string;
|
|
639
|
-
acayr_name?: string;
|
|
640
|
-
acayr_code?: string;
|
|
641
|
-
}
|
|
642
650
|
interface LocalFeeStructure {
|
|
643
651
|
_id?: string;
|
|
644
652
|
fees_structure_name?: string;
|
|
645
653
|
fees_structure_code?: string;
|
|
646
654
|
}
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
discount_amount?: number;
|
|
654
|
-
scholarship_amount?: number;
|
|
655
|
-
};
|
|
655
|
+
interface StudentDisplay {
|
|
656
|
+
name: string;
|
|
657
|
+
student_id: string;
|
|
658
|
+
class: string;
|
|
659
|
+
section: string;
|
|
660
|
+
}
|
|
656
661
|
declare class FeeAssignmentCreateComponent implements OnInit, OnDestroy {
|
|
657
662
|
private readonly destroyRef;
|
|
658
663
|
private readonly fb;
|
|
@@ -664,7 +669,9 @@ declare class FeeAssignmentCreateComponent implements OnInit, OnDestroy {
|
|
|
664
669
|
private readonly academicYearService;
|
|
665
670
|
private readonly feeStructureService;
|
|
666
671
|
private readonly feeAssignmentService;
|
|
672
|
+
private readonly userMasterService;
|
|
667
673
|
private readonly componentContextService;
|
|
674
|
+
private readonly appStateService;
|
|
668
675
|
assignmentForm: FormGroup;
|
|
669
676
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
670
677
|
readonly submitting: _angular_core.WritableSignal<boolean>;
|
|
@@ -678,15 +685,12 @@ declare class FeeAssignmentCreateComponent implements OnInit, OnDestroy {
|
|
|
678
685
|
url?: string;
|
|
679
686
|
}[]>;
|
|
680
687
|
readonly entityOptions: _angular_core.WritableSignal<Entity[]>;
|
|
681
|
-
readonly academicYearOptions: _angular_core.WritableSignal<AcademicYear[]>;
|
|
682
688
|
readonly feeStructureOptions: _angular_core.WritableSignal<LocalFeeStructure[]>;
|
|
683
689
|
readonly entityLoading: _angular_core.WritableSignal<boolean>;
|
|
684
|
-
readonly academicYearLoading: _angular_core.WritableSignal<boolean>;
|
|
685
690
|
readonly feeStructureLoading: _angular_core.WritableSignal<boolean>;
|
|
686
|
-
readonly
|
|
687
|
-
readonly
|
|
688
|
-
readonly
|
|
689
|
-
readonly scholarshipControls: _angular_core.WritableSignal<Map<string, FormControl<any>>>;
|
|
691
|
+
readonly selectedFeeItems: _angular_core.WritableSignal<ApplicableFeeItem[]>;
|
|
692
|
+
readonly triggerLoad: _angular_core.WritableSignal<boolean>;
|
|
693
|
+
readonly selectedStudent: _angular_core.WritableSignal<StudentDisplay | null>;
|
|
690
694
|
readonly feeSourceOptions: {
|
|
691
695
|
value: string;
|
|
692
696
|
label: string;
|
|
@@ -711,7 +715,12 @@ declare class FeeAssignmentCreateComponent implements OnInit, OnDestroy {
|
|
|
711
715
|
private loadDropdownOptions;
|
|
712
716
|
private loadFeeStructures;
|
|
713
717
|
private loadAssignmentData;
|
|
714
|
-
|
|
718
|
+
private loadStudentDetails;
|
|
719
|
+
readonly studentListOptions: _angular_core.WritableSignal<{
|
|
720
|
+
label: string;
|
|
721
|
+
value: string;
|
|
722
|
+
}[]>;
|
|
723
|
+
onStudentSearch(event: any): void;
|
|
715
724
|
/**
|
|
716
725
|
* Handler for program section selector value changes
|
|
717
726
|
*/
|
|
@@ -721,61 +730,15 @@ declare class FeeAssignmentCreateComponent implements OnInit, OnDestroy {
|
|
|
721
730
|
termId?: string | null;
|
|
722
731
|
sectionId?: string | null;
|
|
723
732
|
}): void;
|
|
733
|
+
onFeesCalculated(data: {
|
|
734
|
+
fees: ApplicableFeeItem[];
|
|
735
|
+
}): void;
|
|
724
736
|
/**
|
|
725
737
|
* Load applicable fees based on selected program/term/section
|
|
726
738
|
*/
|
|
727
|
-
loadApplicableFees(): void;
|
|
728
|
-
/**
|
|
729
|
-
* Get discount control for a fee item
|
|
730
|
-
*/
|
|
731
|
-
getDiscountControl(feeId: string): FormControl;
|
|
732
|
-
/**
|
|
733
|
-
* Get scholarship control for a fee item
|
|
734
|
-
*/
|
|
735
|
-
getScholarshipControl(feeId: string): FormControl;
|
|
736
|
-
/**
|
|
737
|
-
* Get fee ID for tracking
|
|
738
|
-
*/
|
|
739
|
-
getFeeId(fee: FeeAssignmentFeeItem): string;
|
|
740
|
-
/**
|
|
741
|
-
* Get fee name
|
|
742
|
-
*/
|
|
743
|
-
getFeeName(fee: FeeAssignmentFeeItem): string;
|
|
744
|
-
/**
|
|
745
|
-
* Get fee category
|
|
746
|
-
*/
|
|
747
|
-
getFeeCategory(fee: FeeAssignmentFeeItem): string;
|
|
748
|
-
/**
|
|
749
|
-
* Get fee amount
|
|
750
|
-
*/
|
|
751
|
-
getFeeAmount(fee: FeeAssignmentFeeItem): number;
|
|
752
|
-
/**
|
|
753
|
-
* Calculate final amount for a fee item
|
|
754
|
-
*/
|
|
755
|
-
calculateFinalAmount(fee: FeeAssignmentFeeItem): number;
|
|
756
|
-
/**
|
|
757
|
-
* Calculate total original amount
|
|
758
|
-
*/
|
|
759
|
-
totalOriginalAmount: _angular_core.Signal<number>;
|
|
760
|
-
/**
|
|
761
|
-
* Calculate total discount
|
|
762
|
-
*/
|
|
763
|
-
totalDiscount: _angular_core.Signal<number>;
|
|
764
|
-
/**
|
|
765
|
-
* Calculate total scholarship
|
|
766
|
-
*/
|
|
767
|
-
totalScholarship: _angular_core.Signal<number>;
|
|
768
|
-
/**
|
|
769
|
-
* Calculate total final amount
|
|
770
|
-
*/
|
|
771
|
-
totalFinalAmount: _angular_core.Signal<number>;
|
|
772
739
|
onSubmit(): void;
|
|
773
740
|
resetForm(): void;
|
|
774
741
|
onCancel(): void;
|
|
775
|
-
getAcademicYearOptions(): Array<{
|
|
776
|
-
value: string;
|
|
777
|
-
label: string;
|
|
778
|
-
}>;
|
|
779
742
|
getFeeStructureOptions(): Array<{
|
|
780
743
|
value: string;
|
|
781
744
|
label: string;
|
|
@@ -840,6 +803,13 @@ declare class FeePaymentListComponent implements OnInit, OnDestroy {
|
|
|
840
803
|
private readonly confirmationService;
|
|
841
804
|
private readonly notificationService;
|
|
842
805
|
private readonly rightsService;
|
|
806
|
+
private readonly appStateService;
|
|
807
|
+
readonly breadcrumbData: _angular_core.WritableSignal<{
|
|
808
|
+
id: string;
|
|
809
|
+
label: string;
|
|
810
|
+
icon?: string;
|
|
811
|
+
url?: string;
|
|
812
|
+
}[]>;
|
|
843
813
|
readonly paymentDetailsRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
|
|
844
814
|
readonly amountRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
|
|
845
815
|
readonly statusRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
|
|
@@ -862,6 +832,7 @@ declare class FeePaymentListComponent implements OnInit, OnDestroy {
|
|
|
862
832
|
canDelete: _angular_core.Signal<boolean>;
|
|
863
833
|
canView: _angular_core.Signal<boolean>;
|
|
864
834
|
ngOnInit(): void;
|
|
835
|
+
private initializeBreadcrumbData;
|
|
865
836
|
ngOnDestroy(): void;
|
|
866
837
|
loadFeePayments(): void;
|
|
867
838
|
templateRenderers: _angular_core.Signal<Record<string, TemplateRef<TemplateContext<Record<string, unknown>>>>>;
|
|
@@ -902,6 +873,7 @@ interface Student {
|
|
|
902
873
|
student_id: string;
|
|
903
874
|
class?: string;
|
|
904
875
|
section?: string;
|
|
876
|
+
academic_year_id?: string;
|
|
905
877
|
}
|
|
906
878
|
declare class FeePaymentProcessComponent implements OnInit {
|
|
907
879
|
private readonly destroyRef;
|
|
@@ -909,9 +881,12 @@ declare class FeePaymentProcessComponent implements OnInit {
|
|
|
909
881
|
private readonly router;
|
|
910
882
|
private readonly feePaymentService;
|
|
911
883
|
private readonly feeAssignmentService;
|
|
884
|
+
private readonly userMasterService;
|
|
912
885
|
private readonly notificationService;
|
|
913
886
|
private readonly confirmationService;
|
|
914
887
|
private readonly rightsService;
|
|
888
|
+
private readonly appStateService;
|
|
889
|
+
private readonly generalMasterService;
|
|
915
890
|
paymentForm: FormGroup;
|
|
916
891
|
loading: _angular_core.WritableSignal<boolean>;
|
|
917
892
|
submitting: _angular_core.WritableSignal<boolean>;
|
|
@@ -919,30 +894,60 @@ declare class FeePaymentProcessComponent implements OnInit {
|
|
|
919
894
|
outstandingFees: _angular_core.WritableSignal<OutstandingFee$1[]>;
|
|
920
895
|
showChequeDetails: _angular_core.WritableSignal<boolean>;
|
|
921
896
|
showBankDetails: _angular_core.WritableSignal<boolean>;
|
|
922
|
-
readonly
|
|
897
|
+
readonly selectTemplate: _angular_core.Signal<TemplateRef<TemplateContext<OutstandingFee$1>> | undefined>;
|
|
898
|
+
readonly amountPaidTemplate: _angular_core.Signal<TemplateRef<TemplateContext<OutstandingFee$1>> | undefined>;
|
|
899
|
+
readonly outstandingTemplate: _angular_core.Signal<TemplateRef<TemplateContext<OutstandingFee$1>> | undefined>;
|
|
900
|
+
readonly dateTemplate: _angular_core.Signal<TemplateRef<TemplateContext<OutstandingFee$1>> | undefined>;
|
|
901
|
+
readonly templateRenderers: _angular_core.Signal<{
|
|
902
|
+
selectRenderer: TemplateRef<TemplateContext<OutstandingFee$1>> | undefined;
|
|
903
|
+
amountPaidRenderer: TemplateRef<TemplateContext<OutstandingFee$1>> | undefined;
|
|
904
|
+
outstandingRenderer: TemplateRef<TemplateContext<OutstandingFee$1>> | undefined;
|
|
905
|
+
dateRenderer: TemplateRef<TemplateContext<OutstandingFee$1>> | undefined;
|
|
906
|
+
}>;
|
|
907
|
+
readonly gridConfig: _angular_core.Signal<GridConfiguration<OutstandingFee$1>>;
|
|
908
|
+
readonly formValues: _angular_core.Signal<any>;
|
|
909
|
+
readonly breadcrumbData: _angular_core.WritableSignal<{
|
|
910
|
+
id: string;
|
|
911
|
+
label: string;
|
|
912
|
+
icon?: string;
|
|
913
|
+
url?: string;
|
|
914
|
+
}[]>;
|
|
915
|
+
readonly paymentMethodOptions: _angular_core.WritableSignal<{
|
|
916
|
+
label: string;
|
|
923
917
|
value: string;
|
|
918
|
+
}[]>;
|
|
919
|
+
private readonly paymentMethodsRaw;
|
|
920
|
+
private readonly paymentStatusesRaw;
|
|
921
|
+
readonly studentListOptions: _angular_core.WritableSignal<{
|
|
924
922
|
label: string;
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
readonly
|
|
928
|
-
readonly
|
|
929
|
-
readonly
|
|
930
|
-
readonly
|
|
923
|
+
value: string;
|
|
924
|
+
}[]>;
|
|
925
|
+
readonly selectedFeeItems: _angular_core.Signal<any>;
|
|
926
|
+
readonly totalFeeAmount: _angular_core.Signal<any>;
|
|
927
|
+
readonly totalLateFee: _angular_core.Signal<any>;
|
|
928
|
+
readonly totalPenalty: _angular_core.Signal<any>;
|
|
929
|
+
readonly totalPayable: _angular_core.Signal<any>;
|
|
931
930
|
get feeItemsArray(): FormArray;
|
|
932
931
|
ngOnInit(): void;
|
|
932
|
+
private loadPaymentStatusMasters;
|
|
933
|
+
private loadPaymentMethodMasters;
|
|
934
|
+
private setupFormListeners;
|
|
933
935
|
private setupPaymentMethodListener;
|
|
934
|
-
onStudentSearch(
|
|
936
|
+
onStudentSearch(event: any): void;
|
|
937
|
+
private onSearchStudents;
|
|
938
|
+
onStudentSelect(event: any): void;
|
|
939
|
+
private loadStudentDetails;
|
|
935
940
|
private loadOutstandingFees;
|
|
936
941
|
private initializeFeeItems;
|
|
937
|
-
|
|
942
|
+
toggleFeeItem(index: number): void;
|
|
938
943
|
selectAllFees(): void;
|
|
939
944
|
clearAllFees(): void;
|
|
940
|
-
|
|
941
|
-
onAmountChange(index: number, value: string | number | boolean | null | undefined): void;
|
|
945
|
+
onAmountChange(index: number, value: any): void;
|
|
942
946
|
onSubmit(): void;
|
|
943
947
|
onCancel(): void;
|
|
944
948
|
formatCurrency(amount: number): string;
|
|
945
949
|
isOverdue(date: Date): boolean;
|
|
950
|
+
private updateBreadcrumbData;
|
|
946
951
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeePaymentProcessComponent, never>;
|
|
947
952
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeePaymentProcessComponent, "cide-fee-payment-process", never, {}, {}, never, never, true, never>;
|
|
948
953
|
}
|
|
@@ -1279,6 +1284,50 @@ declare class MyOnlinePaymentComponent implements OnInit {
|
|
|
1279
1284
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MyOnlinePaymentComponent, "cide-my-online-payment", never, {}, {}, never, never, true, never>;
|
|
1280
1285
|
}
|
|
1281
1286
|
|
|
1287
|
+
interface PartialFeeStructureItem {
|
|
1288
|
+
feesi_item_name?: string;
|
|
1289
|
+
feesi_item_code?: string;
|
|
1290
|
+
feesi_description?: string;
|
|
1291
|
+
feesi_amount?: number;
|
|
1292
|
+
feesi_category_id_sygms?: {
|
|
1293
|
+
sygms_title?: string;
|
|
1294
|
+
sygms_name?: string;
|
|
1295
|
+
_id?: string;
|
|
1296
|
+
} | string | null;
|
|
1297
|
+
feesi_is_mandatory?: boolean;
|
|
1298
|
+
feesi_is_refundable?: boolean;
|
|
1299
|
+
feesi_is_amount_editable?: boolean;
|
|
1300
|
+
feesi_min_amount?: number;
|
|
1301
|
+
feesi_max_amount?: number;
|
|
1302
|
+
feesi_tax_applicable?: boolean;
|
|
1303
|
+
feesi_tax_percentage?: number;
|
|
1304
|
+
feesi_is_installment_allowed?: boolean;
|
|
1305
|
+
feesi_installment_count?: number;
|
|
1306
|
+
feesi_due_date_offset_days?: number;
|
|
1307
|
+
feesi_collection_start_offset_days?: number;
|
|
1308
|
+
feesi_collection_end_offset_days?: number;
|
|
1309
|
+
feesi_display_order?: number;
|
|
1310
|
+
}
|
|
1311
|
+
interface PartialFeeAssignment {
|
|
1312
|
+
_id?: string;
|
|
1313
|
+
fee_structure_name?: string;
|
|
1314
|
+
feeas_fee_structure_id_feest?: {
|
|
1315
|
+
fees_structure_name?: string;
|
|
1316
|
+
} | string | null;
|
|
1317
|
+
feeas_fee_category_sygms?: string | null;
|
|
1318
|
+
feeas_fee_name?: string;
|
|
1319
|
+
feeas_fee_description?: string;
|
|
1320
|
+
feeas_original_amount?: number;
|
|
1321
|
+
feeas_total_amount?: number;
|
|
1322
|
+
feeas_final_amount?: number;
|
|
1323
|
+
feeas_discount_amount?: number;
|
|
1324
|
+
feeas_scholarship_amount?: number;
|
|
1325
|
+
feeas_assignment_date?: Date | string;
|
|
1326
|
+
feeas_installment_count?: number;
|
|
1327
|
+
feeas_due_date?: Date | string;
|
|
1328
|
+
feeas_collection_start_date?: Date | string;
|
|
1329
|
+
feeas_collection_end_date?: Date | string;
|
|
1330
|
+
}
|
|
1282
1331
|
type FeeDetailsData = {
|
|
1283
1332
|
_id?: string;
|
|
1284
1333
|
fees_structure_name?: string;
|
|
@@ -1287,17 +1336,42 @@ type FeeDetailsData = {
|
|
|
1287
1336
|
fees_amount?: number;
|
|
1288
1337
|
fees_total_amount?: number;
|
|
1289
1338
|
discount?: number;
|
|
1339
|
+
scholarship?: number;
|
|
1290
1340
|
finalAmount?: number;
|
|
1291
|
-
_feeItemData?:
|
|
1292
|
-
_feeAssignmentData?:
|
|
1341
|
+
_feeItemData?: PartialFeeStructureItem;
|
|
1342
|
+
_feeAssignmentData?: PartialFeeAssignment;
|
|
1343
|
+
feesi_item_name?: string;
|
|
1344
|
+
feesi_item_code?: string;
|
|
1345
|
+
feesi_amount?: number;
|
|
1346
|
+
feesi_description?: string;
|
|
1347
|
+
feesi_category_id_sygms?: {
|
|
1348
|
+
sygms_title?: string;
|
|
1349
|
+
sygms_name?: string;
|
|
1350
|
+
_id?: string;
|
|
1351
|
+
} | string | null;
|
|
1293
1352
|
};
|
|
1294
1353
|
declare class FeeDetailsViewerComponent implements OnInit, OnDestroy {
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1354
|
+
private _isOpen;
|
|
1355
|
+
set isOpen(value: boolean);
|
|
1356
|
+
get isOpen(): boolean;
|
|
1357
|
+
private _studentId;
|
|
1358
|
+
set studentId(value: string | null);
|
|
1359
|
+
get studentId(): string | null;
|
|
1360
|
+
private _feeId;
|
|
1361
|
+
set feeId(value: string | null);
|
|
1362
|
+
get feeId(): string | null;
|
|
1363
|
+
private _feeData;
|
|
1364
|
+
set feeData(value: FeeDetailsData | null);
|
|
1365
|
+
get feeData(): FeeDetailsData | null;
|
|
1366
|
+
private _assignmentDate;
|
|
1367
|
+
set assignmentDate(value: Date | null);
|
|
1368
|
+
get assignmentDate(): Date | null;
|
|
1369
|
+
private _discount;
|
|
1370
|
+
set discount(value: number);
|
|
1371
|
+
get discount(): number;
|
|
1372
|
+
private _scholarship;
|
|
1373
|
+
set scholarship(value: number);
|
|
1374
|
+
get scholarship(): number;
|
|
1301
1375
|
closed: _angular_core.OutputEmitterRef<void>;
|
|
1302
1376
|
private readonly destroyRef;
|
|
1303
1377
|
private readonly feeStructureService;
|
|
@@ -1307,7 +1381,12 @@ declare class FeeDetailsViewerComponent implements OnInit, OnDestroy {
|
|
|
1307
1381
|
loading: _angular_core.WritableSignal<boolean>;
|
|
1308
1382
|
error: _angular_core.WritableSignal<string | null>;
|
|
1309
1383
|
feeDetails: _angular_core.WritableSignal<any>;
|
|
1384
|
+
constructor();
|
|
1310
1385
|
ngOnInit(): void;
|
|
1386
|
+
/**
|
|
1387
|
+
* Helper to get value from input (handles signals and plain values)
|
|
1388
|
+
* This helper is no longer needed as getters now return unwrapped values.
|
|
1389
|
+
*/
|
|
1311
1390
|
private loadFeeDetails;
|
|
1312
1391
|
ngOnDestroy(): void;
|
|
1313
1392
|
private loadFeeAssignment;
|
|
@@ -1322,8 +1401,8 @@ declare class FeeDetailsViewerComponent implements OnInit, OnDestroy {
|
|
|
1322
1401
|
private calculateAndSetFeeDetails;
|
|
1323
1402
|
onClose(): void;
|
|
1324
1403
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeeDetailsViewerComponent, never>;
|
|
1325
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeeDetailsViewerComponent, "cide-fee-details-viewer", never, { "isOpen": { "alias": "isOpen"; "required": false;
|
|
1404
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeeDetailsViewerComponent, "cide-fee-details-viewer", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "studentId": { "alias": "studentId"; "required": false; }; "feeId": { "alias": "feeId"; "required": false; }; "feeData": { "alias": "feeData"; "required": false; }; "assignmentDate": { "alias": "assignmentDate"; "required": false; }; "discount": { "alias": "discount"; "required": false; }; "scholarship": { "alias": "scholarship"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
|
|
1326
1405
|
}
|
|
1327
1406
|
|
|
1328
1407
|
export { CideFeeFeeAssignmentService, CideFeeFeePaymentService, CideFeeFeeStructureService, CloudIdeFees, CollectionReportComponent, DiscountRulesComponent, FeeAssignmentCreateComponent, FeeAssignmentListComponent, FeeDetailsViewerComponent, FeePaymentListComponent, FeePaymentProcessComponent, FeePaymentViewComponent, FeeStructureCreateComponent, FeeStructureListComponent, MyFeeStatementComponent, MyOnlinePaymentComponent, ReceiptTemplateService, TemplateDesignerComponent, feesRoutes };
|
|
1329
|
-
export type { FeeDetailsData };
|
|
1408
|
+
export type { FeeAssignment, FeeAssignmentByIdControllerResponse, FeeAssignmentControllerResponse, FeeAssignmentDeleteControllerResponse, FeeAssignmentDeletePayload, FeeAssignmentInsertUpdateControllerResponse, FeeAssignmentInsertUpdatePayload, FeeAssignmentListPayload, FeeDetailsData, PartialFeeAssignment, PartialFeeStructureItem };
|