IO-854
This commit is contained in:
@@ -143,33 +143,35 @@ export function BillsListPage({
|
||||
<Link to={`/manage/bills?billid=${record.id}`}>
|
||||
<Button>{t("bills.actions.edit")}</Button>
|
||||
</Link>
|
||||
<Button
|
||||
disabled={record.is_credit_memo}
|
||||
onClick={() =>
|
||||
setPartsOrderContext({
|
||||
actions: {},
|
||||
context: {
|
||||
jobId: record.jobid,
|
||||
vendorId: record.vendorid,
|
||||
returnFromBill: record.id,
|
||||
invoiceNumber: record.invoice_number,
|
||||
linesToOrder: record.billlines.map((i) => {
|
||||
return {
|
||||
line_desc: i.line_desc,
|
||||
// db_price: i.actual_price,
|
||||
act_price: i.actual_price,
|
||||
cost: i.actual_cost,
|
||||
quantity: i.quantity,
|
||||
joblineid: i.joblineid,
|
||||
};
|
||||
}),
|
||||
isReturn: true,
|
||||
},
|
||||
})
|
||||
}
|
||||
>
|
||||
{t("bills.actions.return")}
|
||||
</Button>
|
||||
{
|
||||
// <Button
|
||||
// disabled={record.is_credit_memo}
|
||||
// onClick={() =>
|
||||
// setPartsOrderContext({
|
||||
// actions: {},
|
||||
// context: {
|
||||
// jobId: record.jobid,
|
||||
// vendorId: record.vendorid,
|
||||
// returnFromBill: record.id,
|
||||
// invoiceNumber: record.invoice_number,
|
||||
// linesToOrder: record.billlines.map((i) => {
|
||||
// return {
|
||||
// line_desc: i.line_desc,
|
||||
// // db_price: i.actual_price,
|
||||
// act_price: i.actual_price,
|
||||
// cost: i.actual_cost,
|
||||
// quantity: i.quantity,
|
||||
// joblineid: i.joblineid,
|
||||
// };
|
||||
// }),
|
||||
// isReturn: true,
|
||||
// },
|
||||
// })
|
||||
// }
|
||||
// >
|
||||
// {t("bills.actions.return")}
|
||||
// </Button>
|
||||
}
|
||||
<BillDeleteButton bill={record} />
|
||||
{record.isinhouse && (
|
||||
<PrintWrapperComponent
|
||||
|
||||
@@ -1283,7 +1283,7 @@
|
||||
"reconciliationheader": "Parts & Sublet Reconciliation",
|
||||
"rosaletotal": "Total RO Sale",
|
||||
"sale_labor": "Sales - Labor",
|
||||
"sale_parts": "Sales - Parts",
|
||||
"sale_parts": "Sales - Parts & Sublet",
|
||||
"sales": "Sales",
|
||||
"scheduledinchange": "The scheduled in is based off the latest appointment. To change this date, please schedule or reschedule the job. ",
|
||||
"state_tax_amt": "State/Provincial Taxes",
|
||||
|
||||
Reference in New Issue
Block a user