Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="discountvat"></param>
        public void Calculate_UnitDiscount(decimal discountvat)
        {
            decimal calc_discount = Vat.return_ValueWithoutVAT((int)id_vat_group, discountvat);

            ApplyDiscount_UnitPrice(_discount, calc_discount, unit_price);
            _discount = calc_discount;
            Calculate_SubTotalDiscount(_discount);
            RaisePropertyChanged("discount");
        }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 private void update_UnitPrice_WithoutVAT()
 {
     unit_cost = Vat.return_ValueWithoutVAT((int)id_vat_group, UnitCost_Vat);
     RaisePropertyChanged("unit_cost");
 }