public void cal_price_items()
    {
        int paid_count = Paid_MaSP.size();
        double  temp_price;
        giaS_mode = select_price.isSelected();
        if(giaS_mode)
        {
            select_price.setText("Bán giá Sỹ");
            select_price.setToolTipText("GIÁ SỸ");
        }
        else
        {
            select_price.setText("Bán giá Lẻ");
            select_price.setToolTipText("GIÁ LẺ");
        }        
        if(paid_count > 0 )
        {
            for(int i =0; i< paid_count; i++)
            {
                if((boolean)bang_HoaDon.getValueAt(i, 7))
                {
                    if(giaS_mode)       //gia sy
                    {
                        temp_price = Paid_GiaSSP.get(i)*(Paid_SoLuongSP.get(i));
                    }
                    else
                    {
                        temp_price = Paid_GiaLSP.get(i)*(Paid_SoLuongSP.get(i));
                    }
                    Paid_TongGiaSP.set(i,temp_price);
                }
                bang_HoaDon.setValueAt(Paid_TongGiaSP.get(i), i, 6);
            }
            update_total_Paid_row();
        }
    }