mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
Get stock by record ID
This commit is contained in:
parent
c8fe3dec66
commit
67d3f254c0
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ export const shopParts = async () => {
|
|||
if (stock) {
|
||||
stock -= (await ordersTable.read({
|
||||
filterByFormula: `AND(
|
||||
{Item} = "Test",
|
||||
{Item} = "${record.id}",
|
||||
OR(
|
||||
{Status} = "Fulfilled",
|
||||
{Status} = "Awaiting Fulfillment"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue