Updated UI and added tech elements.
This commit is contained in:
@@ -33,7 +33,7 @@ exports.claimtask = async function (req, res) {
|
||||
);
|
||||
|
||||
//Get all of the assignments that are filtered.
|
||||
const { employeeHash } = CalculateExpectedHoursForJob(
|
||||
const { assignmentHash, employeeHash } = CalculateExpectedHoursForJob(
|
||||
job,
|
||||
theTaskPreset.hourstype
|
||||
);
|
||||
@@ -83,7 +83,7 @@ exports.claimtask = async function (req, res) {
|
||||
},
|
||||
});
|
||||
}
|
||||
res.json(ticketsToInsert);
|
||||
res.json({ unassignedHours: assignmentHash.unassigned, ticketsToInsert });
|
||||
} catch (error) {
|
||||
logger.log("job-payroll-claim-task-error", "ERROR", req.user.email, jobid, {
|
||||
jobid: jobid,
|
||||
|
||||
Reference in New Issue
Block a user