Fixed bug.

This commit is contained in:
Преподобный Ален
2025-03-25 17:46:08 +03:00
parent 76a4e12f82
commit 0182cb46fd

View File

@@ -754,7 +754,7 @@ namespace Apostol {
Customer["address"] = formCustomerAddress.c_str();
if (!formSellerRating.IsEmpty())
if (!formCustomerRating.IsEmpty())
Customer["rating"] = formCustomerRating.c_str();
if (!formCustomerSignature.IsEmpty())
@@ -854,13 +854,19 @@ namespace Apostol {
if (!formSellerRating.IsEmpty())
Seller["rating"] = formSellerRating.c_str();
if (!formSellerSignature.IsEmpty())
Seller["signature"] = formSellerSignature.c_str();
YAML::Node Customer = Deal["customer"];
Customer["address"] = formCustomerAddress.c_str();
if (!formSellerRating.IsEmpty())
if (!formCustomerRating.IsEmpty())
Customer["rating"] = formCustomerRating.c_str();
if (!formCustomerSignature.IsEmpty())
Customer["signature"] = formCustomerSignature.c_str();
YAML::Node Payment = Deal["payment"];
if (!formPaymentAddress.IsEmpty())