Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public static Place GetPlaceById(long placeId)
},
Geo = new GeoCoordinates
{
Latitude = (decimal?)51.7502,
Longitude = (decimal?)-1.2674
Latitude = 51.7502M,
Longitude = -1.2674M
},
Image = new List<ImageObject> {
new ImageObject
Expand Down Expand Up @@ -97,8 +97,8 @@ public static Place GetPlaceById(long placeId)
},
Geo = new GeoCoordinates
{
Latitude = (decimal?)51.7504933,
Longitude = (decimal?)-1.2620685
Latitude = 51.7504933M,
Longitude = -1.2620685M
},
Image = new List<ImageObject> {
new ImageObject
Expand Down Expand Up @@ -145,8 +145,8 @@ public static Place GetPlaceById(long placeId)
},
Geo = new GeoCoordinates
{
Latitude = (decimal?)51.749826,
Longitude = (decimal?)-1.261492
Latitude = 51.749826M,
Longitude = -1.261492M
},
Image = new List<ImageObject> {
new ImageObject
Expand Down
4 changes: 2 additions & 2 deletions Examples/BookingSystem.AspNetCore/Stores/FacilityStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -652,9 +652,9 @@ private List<TaxChargeSpecification> GetUnitTaxSpecification(BookingFlowContext
new TaxChargeSpecification
{
Name = "VAT at 20%",
Price = slot.Price * (decimal?) 0.2,
Price = slot.Price * 0.2M,
PriceCurrency = "GBP",
Rate = (decimal?) 0.2
Rate = 0.2M
}
};
case TaxPayeeRelationship.BusinessToBusiness when !_appSettings.Payment.TaxCalculationB2B:
Expand Down
4 changes: 2 additions & 2 deletions Examples/BookingSystem.AspNetCore/Stores/SessionStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,9 @@ private List<TaxChargeSpecification> GetUnitTaxSpecification(BookingFlowContext
new TaxChargeSpecification
{
Name = "VAT at 20%",
Price = classes.Price * (decimal?)0.2,
Price = classes.Price * 0.2M,
PriceCurrency = "GBP",
Rate = (decimal?)0.2
Rate = 0.2M
}
};
case TaxPayeeRelationship.BusinessToBusiness when !_appSettings.Payment.TaxCalculationB2B:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -652,9 +652,9 @@ private List<TaxChargeSpecification> GetUnitTaxSpecification(BookingFlowContext
new TaxChargeSpecification
{
Name = "VAT at 20%",
Price = slot.Price * (decimal?) 0.2,
Price = slot.Price * 0.2M,
PriceCurrency = "GBP",
Rate = (decimal?) 0.2
Rate = 0.2M
}
};
case TaxPayeeRelationship.BusinessToBusiness when !_appSettings.Payment.TaxCalculationB2B:
Expand Down
4 changes: 2 additions & 2 deletions Examples/BookingSystem.AspNetFramework/Stores/SessionStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,9 @@ private List<TaxChargeSpecification> GetUnitTaxSpecification(BookingFlowContext
new TaxChargeSpecification
{
Name = "VAT at 20%",
Price = classes.Price * (decimal?)0.2,
Price = classes.Price * 0.2M,
PriceCurrency = "GBP",
Rate = (decimal?)0.2
Rate = 0.2M
}
};
case TaxPayeeRelationship.BusinessToBusiness when !_appSettings.Payment.TaxCalculationB2B:
Expand Down
Loading