mirror of
				https://github.com/i701/sarlink-portal.git
				synced 2025-11-04 00:16:59 +00:00 
			
		
		
		
	refactor: update topup status handling in DynamicFilter and TopupsTable components ✨
This commit is contained in:
		@@ -26,8 +26,8 @@ export default async function Topups({
 | 
			
		||||
        <DynamicFilter
 | 
			
		||||
          inputs={[
 | 
			
		||||
            {
 | 
			
		||||
              label: "Paid",
 | 
			
		||||
              name: "paid",
 | 
			
		||||
              label: "Status",
 | 
			
		||||
              name: "status",
 | 
			
		||||
              type: "radio-group",
 | 
			
		||||
              options: [
 | 
			
		||||
                {
 | 
			
		||||
@@ -35,12 +35,16 @@ export default async function Topups({
 | 
			
		||||
                  value: "",
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                  label: "Paid",
 | 
			
		||||
                  value: "true",
 | 
			
		||||
                  label: "Pending",
 | 
			
		||||
                  value: "PENDING",
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                  label: "Pending",
 | 
			
		||||
                  value: "false",
 | 
			
		||||
                  label: "Cancelled",
 | 
			
		||||
                  value: "CANCELLED",
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                  label: "Paid",
 | 
			
		||||
                  value: "PAID",
 | 
			
		||||
                },
 | 
			
		||||
              ],
 | 
			
		||||
            },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user