:art: ComponentId_3 change to use chinese rmb format

huangqimin001 %!s(int64=9) %!d(string=hace) meses
padre
commit
ca6c635315
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/lensman/contract_mp_views.py

+ 1 - 1
api/lensman/contract_mp_views.py

@@ -155,7 +155,7 @@ def create_contribution_contract_document(lensman, contribution_id, file_ids, Fl
155 155
         "ComponentValue": str(income.amount),
156 156
     }, {
157 157
         "ComponentId": "ComponentId_3",
158
-        "ComponentValue": "零",
158
+        "ComponentValue": cn2an.an2cn(income.amount, mode='rmb'),
159 159
     }]
160 160
 
161 161
     for idx, file_id in enumerate(file_ids):