IO-3001 branch cleanup

This commit is contained in:
Patrick Fic
2024-11-20 14:03:34 -08:00
parent f2d9626888
commit fbc7168bde
3 changed files with 8 additions and 7 deletions

View File

@@ -83,7 +83,6 @@ export function JobLinesPartPriceChange({ job, line, refetch, technician }) {
return (
<JobLineConvertToLabor jobline={line} job={job}>
{import.meta.env.DEV && <Checkbox checked={line.tax_part} />}
<Popover trigger="click" disabled={true || line.manual_line} content={popcontent}>
<CurrencyFormatter>
{line.db_ref === "900510" || line.db_ref === "900511" ? line.prt_dsmk_m : line.act_price}

View File

@@ -408,7 +408,8 @@ export function JobsAvailableContainer({ bodyshop, currentUser, insertAuditTrail
updateSchComp={updateSchComp}
setSchComp={setSchComp}
/>
{currentUser.email.includes("@rome.") || currentUser.email.includes("@imex.") ? (
{
{/* currentUser.email.includes("@rome.") || currentUser.email.includes("@imex.") ? (
<Button
onClick={async () => {
for (const record of data.available_jobs) {
@@ -424,7 +425,8 @@ export function JobsAvailableContainer({ bodyshop, currentUser, insertAuditTrail
>
Add all jobs as new.
</Button>
) : null}
) : null */}
}
<Row gutter={[16, 16]}>
<Col span={24}>
<JobsAvailableTableComponent

View File

@@ -907,8 +907,8 @@ function CalculateTaxesTotals(job, otherTotals) {
}
});
console.log("*** Taxable Amounts***");
console.table(JSON.parse(JSON.stringify(taxableAmounts)));
// console.log("*** Taxable Amounts***");
// console.table(JSON.parse(JSON.stringify(taxableAmounts)));
//For the taxable amounts, figure out which tax type applies.
//Then sum up the total of that tax type and then calculate the thresholds.
@@ -1022,8 +1022,8 @@ function CalculateTaxesTotals(job, otherTotals) {
}
const remainingTaxableAmounts = taxableAmountsByTier;
console.log("*** Taxable Amounts by Tier***");
console.table(JSON.parse(JSON.stringify(taxableAmountsByTier)));
// console.log("*** Taxable Amounts by Tier***");
// console.table(JSON.parse(JSON.stringify(taxableAmountsByTier)));
Object.keys(taxableAmountsByTier).forEach((taxTierKey) => {
try {