+
    ÚH˜j"h  ã                  óº  € ^ RI Ht ^ RIHtHt ^ RIHt ^ RIHtHt ^ RI	H
t
 ^ RIHt  ! R R]4      t ! R	 R
]4      t ! R R]4      t ! R R]]4      t ! R R]4      t ! R R]4      t ! R R]]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]]4      t ! R R]4      t ! R R ]4      t ! R! R"]]4      t ! R# R$]4      t ! R% R&]4      t ! R' R(]]4      t ! R) R*]4      t ! R+ R,]4      t ! R- R.]]4      t  ! R/ R0]4      t! ! R1 R2]4      t" ! R3 R4]!]4      t# ! R5 R6]4      t$ ! R7 R8]4      t% ! R9 R:]$]4      t& ! R; R<]4      t' ! R= R>]4      t( ! R? R@]']4      t) ! RA RB]4      t* ! RC RD]4      t+ ! RE RF]*]4      t, ! RG RH]4      t- ! RI RJ]4      t. ! RK RL]4      t/ ! RM RN]4      t0 ! RO RP]/]4      t1 ! RQ RR]4      t2 ! RS RT]4      t3 ! RU RV]2]4      t4 ! RW RX]4      t5 ! RY RZ]4      t6 ! R[ R\]5]4      t7 ! R] R^]4      t8 ! R_ R`]4      t9 ! Ra Rb]8]4      t: ! Rc Rd]4      t; ! Re Rf]4      t< ! Rg Rh];]4      t= ! Ri Rj]4      t> ! Rk Rl]4      t? ! Rm Rn]>]4      t@ ! Ro Rp]4      tA ! Rq Rr]4      tB ! Rs Rt]A]4      tC ! Ru Rv]4      tD ! Rw Rx]4      tE ! Ry Rz]D]4      tF ! R{ R|]4      tG ! R} R~]4      tH ! R R€]G]4      tIR�# )‚é    )Úannotations)ÚdateÚdatetime)ÚDecimal)ÚFieldÚfield_validator)ÚProcurementStatus)ÚORMModelc                  ó6   € ] tR t^t$ R]R&   R]R&   R]R&   RtR# )ÚAuditFieldsÚintÚidr   Ú
created_atÚ
updated_at© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__annotations__Ú__static_attributes__r   ó    Ú5/var/www/html/proc/backend/app/schemas/procurement.pyr   r      s   ‡ ØƒGØÓØ×r   r   c                  ó°   € ] tR t^t$ ]! ^^2R7      tR]R&   R]R&   R]R&   ]! ^ R7      tR]R&   ]! R	4      t	R
]R&   Rt
R]R&   ]P                  tR]R&   RtR# )ÚDemandCreate©Ú
min_lengthÚ
max_lengthÚstrÚ	demand_noÚ
departmentÚitem_description©Úgtr   Úquantityú0.00r   Úestimated_valueNúdate | NoneÚrequired_byr	   Ústatusr   )r   r   r   r   r   r    r   r%   r   r'   r)   r	   Údraftr*   r   r   r   r   r   r      sU   ‡ Ù a°BÔ7€IˆsÓ7ØƒOØÓÙ˜Q”K€HˆcÓÙ& v›€O�WÓ.Ø#€K�Ó#Ø 1× 7Ñ 7€FÐ×7r   r   c                  óŠ   € ] tR t^t$ RtR]R&   RtR]R&   RtR]R&   ]! R^ R7      t	R]R&   Rt
R	]R
&   RtR]R&   RtR]R&   RtR# )ÚDemandUpdateNú
str | Noner    r!   r"   ©Údefaultr$   ú
int | Noner%   úDecimal | Noner'   r(   r)   úProcurementStatus | Noner*   r   )r   r   r   r   r    r   r!   r"   r   r%   r'   r)   r*   r   r   r   r   r-   r-      sQ   ‡ Ø €IˆzÓ Ø!€J�
Ó!Ø#'Ð�jÓ'Ù ¨°!Ô4€HˆjÓ4Ø&*€O�^Ó*Ø#€K�Ó#Ø'+€FÐ$×+r   r-   c                  ó   € ] tR t^%tRtR# )Ú
DemandReadr   N©r   r   r   r   r   r   r   r   r5   r5   %   ó   † Ûr   r5   c                  ó  € ] tR t^)t$ ]! ^ R7      tR]R&   ]! ^^ R7      tR]R&   RtR]R	&   Rt	R]R
&   ]! R^^PR7      t
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   ]! ^ ^ R7      tR]R&   RtR]R&   RtR]R&   RtR# )ÚItemDatabaseCreater#   r   Úsr_nor   r   ÚnameNr.   Úname_enÚname_orÚ	Equipment©r0   r   r   Ú	item_typeÚitem_type_enÚitem_type_orÚdescriptionÚdescription_enÚdescription_or©r0   Úger%   ÚremarksTÚboolÚ	is_activer   ©r   r   r   r   r   r:   r   r;   r<   r=   r@   rA   rB   rC   rD   rE   r%   rH   rJ   r   r   r   r   r9   r9   )   sŸ   ‡ Ù˜!”€Eˆ3ÓÙ ¨sÔ3€Dˆ#Ó3Ø€GˆZÓØ€GˆZÓÙ ;¸1ÈÔL€IˆsÓLØ#€L�*Ó#Ø#€L�*Ó#Ø"€K�Ó"Ø!%€N�JÓ%Ø!%€N�JÓ%Ù !¨Ô*€HˆcÓ*Ø€GˆZÓØ€Iˆt×r   r9   c                  ó  € ] tR t^9t$ ]! R^ R7      tR]R&   ]! R^^ R7      tR]R&   RtR]R&   Rt	R]R	&   ]! R^^PR7      t
R]R
&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   ]! R^ R7      tR]R&   RtR]R&   RtR]R&   RtR# )ÚItemDatabaseUpdateNr/   r1   r:   r?   r.   r;   r<   r=   r@   rA   rB   rC   rD   rE   rF   r%   rH   úbool | NonerJ   r   rK   r   r   r   rM   rM   9   s¤   ‡ Ù d¨qÔ1€Eˆ:Ó1Ù T°aÀCÔH€Dˆ*ÓHØ€GˆZÓØ€GˆZÓÙ!¨$¸1ÈÔL€IˆzÓLØ#€L�*Ó#Ø#€L�*Ó#Ø"€K�Ó"Ø!%€N�JÓ%Ø!%€N�JÓ%Ù ¨°!Ô4€HˆjÓ4Ø€GˆZÓØ!€Iˆ{×!r   rM   c                  ó   € ] tR t^ItRtR# )ÚItemDatabaseReadr   Nr6   r   r   r   rP   rP   I   r7   r   rP   c                  óŒ  € ] tR t^Mt$ ]! R^R7      tR]R&   ]! ^R7      tR]R&   RtR]R	&   ]! R^ R7      t	R]R
&   Rt
R]R&   RtR]R&   ]! R^ R7      tR]R&   ]! R^ R7      tR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   ]! RRR7      ]R 4       4       tRtR# )ÚRequisitionItemNrF   r1   Ú	serial_no©r   r   rC   r.   r@   r%   Úchallan_numberr(   Úchallan_dateÚquantity_requiredÚquantity_availableÚpresent_conditionÚcondemnation_statusÚcondemnation_date_yearÚjustificationrH   Údate_of_supplyÚcause_of_unserviceabilityÚunserviceable_remarksÚunitzfloat | NoneÚestimated_costÚbefore©Úmodec                	ó*   € VR9   d   R# VR8X  d   R# V# )ÚPendingÚCondemnablezNot ApplicablezNot Condemnable>   rf   Ú	CondemnedúUnder Processr   ©ÚclsÚvalues   &&r   Únormalize_condemnation_statusÚ-RequisitionItem.normalize_condemnation_statusa   s!   € ð Ð=Ô=Ù ØÐ$Ô$Ù$Øˆr   r   )r   r   r   r   r   rS   r   rC   r@   r%   rU   rV   rW   rX   rY   rZ   r[   r\   rH   r]   r^   r_   r`   ra   r   Úclassmethodrm   r   r   r   r   rR   rR   M   s   ‡ Ù!¨$°1Ô5€IˆzÓ5Ù¨Ô*€K�Ó*Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø!%€N�JÓ%Ø $€L�+Ó$Ù$)°$¸1Ô$=Ð�zÓ=Ù%*°4¸AÔ%>Ð˜
Ó>Ø$(Ð�zÓ(Ø&*Ð˜Ó*Ø)-Ð˜JÓ-Ø $€M�:Ó$Ø€GˆZÓØ"&€N�KÓ&Ø,0Ð˜zÓ0Ø(,Ð˜:Ó,Ø€Dˆ*ÓØ#'€N�LÓ'áÐ*°Ô:Øñó ó ;ôr   rR   c                  ó¶  € ] tR t^kt$ R]R&   RtR]R&   RtR]R&   RtR]R	&   RtR]R
&   Rt	R]R&   Rt
R]R&   RtR]R&   RtR]R&   ]! ]R7      tR]R&   RtR]R&   ]! R^ R7      tR]R&   RtR]R&   RtR]R&   ]! R^ÿR7      tR]R&   RtR]R&   RtR]R&   ]! R^ R7      tR]R&   RtR]R&   ]P4                  tR]R&   RtR]R &   ]! RR!R"7      ]R# 4       4       tR$t R# )%ÚRequisitionCreater   Úrequisition_noNr1   Ú	demand_idr(   Úrequisition_dater.   Úrequested_byÚreceived_fromÚreceived_from_districtÚreceived_from_rangeÚsender_nameÚsender_designation©Údefault_factoryzlist[RequisitionItem]Úrequisition_itemsr"   rF   r%   r2   ra   Úprocurement_mode©r0   r   Úprocurement_mode_otherÚbudget_headÚadministrative_approval_dateÚ administrative_approval_quantityÚlifecycle_stager	   Úapproval_statusrH   rb   rc   c                	ó   € Vf   . # T# ©Nr   rj   s   &&r   Údefault_requisition_itemsÚ+RequisitionCreate.default_requisition_items‚   ó   € ð ’]ˆrÐ-¨Ð-r   r   )!r   r   r   r   r   rs   rt   ru   rv   rw   rx   ry   rz   r   Úlistr}   r"   r%   ra   r~   r€   r�   r‚   rƒ   r„   r	   Ú	submittedr…   rH   r   ro   rˆ   r   r   r   r   rq   rq   k   s  ‡ ØÓØ €IˆzÓ Ø$(Ð�kÓ(Ø#€L�*Ó#Ø $€M�:Ó$Ø)-Ð˜JÓ-Ø&*Ð˜Ó*Ø"€K�Ó"Ø%)Ð˜
Ó)Ù/4ÀTÔ/JÐÐ,ÓJØ#'Ð�jÓ'Ù ¨°!Ô4€HˆjÓ4Ø%)€N�NÓ)Ø#'Ð�jÓ'Ù).°tÈÔ)LÐ˜JÓLØ"€K�Ó"Ø04Ð  +Ó4Ù38ÀÈ!Ô3LÐ$ jÓLØ"&€O�ZÓ&Ø):×)DÑ)D€OÐ&ÓDØ€GˆZÓáÐ(¨xÔ8Øñ.ó ó 9ô.r   rq   c                  ón  € ] tR t^ˆt$ RtR]R&   RtR]R&   RtR]R&   RtR]R&   Rt	R]R	&   Rt
R]R
&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   ]! R^ R7      tR]R&   RtR]R&   RtR]R&   ]! R^ÿR7      tR]R&   RtR]R&   RtR]R&   ]! R^ R7      tR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# ) ÚRequisitionUpdateNr.   rr   r1   rs   r(   rt   ru   rv   rw   rx   ry   rz   zlist[RequisitionItem] | Noner}   r"   rF   r%   r2   ra   r~   r   r€   r�   r‚   rƒ   r„   r3   r…   rH   r   )r   r   r   r   rr   r   rs   rt   ru   rv   rw   rx   ry   rz   r}   r"   r   r%   ra   r~   r€   r�   r‚   rƒ   r„   r…   rH   r   r   r   r   rŽ   rŽ   ˆ   sõ   ‡ Ø!%€N�JÓ%Ø €IˆzÓ Ø$(Ð�kÓ(Ø#€L�*Ó#Ø $€M�:Ó$Ø)-Ð˜JÓ-Ø&*Ð˜Ó*Ø"€K�Ó"Ø%)Ð˜
Ó)Ø6:ÐÐ3Ó:Ø#'Ð�jÓ'Ù ¨°!Ô4€HˆjÓ4Ø%)€N�NÓ)Ø#'Ð�jÓ'Ù).°tÈÔ)LÐ˜JÓLØ"€K�Ó"Ø04Ð  +Ó4Ù38ÀÈ!Ô3LÐ$ jÓLØ"&€O�ZÓ&Ø04€OÐ-Ó4Ø€GˆZ×r   rŽ   c                  ó   € ] tR t^ tRtR# )ÚRequisitionReadr   Nr6   r   r   r   r�   r�       r7   r   r�   c                  ó$  € ] tR t^¤t$ ]! ^^ÿR7      tR]R&   RtR]R&   ]! R^ R7      tR]R&   Rt	R	]R
&   R]R&   ]! R^ÿR7      t
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚProcurementCaseCreater   r   Úprocurement_case_noNr1   Úrequisition_idrF   Úapproved_quantityr2   Úapproved_estimated_costr~   r   r.   r€   úIn Tendering ProcessÚcase_statusr(   Úmode_selection_dateÚmode_selected_byrN   Úemd_applicableÚpbg_applicableÚfile_noÚsanction_noÚsanction_dateÚapproving_authorityrH   r   )r   r   r   r   r   r“   r   r”   r•   r–   r€   r˜   r™   rš   r›   rœ   r�   rž   rŸ   r    rH   r   r   r   r   r’   r’   ¤   sº   ‡ Ù$°¸cÔBÐ˜ÓBØ!%€N�JÓ%Ù$)°$¸1Ô$=Ð�zÓ=Ø.2Ð˜^Ó2ØÓÙ).°tÈÔ)LÐ˜JÓLØ-€K�Ó-Ø'+Ð˜Ó+Ø#'Ð�jÓ'Ø"&€N�KÓ&Ø"&€N�KÓ&Ø€GˆZÓØ"€K�Ó"Ø!%€M�;Ó%Ø&*Ð˜Ó*Ø€GˆZ×r   r’   c                  ó*  € ] tR t^·t$ ]! R^^ÿR7      tR]R&   RtR]R&   ]! R^ R7      tR]R&   Rt	R	]R
&   Rt
R]R&   ]! R^ÿR7      tR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚProcurementCaseUpdateNr?   r.   r“   r1   r”   rF   r•   r2   r–   r~   r   r€   r˜   r(   r™   rš   rN   r›   rœ   r�   rž   rŸ   r    rH   r   )r   r   r   r   r   r“   r   r”   r•   r–   r~   r€   r˜   r™   rš   r›   rœ   r�   rž   rŸ   r    rH   r   r   r   r   r¢   r¢   ·   sÂ   ‡ Ù&+°DÀQÐSVÔ&WÐ˜ÓWØ!%€N�JÓ%Ù$)°$¸1Ô$=Ð�zÓ=Ø.2Ð˜^Ó2Ø#'Ð�jÓ'Ù).°tÈÔ)LÐ˜JÓLØ"€K�Ó"Ø'+Ð˜Ó+Ø#'Ð�jÓ'Ø"&€N�KÓ&Ø"&€N�KÓ&Ø€GˆZÓØ"€K�Ó"Ø!%€M�;Ó%Ø&*Ð˜Ó*Ø€GˆZ×r   r¢   c                  ó4   € ] tR t^Êt$ RtR]R&   RtR]R&   RtR# )ÚProcurementCaseReadFrI   r›   rœ   r   N)r   r   r   r   r›   r   rœ   r   r   r   r   r¤   r¤   Ê   s   ‡ Ø €N�DÓ Ø €N�D× r   r¤   c                  óÊ   € ] tR t^Ït$ R]R&   RtR]R&   RtR]R&   RtR	]R
&   RtR]R&   Rt	R	]R&   Rt
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚGeMProcurementCaseCreater   Úprocurement_case_idzProduct / Normal Category Bidr   Úgem_procurement_typeNr.   Ú
gem_bid_nor(   Úgem_bid_dateÚgem_contract_noÚgem_contract_dater2   Úgem_order_valuer1   Ú	vendor_idÚdelivery_statusÚdelivery_delay_reasonÚdelivery_delay_document_pathÚpayment_statusr—   r*   r   )r   r   r   r   r   r¨   r©   rª   r«   r¬   r­   r®   r¯   r°   r±   r²   r*   r   r   r   r   r¦   r¦   Ï   s„   ‡ ØÓØ ?Ð˜#Ó?Ø!€J�
Ó!Ø $€L�+Ó$Ø"&€O�ZÓ&Ø%)Ð�{Ó)Ø&*€O�^Ó*Ø €IˆzÓ Ø"&€O�ZÓ&Ø(,Ð˜:Ó,Ø/3Ð  *Ó3Ø!%€N�JÓ%Ø(€FˆC×(r   r¦   c                  óÎ   € ] tR t^ßt$ RtR]R&   RtR]R&   RtR]R&   RtR]R&   Rt	R]R	&   Rt
R]R
&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚGeMProcurementCaseUpdateNr1   r§   r.   r¨   r©   r(   rª   r«   r¬   r2   r­   r®   r¯   r°   r±   r²   r*   r   )r   r   r   r   r§   r   r¨   r©   rª   r«   r¬   r­   r®   r¯   r°   r±   r²   r*   r   r   r   r   r´   r´   ß   s‰   ‡ Ø&*Ð˜Ó*Ø'+Ð˜*Ó+Ø!€J�
Ó!Ø $€L�+Ó$Ø"&€O�ZÓ&Ø%)Ð�{Ó)Ø&*€O�^Ó*Ø €IˆzÓ Ø"&€O�ZÓ&Ø(,Ð˜:Ó,Ø/3Ð  *Ó3Ø!%€N�JÓ%Ø€FˆJ×r   r´   c                  ó   € ] tR t^ïtRtR# )ÚGeMProcurementCaseReadr   Nr6   r   r   r   r¶   r¶   ï   r7   r   r¶   c                  óð   € ] tR t^ót$ R]R&   R]R&   RtR]R&   RtR]R&   RtR]R	&   RtR]R
&   Rt	R]R&   Rt
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚETenderCaseCreater   r§   r   Útender_ref_noNr(   Útender_publication_dateÚpre_bid_meeting_dateÚbid_submission_end_dateÚtechnical_bid_opening_dateÚfinancial_bid_opening_dater2   ra   r.   Útechnical_evaluation_statusÚfinancial_evaluation_statusr1   Úl1_vendor_idÚaward_approval_dateÚloa_noÚloa_dateÚcontract_nor—   r*   r   )r   r   r   r   r   rº   r»   r¼   r½   r¾   ra   r¿   rÀ   rÁ   rÂ   rÃ   rÄ   rÅ   r*   r   r   r   r   r¸   r¸   ó   s¢   ‡ ØÓØÓØ+/Ð˜[Ó/Ø(,Ð˜+Ó,Ø+/Ð˜[Ó/Ø.2Ð Ó2Ø.2Ð Ó2Ø%)€N�NÓ)Ø.2Ð Ó2Ø.2Ð Ó2Ø#€L�*Ó#Ø'+Ð˜Ó+Ø€FˆJÓØ €HˆkÓ Ø"€K�Ó"Ø(€FˆC×(r   r¸   c                  óø   € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R	&   Rt	R]R
&   Rt
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚETenderCaseUpdatei  Nr1   r§   r.   r¹   r(   rº   r»   r¼   r½   r¾   r2   ra   r¿   rÀ   rÁ   rÂ   rÃ   rÄ   rÅ   r*   r   )r   r   r   r   r§   r   r¹   rº   r»   r¼   r½   r¾   ra   r¿   rÀ   rÁ   rÂ   rÃ   rÄ   rÅ   r*   r   r   r   r   rÇ   rÇ     s«   ‡ Ø&*Ð˜Ó*Ø $€M�:Ó$Ø+/Ð˜[Ó/Ø(,Ð˜+Ó,Ø+/Ð˜[Ó/Ø.2Ð Ó2Ø.2Ð Ó2Ø%)€N�NÓ)Ø.2Ð Ó2Ø.2Ð Ó2Ø#€L�*Ó#Ø'+Ð˜Ó+Ø€FˆJÓØ €HˆkÓ Ø"€K�Ó"Ø€FˆJ×r   rÇ   c                  ó   € ] tR tRtRtR# )ÚETenderCaseReadi  r   Nr6   r   r   r   rÉ   rÉ     r7   r   rÉ   c                  óÆ   € ] tR tRt$ R]R&   R]R&   RtR]R&   RtR]R	&   RtR]R
&   RtR]R&   Rt	R]R&   Rt
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚGlobalTenderCaseCreatei  r   r§   r   Úglobal_tender_ref_noNr.   Úcountry_of_vendorÚforeign_vendor_nameÚforeign_currencyr2   Úexchange_rateÚbid_value_foreign_currencyÚbid_value_inrr¿   Úcommercial_evaluation_statusr(   Úapproval_daterÅ   r—   r*   r   )r   r   r   r   r   rÍ   rÎ   rÏ   rÐ   rÑ   rÒ   r¿   rÓ   rÔ   rÅ   r*   r   r   r   r   rË   rË     s‚   ‡ ØÓØÓØ$(Ð�zÓ(Ø&*Ð˜Ó*Ø#'Ð�jÓ'Ø$(€M�>Ó(Ø15Ð Ó5Ø$(€M�>Ó(Ø.2Ð Ó2Ø/3Ð  *Ó3Ø!%€M�;Ó%Ø"€K�Ó"Ø(€FˆC×(r   rË   c                  óÎ   € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R&   Rt	R]R	&   Rt
R
]R&   RtR
]R&   RtR
]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚGlobalTenderCaseUpdatei-  Nr1   r§   r.   rÌ   rÍ   rÎ   rÏ   r2   rÐ   rÑ   rÒ   r¿   rÓ   r(   rÔ   rÅ   r*   r   )r   r   r   r   r§   r   rÌ   rÍ   rÎ   rÏ   rÐ   rÑ   rÒ   r¿   rÓ   rÔ   rÅ   r*   r   r   r   r   rÖ   rÖ   -  sŒ   ‡ Ø&*Ð˜Ó*Ø'+Ð˜*Ó+Ø$(Ð�zÓ(Ø&*Ð˜Ó*Ø#'Ð�jÓ'Ø$(€M�>Ó(Ø15Ð Ó5Ø$(€M�>Ó(Ø.2Ð Ó2Ø/3Ð  *Ó3Ø!%€M�;Ó%Ø"€K�Ó"Ø€FˆJ×r   rÖ   c                  ó   € ] tR tRtRtR# )ÚGlobalTenderCaseReadi=  r   Nr6   r   r   r   rØ   rØ   =  r7   r   rØ   c                  ó°   € ] tR tRt$ R]R&   RtR]R&   RtR]R&   RtR]R	&   ]! R^ R
7      t	R]R&   Rt
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚLPCProcurementCaseCreateiA  r   r§   Nr.   Úlpc_meeting_nor(   Úlpc_meeting_dateÚcommittee_membersrF   r1   Úquotation_countÚlowest_vendor_idÚcomparative_statement_pathÚrecommendation_daterÔ   r—   r   r*   r   )r   r   r   r   r   rÛ   rÜ   rÝ   r   rÞ   rß   rà   rá   rÔ   r*   r   r   r   r   rÚ   rÚ   A  sn   ‡ ØÓØ!%€N�JÓ%Ø$(Ð�kÓ(Ø$(Ð�zÓ(Ù"'°¸Ô";€O�ZÓ;Ø#'Ð�jÓ'Ø-1Ð 
Ó1Ø'+Ð˜Ó+Ø!%€M�;Ó%Ø(€FˆC×(r   rÚ   c                  ó´   € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R	&   ]	! R^ R
7      t
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚLPCProcurementCaseUpdateiN  Nr1   r§   r.   rÛ   r(   rÜ   rÝ   rF   rÞ   rß   rà   rá   rÔ   r*   r   )r   r   r   r   r§   r   rÛ   rÜ   rÝ   r   rÞ   rß   rà   rá   rÔ   r*   r   r   r   r   rã   rã   N  ss   ‡ Ø&*Ð˜Ó*Ø!%€N�JÓ%Ø$(Ð�kÓ(Ø$(Ð�zÓ(Ù"'°¸Ô";€O�ZÓ;Ø#'Ð�jÓ'Ø-1Ð 
Ó1Ø'+Ð˜Ó+Ø!%€M�;Ó%Ø€FˆJ×r   rã   c                  ó   € ] tR tRtRtR# )ÚLPCProcurementCaseReadi[  r   Nr6   r   r   r   rå   rå   [  r7   r   rå   c                  ó”   € ] tR tRt$ R]R&   RtR]R&   RtR]R&   ]! R^ R	7      tR
]R&   Rt	R
]R&   Rt
R]R&   RtR]R&   RtR]R&   RtR# )ÚOpenMarketCaseCreatei_  r   r§   Nr.   Úprocurement_justificationr(   Úmarket_survey_daterF   r1   rÞ   Úselected_vendor_idrà   rÔ   r—   r   r*   r   )r   r   r   r   r   rè   ré   r   rÞ   rê   rà   rÔ   r*   r   r   r   r   rç   rç   _  sY   ‡ ØÓØ,0Ð˜zÓ0Ø&*Ð˜Ó*Ù"'°¸Ô";€O�ZÓ;Ø%)Ð˜
Ó)Ø-1Ð 
Ó1Ø!%€M�;Ó%Ø(€FˆC×(r   rç   c                  ó˜   € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   ]! R^ R	7      t	R]R
&   Rt
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚOpenMarketCaseUpdateij  Nr1   r§   r.   rè   r(   ré   rF   rÞ   rê   rà   rÔ   r*   r   )r   r   r   r   r§   r   rè   ré   r   rÞ   rê   rà   rÔ   r*   r   r   r   r   rì   rì   j  s^   ‡ Ø&*Ð˜Ó*Ø,0Ð˜zÓ0Ø&*Ð˜Ó*Ù"'°¸Ô";€O�ZÓ;Ø%)Ð˜
Ó)Ø-1Ð 
Ó1Ø!%€M�;Ó%Ø€FˆJ×r   rì   c                  ó   € ] tR tRtRtR# )ÚOpenMarketCaseReadiu  r   Nr6   r   r   r   rî   rî   u  r7   r   rî   c                  óv   € ] tR tRt$ R]R&   RtR]R&   RtR]R&   RtR]R&   RtR	]R
&   Rt	R]R&   Rt
R]R&   RtR# )ÚOtherProcurementCaseCreateiy  r   r§   Nr.   Úother_procurement_typeÚprocurement_reference_noÚprocurement_descriptionr1   r®   r(   rÔ   r—   r   r*   r   )r   r   r   r   r   rñ   rò   ró   r®   rÔ   r*   r   r   r   r   rð   rð   y  sG   ‡ ØÓØ)-Ð˜JÓ-Ø+/Ð˜jÓ/Ø*.Ð˜ZÓ.Ø €IˆzÓ Ø!%€M�;Ó%Ø(€FˆC×(r   rð   c                  óz   € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R&   Rt	R]R	&   Rt
R
]R&   RtR]R&   RtR# )ÚOtherProcurementCaseUpdateiƒ  Nr1   r§   r.   rñ   rò   ró   r®   r(   rÔ   r*   r   )r   r   r   r   r§   r   rñ   rò   ró   r®   rÔ   r*   r   r   r   r   rõ   rõ   ƒ  sL   ‡ Ø&*Ð˜Ó*Ø)-Ð˜JÓ-Ø+/Ð˜jÓ/Ø*.Ð˜ZÓ.Ø €IˆzÓ Ø!%€M�;Ó%Ø€FˆJ×r   rõ   c                  ó   € ] tR tRtRtR# )ÚOtherProcurementCaseReadi�  r   Nr6   r   r   r   r÷   r÷   �  r7   r   r÷   c                  ó¨   € ] tR tRt$ ]! R^R7      tR]R&   ]! ^R7      tR]R&   RtR	]R
&   Rt	R	]R&   Rt
R	]R&   ]! R^ R7      tR]R&   RtR	]R&   RtR# )Ú
SampleItemi‘  NrF   r1   rS   rT   r   rC   r.   ÚmakeÚmodelÚ
make_modelr%   r`   r   )r   r   r   r   r   rS   r   rC   rú   rû   rü   r%   r`   r   r   r   r   rù   rù   ‘  s[   ‡ Ù!¨$°1Ô5€IˆzÓ5Ù¨Ô*€K�Ó*Ø€Dˆ*ÓØ€Eˆ:ÓØ!€J�
Ó!Ù ¨°!Ô4€HˆjÓ4Ø€Dˆ*×r   rù   c                  óŒ   € ] tR tRt$ ]! R^R7      tR]R&   ]! ^R7      tR]R&   RtR	]R
&   ]! R^ R7      t	R]R&   Rt
R	]R&   RtR# )Ú
TenderItemi›  NrF   r1   rS   rT   r   rC   r.   r@   r%   r`   r   )r   r   r   r   r   rS   r   rC   r@   r%   r`   r   r   r   r   rþ   rþ   ›  sG   ‡ Ù!¨$°1Ô5€IˆzÓ5Ù¨Ô*€K�Ó*Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø€Dˆ*×r   rþ   c                  ó
  € ] tR tRt$ ]! R^R7      tR]R&   R]R&   RtR]R&   RtR]R	&   Rt	R
]R&   Rt
R]R&   ]! ]R7      tR]R&   RtR
]R&   ]! R^ R7      tR]R&   RtR]R&   RtR
]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   ]! R^ R7      tR]R&   RtR]R&   RtR
]R&   RtR
]R&   RtR]R&   RtR]R &   RtR
]R!&   RtR]R"&   RtR]R#&   R$tR]R%&   ] PB                  t"R&]R'&   ]#! RR(R)7      ]$R* 4       4       t%R+t&R# ),ÚTenderBidCreatei£  NrF   r1   rS   r   Ú	tender_nor”   r§   r.   Útitler(   Útender_dater{   zlist[TenderItem]Útender_itemsÚ	item_namer%   r2   ra   r�   Úbid_published_dateÚbid_closed_dater½   Úproduct_demo_dateÚtechnical_evaluation_dateÚtechnical_qualified_biddersr¾   Úl1_bidder_nameÚcontract_numberÚcontract_dateÚamountrH   Úpublication_dateÚclosing_datezOpen TenderÚbid_typer	   r*   rb   rc   c                	ó   € Vf   . # T# r‡   r   rj   s   &&r   Údefault_tender_itemsÚ$TenderBidCreate.default_tender_itemsÀ  rŠ   r   r   )'r   r   r   r   r   rS   r   r”   r§   r  r  r‹   r  r  r%   ra   r�   r  r  r½   r  r	  r
  r¾   r  r  r  r  rH   r  r  r  r	   Úin_progressr*   r   ro   r  r   r   r   r   r   r   £  sV  ‡ Ù!¨$°1Ô5€IˆzÓ5ØƒNØ!%€N�JÓ%Ø&*Ð˜Ó*Ø€Eˆ:ÓØ#€K�Ó#Ù%*¸4Ô%@€LÐ"Ó@Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø%)€N�NÓ)Ø"€K�Ó"Ø&*Ð˜Ó*Ø#'€O�[Ó'Ø.2Ð Ó2Ø%)Ð�{Ó)Ø-1Ð˜{Ó1Ù.3¸DÀQÔ.GÐ ÓGØ.2Ð Ó2Ø!%€N�JÓ%Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø!€FˆNÓ!Ø€GˆZÓØ$(Ð�kÓ(Ø $€L�+Ó$Ø!€HˆcÓ!Ø 1× =Ñ =€FÐÓ=á�^¨(Ô3Øñ.ó ó 4ô.r   r   c                  óÂ  € ] tR tRt$ ]! R^R7      tR]R&   RtR]R&   RtR]R&   Rt	R]R	&   Rt
R]R
&   RtR]R&   RtR]R&   RtR]R&   ]! R^ R7      tR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   ]! R^ R7      tR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R &   RtR]R!&   RtR]R"&   Rt R#]R$&   R%t!R# )&ÚTenderBidUpdateiÆ  NrF   r1   rS   r.   r  r”   r§   r  r(   r  zlist[TenderItem] | Noner  r  r%   r2   ra   r�   r  r  r½   r  r	  r
  r¾   r  r  r  r  rH   r  r  r  r3   r*   r   )"r   r   r   r   r   rS   r   r  r”   r§   r  r  r  r  r%   ra   r�   r  r  r½   r  r	  r
  r¾   r  r  r  r  rH   r  r  r  r*   r   r   r   r   r  r  Æ  s/  ‡ Ù!¨$°1Ô5€IˆzÓ5Ø €IˆzÓ Ø!%€N�JÓ%Ø&*Ð˜Ó*Ø€Eˆ:ÓØ#€K�Ó#Ø,0€LÐ)Ó0Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø%)€N�NÓ)Ø"€K�Ó"Ø&*Ð˜Ó*Ø#'€O�[Ó'Ø.2Ð Ó2Ø%)Ð�{Ó)Ø-1Ð˜{Ó1Ù.3¸DÀQÔ.GÐ ÓGØ.2Ð Ó2Ø!%€N�JÓ%Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø!€FˆNÓ!Ø€GˆZÓØ$(Ð�kÓ(Ø $€L�+Ó$Ø€HˆjÓØ'+€FÐ$×+r   r  c                  ó   € ] tR tRtRtR# )ÚTenderBidReadiä  r   Nr6   r   r   r   r  r  ä  r7   r   r  c                  óX  € ] tR tRt$ RtR]R&   RtR]R&   ]! R^R7      tR]R&   Rt	R]R	&   Rt
R
]R&   RtR]R&   RtR
]R&   RtR]R&   R]R&   RtR]R&   RtR]R&   RtR
]R&   RtR]R&   RtR]R&   RtR
]R&   RtR
]R&   RtR
]R&   RtR]R&   RtR]R&   RtR]R&   RtR
]R&   RtR]R&   R tR# )!Ú	EMDCreateiè  Nr1   Ú	tender_idr§   rF   rS   r.   Úemd_unique_idr(   Ú
entry_dateÚtender_numberr  r  r   Úbidder_nameÚemd_formÚemd_noÚemd_dater2   r  Úissuing_branchÚbank_confirmation_dateÚexpiry_dateÚreturned_dateÚreturn_detailsrH   Úinstrument_noÚreceived_daterf   Úrefund_statusr   )r   r   r   r   r  r   r§   r   rS   r  r  r  r  r  r!  r"  r#  r  r$  r%  r&  r'  r(  rH   r)  r*  r+  r   r   r   r   r  r  è  sã   ‡ Ø €IˆzÓ Ø&*Ð˜Ó*Ù!¨$°1Ô5€IˆzÓ5Ø $€M�:Ó$Ø"€J�Ó"Ø $€M�:Ó$Ø#€K�Ó#Ø €IˆzÓ ØÓØ€HˆjÓØ€FˆJÓØ €HˆkÓ Ø!€FˆNÓ!Ø!%€N�JÓ%Ø*.Ð˜KÓ.Ø#€K�Ó#Ø!%€M�;Ó%Ø!%€N�JÓ%Ø€GˆZÓØ $€M�:Ó$Ø!%€M�;Ó%Ø"€M�3×"r   r  c                  ó\  € ] tR tRt$ RtR]R&   RtR]R&   ]! R^R7      tR]R&   Rt	R]R	&   Rt
R
]R&   RtR]R&   RtR
]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR
]R&   RtR]R&   RtR]R&   RtR
]R&   RtR
]R&   RtR
]R&   RtR]R&   RtR]R&   RtR]R&   RtR
]R&   RtR]R&   RtR# )Ú	EMDUpdatei  Nr1   r  r§   rF   rS   r.   r  r(   r  r  r  r  r   r!  r"  r#  r2   r  r$  r%  r&  r'  r(  rH   r)  r*  r+  r   )r   r   r   r   r  r   r§   r   rS   r  r  r  r  r  r   r!  r"  r#  r  r$  r%  r&  r'  r(  rH   r)  r*  r+  r   r   r   r   r-  r-    sç   ‡ Ø €IˆzÓ Ø&*Ð˜Ó*Ù!¨$°1Ô5€IˆzÓ5Ø $€M�:Ó$Ø"€J�Ó"Ø $€M�:Ó$Ø#€K�Ó#Ø €IˆzÓ Ø"€K�Ó"Ø€HˆjÓØ€FˆJÓØ €HˆkÓ Ø!€FˆNÓ!Ø!%€N�JÓ%Ø*.Ð˜KÓ.Ø#€K�Ó#Ø!%€M�;Ó%Ø!%€N�JÓ%Ø€GˆZÓØ $€M�:Ó$Ø!%€M�;Ó%Ø $€M�:×$r   r-  c                  ó   € ] tR tRtRtR# )ÚEMDReadi  r   Nr6   r   r   r   r/  r/    r7   r   r/  c                  ó˜  € ] tR tRt$ ]! R^R7      tR]R&   RtR]R&   RtR]R&   Rt	R]R	&   Rt
R
]R&   ]! ]R7      tR]R&   RtR]R&   ]! R^ R7      tR]R&   RtR
]R&   R]R&   RtR]R&   RtR]R&   RtR]R&   RtR
]R&   RtR]R&   RtR
]R&   RtR]R&   RtR]R&   RtR
]R&   ]P4                  tR]R&   ]! RRR 7      ]R! 4       4       tR"tR# )#ÚSampleRegisterCreatei  NrF   r1   rS   r  r§   r.   r  r(   r  r{   zlist[SampleItem]Úsample_itemsr  r%   Údemonstration_dater   r   rú   rû   rü   Úreceipt_dateÚrecipient_nameÚreturn_daterH   Úsample_descriptionr*  r	   Úevaluation_statusrb   rc   c                	ó   € Vf   . # T# r‡   r   rj   s   &&r   Údefault_sample_itemsÚ)SampleRegisterCreate.default_sample_items4  rŠ   r   r   ) r   r   r   r   r   rS   r   r  r§   r  r  r‹   r2  r  r%   r3  rú   rû   rü   r4  r5  r6  rH   r7  r*  r	   rŒ   r8  r   ro   r:  r   r   r   r   r1  r1    s  ‡ Ù!¨$°1Ô5€IˆzÓ5Ø €IˆzÓ Ø&*Ð˜Ó*Ø $€M�:Ó$Ø#€K�Ó#Ù%*¸4Ô%@€LÐ"Ó@Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø&*Ð˜Ó*ØÓØ€Dˆ*ÓØ€Eˆ:ÓØ!€J�
Ó!Ø $€L�+Ó$Ø!%€N�JÓ%Ø#€K�Ó#Ø€GˆZÓØ%)Ð˜
Ó)Ø!%€M�;Ó%Ø+<×+FÑ+FÐÐ(ÓFá�^¨(Ô3Øñ.ó ó 4ô.r   r1  c                  óP  € ] tR tRt$ ]! R^R7      tR]R&   RtR]R&   RtR]R&   Rt	R]R	&   Rt
R
]R&   RtR]R&   RtR]R&   ]! R^ R7      tR]R&   RtR
]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR
]R&   RtR]R&   RtR
]R&   RtR]R&   RtR]R&   RtR
]R&   RtR]R&   RtR# )ÚSampleRegisterUpdatei:  NrF   r1   rS   r  r§   r.   r  r(   r  zlist[SampleItem] | Noner2  r  r%   r3  r   rú   rû   rü   r4  r5  r6  rH   r7  r*  r3   r8  r   )r   r   r   r   r   rS   r   r  r§   r  r  r2  r  r%   r3  r   rú   rû   rü   r4  r5  r6  rH   r7  r*  r8  r   r   r   r   r=  r=  :  sÞ   ‡ Ù!¨$°1Ô5€IˆzÓ5Ø €IˆzÓ Ø&*Ð˜Ó*Ø $€M�:Ó$Ø#€K�Ó#Ø,0€LÐ)Ó0Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø&*Ð˜Ó*Ø"€K�Ó"Ø€Dˆ*ÓØ€Eˆ:ÓØ!€J�
Ó!Ø $€L�+Ó$Ø!%€N�JÓ%Ø#€K�Ó#Ø€GˆZÓØ%)Ð˜
Ó)Ø!%€M�;Ó%Ø26ÐÐ/×6r   r=  c                  ó   € ] tR tRtRtR# )ÚSampleRegisterReadiQ  r   Nr6   r   r   r   r?  r?  Q  r7   r   r?  c                  ó‚   € ] tR tRt$ RtR]R&   RtR]R&   R]R&   R]R&   ]! ^ ^dR	7      tR
]R&   Rt	R]R&   Rt
R]R&   RtR# )ÚTechnicalEvaluationCreateiU  Nr1   r  r§   r   r   Ú	evaluator)rG   Úler   Úscorerf   Úresultr.   rH   r   )r   r   r   r   r  r   r§   r   rD  rE  rH   r   r   r   r   rA  rA  U  sG   ‡ Ø €IˆzÓ Ø&*Ð˜Ó*ØÓØƒNÙ˜! Ô$€Eˆ3Ó$Ø€FˆCÓØ€GˆZ×r   rA  c                  óŒ   € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R&   ]	! R^ ^dR	7      t
R]R
&   RtR]R&   RtR]R&   RtR# )ÚTechnicalEvaluationUpdatei_  Nr1   r  r§   r.   r   rB  )r0   rG   rC  rD  rE  rH   r   )r   r   r   r   r  r   r§   r   rB  r   rD  rE  rH   r   r   r   r   rG  rG  _  sR   ‡ Ø €IˆzÓ Ø&*Ð˜Ó*Ø"€K�Ó"Ø €IˆzÓ Ù d¨q°SÔ9€Eˆ:Ó9Ø€FˆJÓØ€GˆZ×r   rG  c                  ó   € ] tR tRtRtR# )ÚTechnicalEvaluationReadii  r   Nr6   r   r   r   rI  rI  i  r7   r   rI  c                  ór   € ] tR tRt$ RtR]R&   RtR]R&   R]R&   R]R	&   RtR
]R&   RtR]R&   Rt	R]R&   Rt
R# )ÚFinancialEvaluationCreateim  Nr1   r  r§   r   r   r   Úquoted_amountr2   Únegotiated_amountÚrankrf   rE  r   )r   r   r   r   r  r   r§   rM  rN  rE  r   r   r   r   rK  rK  m  sB   ‡ Ø €IˆzÓ Ø&*Ð˜Ó*ØÓØÓØ(,Ð�~Ó,Ø€Dˆ*ÓØ€FˆC×r   rK  c                  óz   € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R	&   Rt	R]R
&   Rt
R]R&   RtR]R&   RtR# )ÚFinancialEvaluationUpdateiw  Nr1   r  r§   r.   r   r2   rL  rM  rN  rE  r   )r   r   r   r   r  r   r§   r   rL  rM  rN  rE  r   r   r   r   rP  rP  w  sJ   ‡ Ø €IˆzÓ Ø&*Ð˜Ó*Ø"€K�Ó"Ø$(€M�>Ó(Ø(,Ð�~Ó,Ø€Dˆ*ÓØ€FˆJ×r   rP  c                  ó   € ] tR tRtRtR# )ÚFinancialEvaluationReadi�  r   Nr6   r   r   r   rR  rR  �  r7   r   rR  c                  ó@  € ] tR tRt$ R]R&   RtR]R&   RtR]R&   RtR]R	&   ]! R^ÿR
7      t	R]R&   Rt
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   R]R&   RtR]R&   ]! R^ R7      tR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   ]P,                  tR]R&   RtR# )ÚPurchaseOrderCreatei…  r   Úpo_noNr1   r  r§   r.   r~   r   r€   Útender_reference_nor(   Útender_reference_dater2   ra   Úprocess_initiate_dater�   Úvendor_namer"   rF   r%   r`   Úpo_dateÚpo_valueÚdelivery_due_dater	   r*   r   )r   r   r   r   r   r  r§   r~   r   r€   rV  rW  ra   rX  r�   r"   r%   r`   rZ  r[  r\  r	   Úapprovedr*   r   r   r   r   rT  rT  …  sÊ   ‡ ØƒJØ €IˆzÓ Ø&*Ð˜Ó*Ø#'Ð�jÓ'Ù).°tÈÔ)LÐ˜JÓLØ&*Ð˜Ó*Ø)-Ð˜;Ó-Ø%)€N�NÓ)Ø)-Ð˜;Ó-Ø"€K�Ó"ØÓØ#'Ð�jÓ'Ù ¨°!Ô4€HˆjÓ4Ø€Dˆ*ÓØ€Gˆ[ÓØ#€HˆnÓ#Ø%)Ð�{Ó)Ø 1× :Ñ :€FÐ×:r   rT  c                  ó4  € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R&   ]	! R^ÿR	7      t
R]R
&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   ]	! R^ R7      tR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# )ÚPurchaseOrderUpdateiš  Nr.   rU  r1   r  r§   r~   r   r€   rV  r(   rW  r2   ra   rX  r�   rY  r"   rF   r%   r`   rZ  r[  r\  r3   r*   r   )r   r   r   r   rU  r   r  r§   r~   r   r€   rV  rW  ra   rX  r�   rY  r"   r%   r`   rZ  r[  r\  r*   r   r   r   r   r_  r_  š  sÍ   ‡ Ø€Eˆ:ÓØ €IˆzÓ Ø&*Ð˜Ó*Ø#'Ð�jÓ'Ù).°tÈÔ)LÐ˜JÓLØ&*Ð˜Ó*Ø)-Ð˜;Ó-Ø%)€N�NÓ)Ø)-Ð˜;Ó-Ø"€K�Ó"Ø"€K�Ó"Ø#'Ð�jÓ'Ù ¨°!Ô4€HˆjÓ4Ø€Dˆ*ÓØ€Gˆ[ÓØ#€HˆnÓ#Ø%)Ð�{Ó)Ø'+€FÐ$×+r   r_  c                  ó   € ] tR tRtRtR# )ÚPurchaseOrderReadi¯  r   Nr6   r   r   r   ra  ra  ¯  r7   r   ra  c                  ój  € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R	&   Rt	R]R
&   Rt
R]R&   ]! R^ R7      tR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R &   R!tR# )"ÚPerformanceSecurityCreatei³  Nr1   Úpo_idr§   r(   r  r.   r  r  r  rF   r%   rY  r   Úsecurity_formÚsecurity_numberÚsecurity_dater2   r  r$  r%  r&  Úwarranty_periodr6  r(  rH   r)  Úvalid_untilÚHeldr   Úrelease_statusr   ©r   r   r   r   rd  r   r§   r  r  r  r  r   r%   rY  r   re  rf  rg  r  r$  r%  r&  rh  r6  r(  rH   r)  ri  rk  r   r   r   r   rc  rc  ³  sñ   ‡ Ø€Eˆ:ÓØ&*Ð˜Ó*Ø"€J�Ó"Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø"€K�Ó"Ø"€K�Ó"Ø $€M�:Ó$Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø!€FˆNÓ!Ø!%€N�JÓ%Ø*.Ð˜KÓ.Ø#€K�Ó#Ø"&€O�ZÓ&Ø#€K�Ó#Ø!%€N�JÓ%Ø€GˆZÓØ $€M�:Ó$Ø#€K�Ó#Ø €N�C× r   rc  c                  ój  € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R	&   Rt	R]R
&   Rt
R]R&   ]! R^ R7      tR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR# ) ÚPerformanceSecurityUpdateiÍ  Nr1   rd  r§   r(   r  r.   r  r  r  rF   r%   rY  r   re  rf  rg  r2   r  r$  r%  r&  rh  r6  r(  rH   r)  ri  rk  r   rl  r   r   r   rn  rn  Í  sñ   ‡ Ø€Eˆ:ÓØ&*Ð˜Ó*Ø"€J�Ó"Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø"€K�Ó"Ø"€K�Ó"Ø $€M�:Ó$Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø!€FˆNÓ!Ø!%€N�JÓ%Ø*.Ð˜KÓ.Ø#€K�Ó#Ø"&€O�ZÓ&Ø#€K�Ó#Ø!%€N�JÓ%Ø€GˆZÓØ $€M�:Ó$Ø#€K�Ó#Ø!%€N�J×%r   rn  c                  ó   € ] tR tRtRtR# )ÚPerformanceSecurityReadiç  r   Nr6   r   r   r   rp  rp  ç  r7   r   rp  c                  óŽ   € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   ]! ^ R7      t	R	]R
&   ]
P                  tR]R&   RtR]R&   RtR# )ÚDeliveryAcceptanceCreateië  Nr1   rd  r§   r(   Údelivery_date)rG   r   Úaccepted_quantityr	   Úacceptance_statusr.   rH   r   )r   r   r   r   rd  r   r§   rs  r   rt  r	   rŒ   ru  rH   r   r   r   r   rr  rr  ë  sL   ‡ Ø€Eˆ:ÓØ&*Ð˜Ó*Ø!%€M�;Ó%Ù" aœ[Ð�sÓ(Ø+<×+FÑ+FÐÐ(ÓFØ€GˆZ×r   rr  c                  ó|   € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   ]! R^ R7      t	R]R	&   Rt
R
]R&   RtR]R&   RtR# )ÚDeliveryAcceptanceUpdateiô  Nr1   rd  r§   r(   rs  rF   rt  r3   ru  r.   rH   r   )r   r   r   r   rd  r   r§   rs  r   rt  ru  rH   r   r   r   r   rw  rw  ô  sI   ‡ Ø€Eˆ:ÓØ&*Ð˜Ó*Ø!%€M�;Ó%Ù$)°$¸1Ô$=Ð�zÓ=Ø26ÐÐ/Ó6Ø€GˆZ×r   rw  c                  ó   € ] tR tRtRtR# )ÚDeliveryAcceptanceReadiý  r   Nr6   r   r   r   ry  ry  ý  r7   r   ry  c                  ó~   € ] tR tRt$ RtR]R&   RtR]R&   R]R&   RtR]R	&   R
]R&   ]! R4      t	R
]R&   Rt
R]R&   RtR# )ÚPaymentTrackingCreatei  Nr1   rd  r§   r   Ú
invoice_nor(   Úinvoice_dater   Úinvoice_amountr&   Úpaid_amountrf   r²   r   )r   r   r   r   rd  r   r§   r}  r   r  r²   r   r   r   r   r{  r{    sD   ‡ Ø€Eˆ:ÓØ&*Ð˜Ó*ØƒOØ $€L�+Ó$ØÓÙ" 6›?€K�Ó*Ø#€N�C×#r   r{  c                  óz   € ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R	&   Rt	R
]R&   Rt
R
]R&   RtR]R&   RtR# )ÚPaymentTrackingUpdatei  Nr1   rd  r§   r.   r|  r(   r}  r2   r~  r  r²   r   )r   r   r   r   rd  r   r§   r|  r}  r~  r  r²   r   r   r   r   r�  r�    sI   ‡ Ø€Eˆ:ÓØ&*Ð˜Ó*Ø!€J�
Ó!Ø $€L�+Ó$Ø%)€N�NÓ)Ø"&€K�Ó&Ø!%€N�J×%r   r�  c                  ó   € ] tR tRtRtR# )ÚPaymentTrackingReadi  r   Nr6   r   r   r   rƒ  rƒ    r7   r   rƒ  N)JÚ
__future__r   r   r   Údecimalr   Úpydanticr   r   Úapp.models.enumsr	   Úapp.schemas.commonr
   r   r   r-   r5   r9   rM   rP   rR   rq   rŽ   r�   r’   r¢   r¤   r¦   r´   r¶   r¸   rÇ   rÉ   rË   rÖ   rØ   rÚ   rã   rå   rç   rì   rî   rð   rõ   r÷   rù   rþ   r   r  r  r  r-  r/  r1  r=  r?  rA  rG  rI  rK  rP  rR  rT  r_  ra  rc  rn  rp  rr  rw  ry  r{  r�  rƒ  r   r   r   Ú<module>r‰     s*  ðÝ "ß #Ý ç +å .Ý 'ô�(ô ô8�8ô 8ô,�8ô ,ô	�˜{ô 	ô˜ô ô "˜ô "ô 	Ð)¨;ô 	ô�hô ô<.˜ô .ô:˜ô ô0	Ð'¨ô 	ô˜Hô ô&˜Hô ô&!Ð/°ô !ô
)˜xô )ô ˜xô ô 	Ð5°{ô 	ô)˜ô )ô&˜ô ô&	Ð'¨ô 	ô)˜Xô )ô ˜Xô ô 	Ð1°;ô 	ô
)˜xô 
)ô
˜xô 
ô	Ð5°{ô 	ô)˜8ô )ô˜8ô ô	Ð-¨{ô 	ô) ô )ô ô ô	Ð9¸;ô 	ô�ô ô�ô ô .�hô  .ôF,�hô ,ô<	�O [ô 	ô#�ô #ô2%�ô %ô2	ˆi˜ô 	ô.˜8ô .ô87˜8ô 7ô.	Ð-¨{ô 	ô ô ô ô ô	Ð7¸ô 	ô ô ô ô ô	Ð7¸ô 	ô;˜(ô ;ô*,˜(ô ,ô*	Ð+¨[ô 	ô! ô !ô4& ô &ô4	Ð7¸ô 	ô˜xô ô˜xô ô	Ð5°{ô 	ô$˜Hô $ô&˜Hô &ô	Ð/°ö 	r   