Change RO number to jobid.
This commit is contained in:
@@ -7,7 +7,7 @@ export default function BillRequestValidator(
|
||||
) {
|
||||
const vendor: string = (req.body.vendor || "").trim();
|
||||
const invoice_number: string = (req.body.invoice_number || "").trim();
|
||||
const ro_number: string = (req.body.ro_number || "").trim();
|
||||
const jobid: string = (req.body.jobid || "").trim();
|
||||
|
||||
// if (vendor === "") {
|
||||
// res.status(400).json({ error: "No vendor name has been specified." });
|
||||
@@ -17,7 +17,7 @@ export default function BillRequestValidator(
|
||||
// res.status(400).json({ error: "No invoice number has been specified." });
|
||||
// return;
|
||||
// }
|
||||
if (ro_number === "") {
|
||||
if (jobid === "") {
|
||||
res.status(400).json({ error: "No RO Number has been specified." });
|
||||
return;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user