1405/01/20-add giftcard & discount
This commit is contained in:
@@ -88,8 +88,9 @@ export const cols: BaseTableColumn[] = [
|
|||||||
customRender: (record: any) => {
|
customRender: (record: any) => {
|
||||||
if (record.record.unit==3)
|
if (record.record.unit==3)
|
||||||
return `${record.text*100} درصد`
|
return `${record.text*100} درصد`
|
||||||
else
|
else if (record.record.unit==2)
|
||||||
return `${record.text} گرم`
|
return `${record.text} گرم`
|
||||||
|
else return'-'
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user