Package beans.contract.entity

Examples of beans.contract.entity.ServicePriceDetails


            }


            ServicePrice servicePrice = priceMap.get(visitPrice.getId());
            if (servicePrice == null) {
                ServicePriceDetails d = new ServicePriceDetails();
                d.serviceID = service.getId();
                d.receptionTypeID = receptionType.getId();
                d.price = price; //договорная стоимость услгуи
                d.money = price; //сумма денег оплачиваемая за услугу страховой команией
                ModificationInfo mi = setService(d);
                auditDetList.addAll(mi.getAudit());
            } else {
                ServicePriceDetails d = servicePrice.getDetails(this);
                d.price = price; //договорная стоимость услгуи
                d.money = price; //сумма денег оплачиваемая за услугу страховой команией
                ModificationInfo mi = setService(d);
                auditDetList.addAll(mi.getAudit());
                priceMap.remove(visitPrice.getId());
View Full Code Here


        }
        if (servicePriceList.size() > 1) {
            throw new ClipsServerException("Найдены различные цены на услугу в договоре");
        }
        ServicePrice cs = servicePriceList.get(0);
        ServicePriceDetails details = cs.getDetails((RightChecker) this);
        int price = details.price;
        int money = details.money;
        //Ищем скидку
        int discount = getCalculatedDiscount();
        //сумма транзакций
View Full Code Here

                    }
                }
                if (copyServices.size() == 0) {
                    //Все нормально заполняем чанки
                    for (ServicePrice servicePrice : servicePriceList) {
                        ServicePriceDetails details = servicePrice.getDetails((RightChecker) this);
                        Integer money = null;
                        Integer price = null;
                        Integer discount = null;
                        if (!dublicate){
                            money = details.money;
View Full Code Here

    /**комбинированный ключ ID услуги, ID типа приема*/
    private Pair<DirectoryServiceItem, DirectoryReceptionTypeItem> key = new Pair<DirectoryServiceItem, DirectoryReceptionTypeItem>();

    public ServisePriceData(Pair<DirectoryServiceItem, DirectoryReceptionTypeItem> pair) throws ClipsException {
        super(new ServicePriceDetails());
        getDetails().serviceID = pair.first.getID();
        getDetails().receptionTypeID = pair.second.getID();
        getDetails().money = -1;
        getDetails().price = -1;
    }
View Full Code Here

TOP

Related Classes of beans.contract.entity.ServicePriceDetails

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.