Add void and printer type
This commit is contained in:
@@ -108,6 +108,7 @@ func OrderModelToContract(resp *models.OrderResponse) *contract.OrderResponse {
|
||||
Status: string(item.Status),
|
||||
CreatedAt: item.CreatedAt,
|
||||
UpdatedAt: item.UpdatedAt,
|
||||
PrinterType: item.PrinterType,
|
||||
}
|
||||
}
|
||||
return &contract.OrderResponse{
|
||||
@@ -127,6 +128,7 @@ func OrderModelToContract(resp *models.OrderResponse) *contract.OrderResponse {
|
||||
CreatedAt: resp.CreatedAt,
|
||||
UpdatedAt: resp.UpdatedAt,
|
||||
OrderItems: items,
|
||||
IsRefund: resp.IsRefund,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user