EaryOrtiz / ProodFloorCSharpp

1 stars 1 forks source link

Morning Reports #45

Closed abrahamcacoulides closed 5 years ago

abrahamcacoulides commented 5 years ago

Add a Class for morning reports and short leads:

public class JobAdditional { public int JobAdditionalID { get; set; } public int JobID { get; set; }

    [Required(ErrorMessage = "Please enter a status")]
    public string Status { get; set; }

    [Display(Name = "Corrective Actions")]
    public string Action { get; set; }

    [Display(Name = "Short Lead")]
    public bool ShortLead { get; set; }

    [Display(Name = "Expected Release Date")]
    [Required(ErrorMessage = "Please enter an expected release date")]
    public DateTime ERDate { get; set; }
}

image

In that view show a table with this info:

image

And add a new action for the Ongoing jobs called "Short Lead" it should be something like the "urgent" status in Outlook, this action would make true/false the "ShortLead" bool, also make it so that when this bool is true this jobs are shown before the jobs that have it set to false in the "Jobs on Cross Approval"