in ui/src/app/common/components/indigo-components/directives/indigo-components/domain/batch-row/view-row/batch-view-row.js [73:112]
function getDefaultBatchViewRow() {
return {
id: calculationHelper.getId(),
nbkBatch: null,
fullNbkBatch: null,
fullNbkImmutablePart: null,
virtualCompoundId: null,
conversationalBatchNumber: null,
registrationDate: null,
registrationStatus: null,
molWeight: {value: 0, baseValue: 0, entered: false},
formula: {value: null, baseValue: null},
stereoisomer: null,
structureComments: null,
saltCode: {name: '00 - Parent Structure', value: '00', regValue: '00', weight: 0, readonly: false},
saltEq: {value: 0},
structure: null,
precursors: null,
theoWeight: {value: 0, unit: 'mg'},
theoMoles: {value: 0, unit: 'mmol'},
totalWeight: new BatchViewField(0, 'mg'),
totalMoles: new BatchViewField(0, 'mmol'),
totalVolume: new BatchViewField(0, 'mL'),
yield: 0,
compoundState: null,
purity: null,
meltingPoint: null,
source: null,
sourceDetail: null,
externalSupplier: null,
healthHazards: null,
compoundProtection: null,
residualSolvents: null,
solubility: null,
storageInstructions: null,
handlingPrecautions: null,
comments: null,
batchType: null
};
}