IO-1410 Remove ded from lbr lines on reconciliation.
This commit is contained in:
@@ -108,6 +108,9 @@ export default function JobReconciliationBillsTable({
|
|||||||
rowSelection={{
|
rowSelection={{
|
||||||
onChange: handleOnRowClick,
|
onChange: handleOnRowClick,
|
||||||
selectedRowKeys: selectedLines,
|
selectedRowKeys: selectedLines,
|
||||||
|
getCheckboxProps: (record) => {
|
||||||
|
return { disabled: record.deductedfromlbr };
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export const reconcileByAssocLine = (
|
|||||||
const [selectedJobLines, setSelectedJobLines] = jobLineState;
|
const [selectedJobLines, setSelectedJobLines] = jobLineState;
|
||||||
|
|
||||||
const allJoblinesFromBills = billLines
|
const allJoblinesFromBills = billLines
|
||||||
.filter((bl) => bl.joblineid && !(bl.jobline && bl.jobline.removed))
|
.filter((bl) => bl.joblineid && bl.jobline && !bl.jobline.removed)
|
||||||
.map((bl) => bl.joblineid);
|
.map((bl) => bl.joblineid);
|
||||||
|
|
||||||
const duplicatedJobLinesbyInvoiceId = _.filter(
|
const duplicatedJobLinesbyInvoiceId = _.filter(
|
||||||
|
|||||||
@@ -630,7 +630,7 @@ export const GET_JOB_RECONCILIATION_BY_PK = gql`
|
|||||||
is_credit_memo
|
is_credit_memo
|
||||||
isinhouse
|
isinhouse
|
||||||
exported
|
exported
|
||||||
billlines {
|
billlines(where: { deductedfromlbr: { _eq: false } }) {
|
||||||
actual_price
|
actual_price
|
||||||
quantity
|
quantity
|
||||||
actual_cost
|
actual_cost
|
||||||
|
|||||||
Reference in New Issue
Block a user