Resolve in house bill posting.
This commit is contained in:
@@ -93,6 +93,7 @@ function BillEnterModalContainer({
|
|||||||
deductedfromlbr,
|
deductedfromlbr,
|
||||||
lbr_adjustment,
|
lbr_adjustment,
|
||||||
location: lineLocation,
|
location: lineLocation,
|
||||||
|
part_type,
|
||||||
...restI
|
...restI
|
||||||
} = i;
|
} = i;
|
||||||
|
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ exports.job = async (req, res) => {
|
|||||||
const yesterday = moment().tz(timezone).subtract(1, "day");
|
const yesterday = moment().tz(timezone).subtract(1, "day");
|
||||||
const today = moment().tz(timezone).startOf("day");
|
const today = moment().tz(timezone).startOf("day");
|
||||||
|
|
||||||
const end = moment.tz(timezone).max([
|
const end = moment.max([
|
||||||
...filteredArrJobs.map((a) => moment(a.scheduled_in).tz(timezone)),
|
...filteredArrJobs.map((a) => moment(a.scheduled_in).tz(timezone)),
|
||||||
...filteredCompJobs
|
...filteredCompJobs
|
||||||
.map((p) => moment(p.actual_completion || p.scheduled_completion).tz(timezone))
|
.map((p) => moment(p.actual_completion || p.scheduled_completion).tz(timezone))
|
||||||
|
|||||||
Reference in New Issue
Block a user