
    mh                         d dl Z d dlmZmZ d dlmZ d dlmZ d dlm	Z	  e       Z
 e         e j                  dd      Ze
j                  d       ee      fd	efd
       Zy)    N)	APIRouterDepends)"disable_installed_extensions_check)check_user_is_admin)PaymentFILE_STORAGE_PATHfilesz	/paymentsdependenciesc                 V    | \  }}|j                  t              j                         }|S )N)queryr   all)r
   dbadminpaymentss       b/Users/theessential/Documents/Github/KofAcademy/kof-academy-backend/app/routers/admins/finacial.pylist_paymentsr      s'    IBxx $$&HO    )osfastapir   r   fastapi_pagination.utilsr   app.utils.authentificationr   app.models.paymentr   routergetenvr   gettupler    r   r   <module>r      sd    	 & G :
 ' 
 " $BII17; K(/0C(D   r   