IO-1719 Add invoice number to job line

This commit is contained in:
Patrick Fic
2022-03-01 13:14:03 -08:00
parent 375b8ba050
commit 79124daa9a
2 changed files with 2 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ export default function JobLinesBillRefernece({ jobline }) {
{subletRequired && <WarningFilled />} {subletRequired && <WarningFilled />}
{`${(billLine.actual_price * billLine.quantity).toFixed(2)} (${ {`${(billLine.actual_price * billLine.quantity).toFixed(2)} (${
billLine.bill.vendor.name billLine.bill.vendor.name
})`} } #${billLine.bill.invoice_number})`}
</div> </div>
); );
} }

View File

@@ -696,6 +696,7 @@ export const GET_JOB_BY_PK = gql`
joblineid joblineid
bill { bill {
id id
invoice_number
vendor { vendor {
id id
name name