Merge branch 'develop' into 'devops-staging'
feat: add column sisa saldo See merge request empatnusabangsa/ppob/ppob-frontend!185
This commit is contained in:
		| @@ -218,6 +218,16 @@ export const DetailUser = observer(() => { | |||||||
|           currency: "IDR", |           currency: "IDR", | ||||||
|         }).format(text), |         }).format(text), | ||||||
|     }, |     }, | ||||||
|  |     { | ||||||
|  |       title: "Sisa Saldo", | ||||||
|  |       dataIndex: "balance_remaining", | ||||||
|  |       key: "balance_remaining", | ||||||
|  |       render: (text) => | ||||||
|  |         new Intl.NumberFormat("id-ID", { | ||||||
|  |           style: "currency", | ||||||
|  |           currency: "IDR", | ||||||
|  |         }).format(text), | ||||||
|  |     }, | ||||||
|     { |     { | ||||||
|       title: "Pembeli", |       title: "Pembeli", | ||||||
|       dataIndex: "buyer", |       dataIndex: "buyer", | ||||||
| @@ -288,6 +298,7 @@ export const DetailUser = observer(() => { | |||||||
|   ]; |   ]; | ||||||
|   if (store.authentication.userData.role !== "Admin") delete column[1]; |   if (store.authentication.userData.role !== "Admin") delete column[1]; | ||||||
|   if (store.authentication.userData.role !== "Admin") delete column[2]; |   if (store.authentication.userData.role !== "Admin") delete column[2]; | ||||||
|  |   if (store.authentication.userData.role !== "Admin") delete column[4]; | ||||||
|  |  | ||||||
|   const routeData = [ |   const routeData = [ | ||||||
|     { |     { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user