Project

General

Profile

Edit Copy Actions

Feature #9972

open

Auto JOB Scheduling Update

Added by Divya Inapakurthi 11 days ago. Updated 4 days ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
07/28/2026
Due date:
07/28/2026 (7 days late)
% Done:

100%

Estimated time:
(Total: 0:00 h)

Add

Subtasks 1 (1 open0 closed)

Feature #10003: missed features adding and expenses fixResolvedDivya Inapakurthi07/28/202607/28/2026

Delete link to subtaskActions

Add

Related issues

Updated by Divya Inapakurthi 11 days ago

2-Tiered Inheritance Model:

Company Settings Defaults: Added global defaults (subscriptionCutoffDays: 2, midMonthSignupBehavior: 'roll_over', defaultScheduleTypeMode, defaultFixedDates, defaultFixedWeekdays) to company-model.js.
Plan Variant Override: Added overrideCompanyScheduling, scheduleTypeMode, fixedDates, and fixedWeekdays to subscription-model.js. Allows specific plans (like Thalley Creek Estates) to specify their own weekday/date schedules.
Master Date Snapping & Rolling Engine (resolveVisitScheduleDates):

Updated subscripiton.service.js and invoicePaid.js to evaluate Company Defaults vs Plan Overrides.
Computes Master Dates for each month using Mode A (Fixed Dates) or Mode B (Fixed Weekdays).
Approach 1 Mid-Month Roll Over: Valid future dates $\ge \text{signup date}$ are scheduled in the current month; missed past dates roll over into the next month and snap onto the next month's master dates.
Automatically handles business day / weekend / holiday roll forward adjustments.
Intimation Notifications & Customer Emails:

Dispatches intimation notifications (notifyUsers) to Customer and Admin(s) upon job scheduling, passing mandatory parameters (recipientName, dbName, module, sentBy).
Customer payment receipt emails render Plan Visit Schedule & Scheduled Jobs Schedule by month name and visit count.
Frontend Integration:

Subscriber Details: Displays Plan Visit Schedule and Updated Visit Schedule (Scheduled Jobs) highlighted in green when scheduled visits differ.
Subscriber Jobs Tab: Displays Schedule Status column with badges ("As Per Plan" vs "Shifted ([Month])") and column sorting out of the box.

Actions #2

Updated by Divya Inapakurthi 11 days ago

  • Status changed from New to In Progress
Actions #3

Updated by Divya Inapakurthi 7 days ago

  • Due date changed from 07/24/2026 to 07/28/2026
Actions #4

Updated by Divya Inapakurthi 7 days ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Divya Inapakurthi 7 days ago

  • Subtask #10003 added
Edit Copy Actions

Also available in: Atom PDF