cloud-ide-fees 0.0.30 → 0.0.33

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/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 * as _angular_forms from '@angular/forms';
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 options for select
369
+ * Get academic year name from app state
380
370
  */
381
- getAcademicYearOptions(): Array<{
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
- feeas_student_id?: string | {
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?: string;
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
- feeas_is_active?: boolean;
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
- feeas_student_id?: string;
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
- feeas_student_id?: string;
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
- feeas_is_active?: boolean;
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
- feeas_student_id?: string;
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
- type FeeAssignmentFeeItem = FeeStructureItem & {
648
- fees_structure_name?: string;
649
- fees_category_name?: string;
650
- fees_total_amount?: number;
651
- fees_amount?: number;
652
- fees_structure_id?: string;
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;
@@ -666,6 +671,7 @@ declare class FeeAssignmentCreateComponent implements OnInit, OnDestroy {
666
671
  private readonly feeAssignmentService;
667
672
  private readonly userMasterService;
668
673
  private readonly componentContextService;
674
+ private readonly appStateService;
669
675
  assignmentForm: FormGroup;
670
676
  readonly loading: _angular_core.WritableSignal<boolean>;
671
677
  readonly submitting: _angular_core.WritableSignal<boolean>;
@@ -679,15 +685,12 @@ declare class FeeAssignmentCreateComponent implements OnInit, OnDestroy {
679
685
  url?: string;
680
686
  }[]>;
681
687
  readonly entityOptions: _angular_core.WritableSignal<Entity[]>;
682
- readonly academicYearOptions: _angular_core.WritableSignal<AcademicYear[]>;
683
688
  readonly feeStructureOptions: _angular_core.WritableSignal<LocalFeeStructure[]>;
684
689
  readonly entityLoading: _angular_core.WritableSignal<boolean>;
685
- readonly academicYearLoading: _angular_core.WritableSignal<boolean>;
686
690
  readonly feeStructureLoading: _angular_core.WritableSignal<boolean>;
687
- readonly applicableFees: _angular_core.WritableSignal<FeeAssignmentFeeItem[]>;
688
- readonly feesLoading: _angular_core.WritableSignal<boolean>;
689
- readonly discountControls: _angular_core.WritableSignal<Map<string, FormControl<any>>>;
690
- 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>;
691
694
  readonly feeSourceOptions: {
692
695
  value: string;
693
696
  label: string;
@@ -700,6 +703,15 @@ declare class FeeAssignmentCreateComponent implements OnInit, OnDestroy {
700
703
  value: string;
701
704
  label: string;
702
705
  }[];
706
+ readonly feeSource: _angular_core.WritableSignal<string>;
707
+ readonly originalAmount: _angular_core.WritableSignal<number>;
708
+ readonly discountAmount: _angular_core.WritableSignal<number>;
709
+ readonly scholarshipAmount: _angular_core.WritableSignal<number>;
710
+ readonly classProgramId: _angular_core.WritableSignal<string>;
711
+ readonly branchId: _angular_core.WritableSignal<string>;
712
+ readonly termId: _angular_core.WritableSignal<string>;
713
+ readonly sectionId: _angular_core.WritableSignal<string>;
714
+ readonly studentId: _angular_core.WritableSignal<string>;
703
715
  readonly showCustomFeeFields: _angular_core.Signal<boolean>;
704
716
  readonly showFeeStructureField: _angular_core.Signal<boolean>;
705
717
  readonly totalAmount: _angular_core.Signal<number>;
@@ -712,9 +724,15 @@ declare class FeeAssignmentCreateComponent implements OnInit, OnDestroy {
712
724
  private loadDropdownOptions;
713
725
  private loadFeeStructures;
714
726
  private loadAssignmentData;
715
- onStudentSearch(query: string | number | boolean | null | undefined): void;
727
+ private loadStudentDetails;
728
+ readonly studentListOptions: _angular_core.WritableSignal<{
729
+ label: string;
730
+ value: string;
731
+ }[]>;
732
+ onStudentSearch(event: any): void;
716
733
  /**
717
734
  * Handler for program section selector value changes
735
+ * Note: We don't trigger load here anymore as form value changes drive the signals
718
736
  */
719
737
  onProgramSectionValuesChange(values: {
720
738
  classProgramId?: string | null;
@@ -722,61 +740,15 @@ declare class FeeAssignmentCreateComponent implements OnInit, OnDestroy {
722
740
  termId?: string | null;
723
741
  sectionId?: string | null;
724
742
  }): void;
743
+ onFeesCalculated(data: {
744
+ fees: ApplicableFeeItem[];
745
+ }): void;
725
746
  /**
726
747
  * Load applicable fees based on selected program/term/section
727
748
  */
728
- loadApplicableFees(): void;
729
- /**
730
- * Get discount control for a fee item
731
- */
732
- getDiscountControl(feeId: string): FormControl;
733
- /**
734
- * Get scholarship control for a fee item
735
- */
736
- getScholarshipControl(feeId: string): FormControl;
737
- /**
738
- * Get fee ID for tracking
739
- */
740
- getFeeId(fee: FeeAssignmentFeeItem): string;
741
- /**
742
- * Get fee name
743
- */
744
- getFeeName(fee: FeeAssignmentFeeItem): string;
745
- /**
746
- * Get fee category
747
- */
748
- getFeeCategory(fee: FeeAssignmentFeeItem): string;
749
- /**
750
- * Get fee amount
751
- */
752
- getFeeAmount(fee: FeeAssignmentFeeItem): number;
753
- /**
754
- * Calculate final amount for a fee item
755
- */
756
- calculateFinalAmount(fee: FeeAssignmentFeeItem): number;
757
- /**
758
- * Calculate total original amount
759
- */
760
- totalOriginalAmount: _angular_core.Signal<number>;
761
- /**
762
- * Calculate total discount
763
- */
764
- totalDiscount: _angular_core.Signal<number>;
765
- /**
766
- * Calculate total scholarship
767
- */
768
- totalScholarship: _angular_core.Signal<number>;
769
- /**
770
- * Calculate total final amount
771
- */
772
- totalFinalAmount: _angular_core.Signal<number>;
773
749
  onSubmit(): void;
774
750
  resetForm(): void;
775
751
  onCancel(): void;
776
- getAcademicYearOptions(): Array<{
777
- value: string;
778
- label: string;
779
- }>;
780
752
  getFeeStructureOptions(): Array<{
781
753
  value: string;
782
754
  label: string;
@@ -841,6 +813,13 @@ declare class FeePaymentListComponent implements OnInit, OnDestroy {
841
813
  private readonly confirmationService;
842
814
  private readonly notificationService;
843
815
  private readonly rightsService;
816
+ private readonly appStateService;
817
+ readonly breadcrumbData: _angular_core.WritableSignal<{
818
+ id: string;
819
+ label: string;
820
+ icon?: string;
821
+ url?: string;
822
+ }[]>;
844
823
  readonly paymentDetailsRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
845
824
  readonly amountRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
846
825
  readonly statusRendererTemplate: _angular_core.Signal<TemplateRef<TemplateContext<Record<string, unknown>>>>;
@@ -863,6 +842,7 @@ declare class FeePaymentListComponent implements OnInit, OnDestroy {
863
842
  canDelete: _angular_core.Signal<boolean>;
864
843
  canView: _angular_core.Signal<boolean>;
865
844
  ngOnInit(): void;
845
+ private initializeBreadcrumbData;
866
846
  ngOnDestroy(): void;
867
847
  loadFeePayments(): void;
868
848
  templateRenderers: _angular_core.Signal<Record<string, TemplateRef<TemplateContext<Record<string, unknown>>>>>;
@@ -903,6 +883,7 @@ interface Student {
903
883
  student_id: string;
904
884
  class?: string;
905
885
  section?: string;
886
+ academic_year_id?: string;
906
887
  }
907
888
  declare class FeePaymentProcessComponent implements OnInit {
908
889
  private readonly destroyRef;
@@ -914,6 +895,8 @@ declare class FeePaymentProcessComponent implements OnInit {
914
895
  private readonly notificationService;
915
896
  private readonly confirmationService;
916
897
  private readonly rightsService;
898
+ private readonly appStateService;
899
+ private readonly generalMasterService;
917
900
  paymentForm: FormGroup;
918
901
  loading: _angular_core.WritableSignal<boolean>;
919
902
  submitting: _angular_core.WritableSignal<boolean>;
@@ -921,30 +904,60 @@ declare class FeePaymentProcessComponent implements OnInit {
921
904
  outstandingFees: _angular_core.WritableSignal<OutstandingFee$1[]>;
922
905
  showChequeDetails: _angular_core.WritableSignal<boolean>;
923
906
  showBankDetails: _angular_core.WritableSignal<boolean>;
924
- readonly paymentMethodOptions: {
907
+ readonly selectTemplate: _angular_core.Signal<TemplateRef<TemplateContext<OutstandingFee$1>> | undefined>;
908
+ readonly amountPaidTemplate: _angular_core.Signal<TemplateRef<TemplateContext<OutstandingFee$1>> | undefined>;
909
+ readonly outstandingTemplate: _angular_core.Signal<TemplateRef<TemplateContext<OutstandingFee$1>> | undefined>;
910
+ readonly dateTemplate: _angular_core.Signal<TemplateRef<TemplateContext<OutstandingFee$1>> | undefined>;
911
+ readonly templateRenderers: _angular_core.Signal<{
912
+ selectRenderer: TemplateRef<TemplateContext<OutstandingFee$1>> | undefined;
913
+ amountPaidRenderer: TemplateRef<TemplateContext<OutstandingFee$1>> | undefined;
914
+ outstandingRenderer: TemplateRef<TemplateContext<OutstandingFee$1>> | undefined;
915
+ dateRenderer: TemplateRef<TemplateContext<OutstandingFee$1>> | undefined;
916
+ }>;
917
+ readonly gridConfig: _angular_core.Signal<GridConfiguration<OutstandingFee$1>>;
918
+ readonly formValues: _angular_core.Signal<any>;
919
+ readonly breadcrumbData: _angular_core.WritableSignal<{
920
+ id: string;
921
+ label: string;
922
+ icon?: string;
923
+ url?: string;
924
+ }[]>;
925
+ readonly paymentMethodOptions: _angular_core.WritableSignal<{
926
+ label: string;
925
927
  value: string;
928
+ }[]>;
929
+ private readonly paymentMethodsRaw;
930
+ private readonly paymentStatusesRaw;
931
+ readonly studentListOptions: _angular_core.WritableSignal<{
926
932
  label: string;
927
- }[];
928
- readonly selectedFeeItems: _angular_core.Signal<_angular_forms.AbstractControl<any, any, any>[]>;
929
- readonly totalFeeAmount: _angular_core.Signal<number>;
930
- readonly totalLateFee: _angular_core.Signal<number>;
931
- readonly totalPenalty: _angular_core.Signal<number>;
932
- readonly totalPayable: _angular_core.Signal<number>;
933
+ value: string;
934
+ }[]>;
935
+ readonly selectedFeeItems: _angular_core.Signal<any>;
936
+ readonly totalFeeAmount: _angular_core.Signal<any>;
937
+ readonly totalLateFee: _angular_core.Signal<any>;
938
+ readonly totalPenalty: _angular_core.Signal<any>;
939
+ readonly totalPayable: _angular_core.Signal<any>;
933
940
  get feeItemsArray(): FormArray;
934
941
  ngOnInit(): void;
942
+ private loadPaymentStatusMasters;
943
+ private loadPaymentMethodMasters;
944
+ private setupFormListeners;
935
945
  private setupPaymentMethodListener;
936
- onStudentSearch(query: string | number | boolean | null | undefined): void;
946
+ onStudentSearch(event: any): void;
947
+ private onSearchStudents;
948
+ onStudentSelect(event: any): void;
949
+ private loadStudentDetails;
937
950
  private loadOutstandingFees;
938
951
  private initializeFeeItems;
939
- togglePayFullOutstanding(): void;
952
+ toggleFeeItem(index: number): void;
940
953
  selectAllFees(): void;
941
954
  clearAllFees(): void;
942
- toggleFeeItem(index: number): void;
943
- onAmountChange(index: number, value: string | number | boolean | null | undefined): void;
955
+ onAmountChange(index: number, value: any): void;
944
956
  onSubmit(): void;
945
957
  onCancel(): void;
946
958
  formatCurrency(amount: number): string;
947
959
  isOverdue(date: Date): boolean;
960
+ private updateBreadcrumbData;
948
961
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeePaymentProcessComponent, never>;
949
962
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeePaymentProcessComponent, "cide-fee-payment-process", never, {}, {}, never, never, true, never>;
950
963
  }
@@ -1281,6 +1294,50 @@ declare class MyOnlinePaymentComponent implements OnInit {
1281
1294
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MyOnlinePaymentComponent, "cide-my-online-payment", never, {}, {}, never, never, true, never>;
1282
1295
  }
1283
1296
 
1297
+ interface PartialFeeStructureItem {
1298
+ feesi_item_name?: string;
1299
+ feesi_item_code?: string;
1300
+ feesi_description?: string;
1301
+ feesi_amount?: number;
1302
+ feesi_category_id_sygms?: {
1303
+ sygms_title?: string;
1304
+ sygms_name?: string;
1305
+ _id?: string;
1306
+ } | string | null;
1307
+ feesi_is_mandatory?: boolean;
1308
+ feesi_is_refundable?: boolean;
1309
+ feesi_is_amount_editable?: boolean;
1310
+ feesi_min_amount?: number;
1311
+ feesi_max_amount?: number;
1312
+ feesi_tax_applicable?: boolean;
1313
+ feesi_tax_percentage?: number;
1314
+ feesi_is_installment_allowed?: boolean;
1315
+ feesi_installment_count?: number;
1316
+ feesi_due_date_offset_days?: number;
1317
+ feesi_collection_start_offset_days?: number;
1318
+ feesi_collection_end_offset_days?: number;
1319
+ feesi_display_order?: number;
1320
+ }
1321
+ interface PartialFeeAssignment {
1322
+ _id?: string;
1323
+ fee_structure_name?: string;
1324
+ feeas_fee_structure_id_feest?: {
1325
+ fees_structure_name?: string;
1326
+ } | string | null;
1327
+ feeas_fee_category_sygms?: string | null;
1328
+ feeas_fee_name?: string;
1329
+ feeas_fee_description?: string;
1330
+ feeas_original_amount?: number;
1331
+ feeas_total_amount?: number;
1332
+ feeas_final_amount?: number;
1333
+ feeas_discount_amount?: number;
1334
+ feeas_scholarship_amount?: number;
1335
+ feeas_assignment_date?: Date | string;
1336
+ feeas_installment_count?: number;
1337
+ feeas_due_date?: Date | string;
1338
+ feeas_collection_start_date?: Date | string;
1339
+ feeas_collection_end_date?: Date | string;
1340
+ }
1284
1341
  type FeeDetailsData = {
1285
1342
  _id?: string;
1286
1343
  fees_structure_name?: string;
@@ -1289,17 +1346,42 @@ type FeeDetailsData = {
1289
1346
  fees_amount?: number;
1290
1347
  fees_total_amount?: number;
1291
1348
  discount?: number;
1349
+ scholarship?: number;
1292
1350
  finalAmount?: number;
1293
- _feeItemData?: FeeStructureItem | any;
1294
- _feeAssignmentData?: any;
1351
+ _feeItemData?: PartialFeeStructureItem;
1352
+ _feeAssignmentData?: PartialFeeAssignment;
1353
+ feesi_item_name?: string;
1354
+ feesi_item_code?: string;
1355
+ feesi_amount?: number;
1356
+ feesi_description?: string;
1357
+ feesi_category_id_sygms?: {
1358
+ sygms_title?: string;
1359
+ sygms_name?: string;
1360
+ _id?: string;
1361
+ } | string | null;
1295
1362
  };
1296
1363
  declare class FeeDetailsViewerComponent implements OnInit, OnDestroy {
1297
- isOpen: _angular_core.InputSignal<boolean>;
1298
- studentId: _angular_core.InputSignal<string | null>;
1299
- feeId: _angular_core.InputSignal<string | null>;
1300
- feeData: _angular_core.InputSignal<FeeDetailsData | null>;
1301
- assignmentDate: _angular_core.InputSignal<Date | null>;
1302
- discount: _angular_core.InputSignal<number>;
1364
+ private _isOpen;
1365
+ set isOpen(value: boolean);
1366
+ get isOpen(): boolean;
1367
+ private _studentId;
1368
+ set studentId(value: string | null);
1369
+ get studentId(): string | null;
1370
+ private _feeId;
1371
+ set feeId(value: string | null);
1372
+ get feeId(): string | null;
1373
+ private _feeData;
1374
+ set feeData(value: FeeDetailsData | null);
1375
+ get feeData(): FeeDetailsData | null;
1376
+ private _assignmentDate;
1377
+ set assignmentDate(value: Date | null);
1378
+ get assignmentDate(): Date | null;
1379
+ private _discount;
1380
+ set discount(value: number);
1381
+ get discount(): number;
1382
+ private _scholarship;
1383
+ set scholarship(value: number);
1384
+ get scholarship(): number;
1303
1385
  closed: _angular_core.OutputEmitterRef<void>;
1304
1386
  private readonly destroyRef;
1305
1387
  private readonly feeStructureService;
@@ -1309,7 +1391,12 @@ declare class FeeDetailsViewerComponent implements OnInit, OnDestroy {
1309
1391
  loading: _angular_core.WritableSignal<boolean>;
1310
1392
  error: _angular_core.WritableSignal<string | null>;
1311
1393
  feeDetails: _angular_core.WritableSignal<any>;
1394
+ constructor();
1312
1395
  ngOnInit(): void;
1396
+ /**
1397
+ * Helper to get value from input (handles signals and plain values)
1398
+ * This helper is no longer needed as getters now return unwrapped values.
1399
+ */
1313
1400
  private loadFeeDetails;
1314
1401
  ngOnDestroy(): void;
1315
1402
  private loadFeeAssignment;
@@ -1324,8 +1411,8 @@ declare class FeeDetailsViewerComponent implements OnInit, OnDestroy {
1324
1411
  private calculateAndSetFeeDetails;
1325
1412
  onClose(): void;
1326
1413
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeeDetailsViewerComponent, never>;
1327
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeeDetailsViewerComponent, "cide-fee-details-viewer", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "studentId": { "alias": "studentId"; "required": false; "isSignal": true; }; "feeId": { "alias": "feeId"; "required": false; "isSignal": true; }; "feeData": { "alias": "feeData"; "required": false; "isSignal": true; }; "assignmentDate": { "alias": "assignmentDate"; "required": false; "isSignal": true; }; "discount": { "alias": "discount"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, never, true, never>;
1414
+ 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>;
1328
1415
  }
1329
1416
 
1330
1417
  export { CideFeeFeeAssignmentService, CideFeeFeePaymentService, CideFeeFeeStructureService, CloudIdeFees, CollectionReportComponent, DiscountRulesComponent, FeeAssignmentCreateComponent, FeeAssignmentListComponent, FeeDetailsViewerComponent, FeePaymentListComponent, FeePaymentProcessComponent, FeePaymentViewComponent, FeeStructureCreateComponent, FeeStructureListComponent, MyFeeStatementComponent, MyOnlinePaymentComponent, ReceiptTemplateService, TemplateDesignerComponent, feesRoutes };
1331
- export type { FeeDetailsData };
1418
+ export type { FeeAssignment, FeeAssignmentByIdControllerResponse, FeeAssignmentControllerResponse, FeeAssignmentDeleteControllerResponse, FeeAssignmentDeletePayload, FeeAssignmentInsertUpdateControllerResponse, FeeAssignmentInsertUpdatePayload, FeeAssignmentListPayload, FeeDetailsData, PartialFeeAssignment, PartialFeeStructureItem };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-fees",
3
- "version": "0.0.30",
3
+ "version": "0.0.33",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"