{visibleConfigs?.map((item, index) => (
handleStyle(item.ConfigId, index)}
>
{item.ConfigName}
))}
{styleData.length > 4 && (
{showMore ? 'View Less' : 'View All...'}{' '}
{showMore ? (
) : (
)}
)}
{
Customized
Standard
}
{['3inch', '2inch', 'A4', 'A5'].map((size) => (
onChangepageSize(size)}
style={{
fontWeight: '500',
color: PageSize === size ? '#1890ff' : '#555',
cursor: 'pointer',
padding: '4px 10px',
borderRadius: '8px',
backgroundColor:
PageSize === size ? '#e6f4ff' : 'transparent',
transition: 'all 0.2s ease',
}}
>
{size}
))}
{isFooterChecking && (
Notes
notes Description}
value={Notes}
onChange={(e) => {
setNote(e.target.value);
}}
/>
)}
{
BillName
Bill Name}
value={BillName}
onChange={(e) => {
setBillName(e.target.value);
dispatch(changeBillName(e.target.value));
}}
/>
}
{isSignatureChecking && (
Upload Signature:
{fileList.length < 1 && (
Click to Upload
)}
)}
{isheadercolour && (
// {isheadercolour && SelectedStyleName == 'TaxInvoice' && (
Header Color
{
setSelectedColour(color);
dispatch(changeSelectedHeaderColor(color));
}}
placeholder="Select color"
/>
)}
{isTermscondChecking && (
Terms and Conditions
{terms.map((term, index) => (
handleChange(index, e.target.value)}
autoSize={{ minRows: 1, maxRows: 3 }}
style={{ width: 290 }}
/>
{terms.length > 1 && (
handleRemove(index)}
style={{ color: 'red', cursor: 'pointer' }}
/>
)}
))}
{/*
}
size="small"
style={{ marginTop: 8 }}
>
Add Term
*/}
)}
{edit ? 'Add' : 'Save'}
{edit && (
{' '}
Cancel{' '}
)}
{sizeOptionData?.length > 0 && (