feat: create an EditableProperty component feat: added boolean properties table and missing properties chore: integrated receipt printing page on op info page fix: fixed style issues in the boolean properties table feat: added a custom prefixText on the editable property component chore: commented out currently unused features fix: fixed boolean properties table color chore: removed debug logs fix: boolean properties table cancel button was saving instead of canceling fix: receipt printing properties where wrong (customText currently isn't used, and customerNameOrPhoneNumber was using the wrong property)
32 lines
559 B
JavaScript
32 lines
559 B
JavaScript
const editablePropertyStyles = {
|
|
transparentButton: {
|
|
'& > *': {
|
|
margin: 'auto 12px'
|
|
},
|
|
'& button': {
|
|
border: 'none',
|
|
backgroundColor: 'transparent',
|
|
cursor: 'pointer'
|
|
}
|
|
},
|
|
rowWrapper: {
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
position: 'relative',
|
|
flex: 'wrap'
|
|
},
|
|
rightAligned: {
|
|
display: 'flex',
|
|
position: 'absolute',
|
|
right: 0
|
|
},
|
|
radioButtons: {
|
|
display: 'flex',
|
|
flexDirection: 'row'
|
|
},
|
|
leftSpace: {
|
|
marginLeft: '20px'
|
|
}
|
|
}
|
|
|
|
export { editablePropertyStyles }
|