feat: Implement manual payment system with gRPC service and related commands/queries
This commit is contained in:
@@ -163,7 +163,20 @@ message GetUserOrderResponse
|
||||
// نام کامل و کدملی کاربر
|
||||
google.protobuf.StringValue user_full_name = 15;
|
||||
google.protobuf.StringValue user_national_code = 16;
|
||||
// اطلاعات مالیات بر ارزش افزوده
|
||||
OrderVATInfo vat_info = 17;
|
||||
}
|
||||
|
||||
// اطلاعات مالیات بر ارزش افزوده
|
||||
message OrderVATInfo
|
||||
{
|
||||
double vat_rate = 1; // نرخ مالیات (مثلاً 0.09)
|
||||
int64 base_amount = 2; // مبلغ پایه (قبل از مالیات)
|
||||
int64 vat_amount = 3; // مبلغ مالیات
|
||||
int64 total_amount = 4; // مبلغ کل (پایه + مالیات)
|
||||
bool is_paid = 5; // آیا پرداخت شده
|
||||
}
|
||||
|
||||
message GetUserOrderResponseFactorDetail
|
||||
{
|
||||
int64 product_id = 1;
|
||||
@@ -236,6 +249,9 @@ message GetAllUserOrderByFilterResponseModel
|
||||
// نام کامل و کدملی کاربر
|
||||
google.protobuf.StringValue user_full_name = 15;
|
||||
google.protobuf.StringValue user_national_code = 16;
|
||||
// مبلغ و درصد مالیات بر ارزش افزوده
|
||||
int64 vat_amount = 17;
|
||||
double vat_percentage = 18;
|
||||
}
|
||||
message GetAllUserOrderByFilterResponseModelFactorDetail
|
||||
{
|
||||
@@ -352,4 +368,3 @@ message ProductPVDto
|
||||
int64 unit_pv = 4;
|
||||
int64 total_pv = 5;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user