@@ -246,11 +246,6 @@ void CampService::calcPeople(CampDataPtr data)
|
||||
}
|
||||
}
|
||||
|
||||
if (item->adbItem()->ztp())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (sale != QDecDouble(0) && !fixedSale)
|
||||
{
|
||||
QDecDouble itemSale = (item->price() * sale) / 100;
|
||||
@@ -331,6 +326,11 @@ void CampService::calcPrice(CampDataPtr data)
|
||||
|
||||
void CampService::addAccFee(CampDataPtr data, AddressItemPtr item, int startAge, int endAge, int days)
|
||||
{
|
||||
if (item->adbItem()->ztp())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
auto addAccService = [this, item, data](int count){
|
||||
ServiceItemPtr srvItem(new ServiceItem);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user