Added invoice and invoice detail pages. Begin work on paginated invoices page.
This commit is contained in:
@@ -33,18 +33,18 @@ function CalculateTaxesTotals(job, otherTotals) {
|
||||
}
|
||||
}, 0);
|
||||
|
||||
console.log("otherTotals", otherTotals);
|
||||
console.log("job", job);
|
||||
console.log("parts pst", statePartsTax);
|
||||
console.log(
|
||||
"pst on labor",
|
||||
otherTotals.rates.rates_subtotal * (job.tax_lbr_rt || 0)
|
||||
);
|
||||
console.log(
|
||||
"pst on mat",
|
||||
(otherTotals.rates.paint_mat.total + otherTotals.rates.shop_mat.total) *
|
||||
(job.tax_paint_mat_rt || 0)
|
||||
);
|
||||
// console.log("otherTotals", otherTotals);
|
||||
// console.log("job", job);
|
||||
// console.log("parts pst", statePartsTax);
|
||||
// console.log(
|
||||
// "pst on labor",
|
||||
// otherTotals.rates.rates_subtotal * (job.tax_lbr_rt || 0)
|
||||
// );
|
||||
// console.log(
|
||||
// "pst on mat",
|
||||
// (otherTotals.rates.paint_mat.total + otherTotals.rates.shop_mat.total) *
|
||||
// (job.tax_paint_mat_rt || 0)
|
||||
// );
|
||||
|
||||
let ret = {
|
||||
subtotal: subtotal,
|
||||
|
||||
Reference in New Issue
Block a user