u
This commit is contained in:
@@ -184,7 +184,7 @@ class ManifestFormLine extends PureComponent {
|
||||
|
||||
renderLedgerChip() {
|
||||
const { ledgerLine, onBookLine } = this.props;
|
||||
if (!ledgerLine) return null;
|
||||
if (!ledgerLine || !ledgerLine.trackStock) return null;
|
||||
const isBooked = ledgerLine.isBooked;
|
||||
const isPartial = !isBooked && ledgerLine.bookedAmount > 0;
|
||||
const isClickable = Boolean(onBookLine);
|
||||
|
||||
Reference in New Issue
Block a user