Skip to content

Commit

Permalink
Merge pull request #5407 from msupply-foundation/#5406-blank-supplier…
Browse files Browse the repository at this point in the history
…-requisitions-created

#5406 don't create blank supplier requisitions
  • Loading branch information
arjunSussol authored Dec 26, 2023
2 parents e96d70a + ec7adcb commit 0be2ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync/incomingSyncUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ export const createOrUpdateRecord = (database, settings, recordType, record) =>
const otherParty = database.getOrCreate('Name', record.name_ID);
const enteredBy = database.getOrCreate('User', record.user_ID);
const linkedRequisition = record.requisition_ID
? database.getOrCreate('Requisition', record.requisition_ID)
? database.get('Requisition', record.requisition_ID)
: null;
const linkedTransaction = record.linked_transaction_id
? database.getOrCreate('Transaction', record.linked_transaction_id)
Expand Down

0 comments on commit 0be2ca2

Please sign in to comment.