Fixed bug.
This commit is contained in:
@@ -754,7 +754,7 @@ namespace Apostol {
|
|||||||
|
|
||||||
Customer["address"] = formCustomerAddress.c_str();
|
Customer["address"] = formCustomerAddress.c_str();
|
||||||
|
|
||||||
if (!formSellerRating.IsEmpty())
|
if (!formCustomerRating.IsEmpty())
|
||||||
Customer["rating"] = formCustomerRating.c_str();
|
Customer["rating"] = formCustomerRating.c_str();
|
||||||
|
|
||||||
if (!formCustomerSignature.IsEmpty())
|
if (!formCustomerSignature.IsEmpty())
|
||||||
@@ -854,13 +854,19 @@ namespace Apostol {
|
|||||||
if (!formSellerRating.IsEmpty())
|
if (!formSellerRating.IsEmpty())
|
||||||
Seller["rating"] = formSellerRating.c_str();
|
Seller["rating"] = formSellerRating.c_str();
|
||||||
|
|
||||||
|
if (!formSellerSignature.IsEmpty())
|
||||||
|
Seller["signature"] = formSellerSignature.c_str();
|
||||||
|
|
||||||
YAML::Node Customer = Deal["customer"];
|
YAML::Node Customer = Deal["customer"];
|
||||||
|
|
||||||
Customer["address"] = formCustomerAddress.c_str();
|
Customer["address"] = formCustomerAddress.c_str();
|
||||||
|
|
||||||
if (!formSellerRating.IsEmpty())
|
if (!formCustomerRating.IsEmpty())
|
||||||
Customer["rating"] = formCustomerRating.c_str();
|
Customer["rating"] = formCustomerRating.c_str();
|
||||||
|
|
||||||
|
if (!formCustomerSignature.IsEmpty())
|
||||||
|
Customer["signature"] = formCustomerSignature.c_str();
|
||||||
|
|
||||||
YAML::Node Payment = Deal["payment"];
|
YAML::Node Payment = Deal["payment"];
|
||||||
|
|
||||||
if (!formPaymentAddress.IsEmpty())
|
if (!formPaymentAddress.IsEmpty())
|
||||||
|
|||||||
Reference in New Issue
Block a user