Skip to content

Commit

Permalink
feat(invoice): Block locked inventory item from being invoiced
Browse files Browse the repository at this point in the history
  • Loading branch information
DedrickEnc committed Oct 2, 2017
1 parent 5724dba commit e673594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/modules/invoices/patientInvoiceForm.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function PatientInvoiceFormService(Patients, PriceLists, Inventory, AppCache, St
}.bind(this));

// set up the inventory
Inventory.read(null, { detailed: 1 })
Inventory.read(null, { detailed: 1, locked : 0 })
.then(function (data) {

// make sure both the label and code is searchable
Expand Down

0 comments on commit e673594

Please sign in to comment.