Subversion Repositories SmartDukaan

Rev

Rev 14942 | Rev 14944 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14942 Rev 14943
Line 621... Line 621...
621
            commission =  (((snapdealItem.getCommissionPercentageVoi()/100)+mpItem.getPgFee()/100)*snapdealItem.getVoiSellingPrice());
621
            commission =  (((snapdealItem.getCommissionPercentageVoi()/100)+mpItem.getPgFee()/100)*snapdealItem.getVoiSellingPrice());
622
        }
622
        }
623
        else{
623
        else{
624
            commission =  ((snapdealItem.getCommissionPercentageVoi()/100)*snapdealItem.getVoiSellingPrice()+20);
624
            commission =  ((snapdealItem.getCommissionPercentageVoi()/100)*snapdealItem.getVoiSellingPrice()+20);
625
        }
625
        }
626
        double service_tax = (mpItem.getServiceTax()/100)*(snapdealItem.getCommission()+courierCostMp);
626
        double service_tax = (mpItem.getServiceTax()/100)*(snapdealItem.getCommissionVoi()+courierCostMp);
627
        double lowest_possible_sp = 0.0;
627
        double lowest_possible_sp = 0.0;
628
        if ((mpItem.getPgFee()/100)*snapdealItem.getVoiSellingPrice()>=20){
628
        if ((mpItem.getPgFee()/100)*snapdealItem.getVoiSellingPrice()>=20){
629
            lowest_possible_sp = (nlc+(courierCostMp+mpItem.getClosingFee())*(1+(mpItem.getServiceTax()/100))*(1+(mpItem.getVat()/100))+(mpItem.getPackagingCost()+mpItem.getOtherCost())*(1+(mpItem.getVat())/100))/(1-((snapdealItem.getCommissionPercentageVoi()/100)+mpItem.getEmiFee()/100+mpItem.getPgFee()/100)*(1+(mpItem.getServiceTax()/100))*(1+(mpItem.getVat())/100)-(mpItem.getReturnProvision()/100)*(1+(mpItem.getVat())/100));
629
            lowest_possible_sp = (nlc+(courierCostMp+mpItem.getClosingFee())*(1+(mpItem.getServiceTax()/100))*(1+(mpItem.getVat()/100))+(mpItem.getPackagingCost()+mpItem.getOtherCost())*(1+(mpItem.getVat())/100))/(1-((snapdealItem.getCommissionPercentageVoi()/100)+mpItem.getEmiFee()/100+mpItem.getPgFee()/100)*(1+(mpItem.getServiceTax()/100))*(1+(mpItem.getVat())/100)-(mpItem.getReturnProvision()/100)*(1+(mpItem.getVat())/100));
630
        }
630
        }
631
        else{
631
        else{