(20250225) FMFLFLFLFL

This commit is contained in:
2025-02-25 17:00:13 +05:30
parent b70b40c4b2
commit e1a42aae32
@@ -385,9 +385,9 @@ class PaymentsController(CoreAuthTokenController, ABC):
url = "https://api.thecaoffice.com/account/sales/transaction/add", url = "https://api.thecaoffice.com/account/sales/transaction/add",
headers = {"X-Session-Token": session_token}, headers = {"X-Session-Token": session_token},
json = { json = {
"transactionDate": date_time.get_current_date_time().strftime("%Y-%m-%d"), "transactionDate": date_time.get_current_ist_date_time().strftime("%Y-%m-%d"),
"clientId": payment.metadata.idClient, "clientId": payment.metadata.idClient,
"clientName": payment.metadata., "clientName": payment.metadata.clientName,
"clientAddress": None, "clientAddress": None,
"deliveryAddress": None, "deliveryAddress": None,
"total": payment.amount, "total": payment.amount,