Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-4823

Improve date and warnings behavior on case activities

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: CiviCase
    • Labels:
      None

      Description

      Since the due date was removed, the current behavior doesn't always make sense anymore.

      1) "Actual Date" label should be "Date and Time" (same as core activity form)

      2) Date should default to Now when creating a new activity. For clarity, for editing prepopulated ones it's not an issue anymore since the date that comes up is now the scheduled date.

      3) The warnings should work like so:
      If Date <= Now AND status = Scheduled
      Are you sure? This is a SCHEDULED activity with the ACTUAL DATE in the PAST. Click Cancel to change the date / status. Otherwise, click OK to save.

      If Date > Now AND status = Completed
      Are you sure? This is a COMPLETED activity with the ACTUAL DATE in the FUTURE. Click Cancel to change the date / status. Otherwise, click OK to save.

        Attachments

          Activity

            People

            • Assignee:
              rajan Rajan P Mayekar
              Reporter:
              demeritcowboy Dave D
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified