added past due urgency

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-01-07 09:14:51 -07:00
parent f805e311b0
commit 0f70f8212b
4 changed files with 43 additions and 8 deletions

View File

@@ -13,7 +13,7 @@
<div class="col-md-6 col-12" id="reminderOptions">
<input type="text" id="workAroundInput" style="height:0px; width:0px; display:none;">
<label for="reminderDescription">Description</label>
<input type="text" id="reminderDescription" class="form-control" placeholder="Description of item(s) repaired(i.e. Alternator)" value="@Model.Description">
<input type="text" id="reminderDescription" class="form-control" placeholder="Reminder Description" value="@Model.Description">
<label>Remind me on:</label>
<div class="form-check">
<input class="form-check-input" type="radio" name="reminderMetricOptions" id="reminderMetricDate" value="@(ReminderMetric.Date)" checked="@(Model.Metric == ReminderMetric.Date)">

View File

@@ -30,7 +30,11 @@
}
else if (reminderRecord.Urgency == ReminderUrgency.Urgent){
<td class="col-1"><span class="badge text-bg-warning">Urgent</span></td>
} else {
} else if (reminderRecord.Urgency == ReminderUrgency.PastDue)
{
<td class="col-1"><span class="badge text-bg-secondary">Past Due</span></td>
}
else {
<td class="col-1"><span class="badge text-bg-success">Not Urgent</span></td>
}
@if (reminderRecord.Metric == ReminderMetric.Date)