generated from PenaSide/GolangTemplate
Update tariff.go
This commit is contained in:
parent
c63db0165a
commit
36518ff61d
@ -21,7 +21,7 @@ func TariffsToProductInformations(tarrifs []models.Tariff) []*discount.ProductIn
|
||||
func PrivilegeToProductInformation(privilege models.Privilege) *discount.ProductInformation {
|
||||
return &discount.ProductInformation{
|
||||
ID: privilege.ID,
|
||||
Price: privilege.Price,
|
||||
Price: privilege.Price * privilege.Amount,
|
||||
Group: &privilege.ServiceKey,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user