Exemple #1
0
        public void addNewCart(string jobType, string printingType, string printingTitle, string previewFile, decimal quantity, string quantityType, decimal counter, decimal inschiet, string inschietType, string material, string paperSize, string imageSize, string sidePrint, decimal totalPlat, string description, string note, decimal hargaAsli, decimal hargaMaterial, decimal hargaOngkosCetak, DateTime deadline, List <string[]> finishing)
        {
            PrintingCreateSalesList temp = new PrintingCreateSalesList(this, jobType, printingType, printingTitle, previewFile, quantity, quantityType, counter, inschiet, inschietType, material, paperSize, imageSize, sidePrint, totalPlat, description, note, hargaAsli, hargaMaterial, hargaOngkosCetak, deadline, finishing);

            cart.Add(temp);
            refreshCartList();
        }
Exemple #2
0
 internal void updateList(PrintingCreateSalesList selected)
 {
     if (selected.jobType == "OF" || selected.jobType == "DG" || selected.jobType == "PL" || selected.jobType == "LL")
     {
         SubSalesOffset offset = new SubSalesOffset(main, this, "update");
         offset.Show();
         offset.setData(selected);
         offset.BringToFront();
     }
     else if (selected.jobType == "ST")
     {
         SubSalesSetting setting = new SubSalesSetting(main, this, "update");
         setting.Show();
         setting.setData(selected);
         setting.BringToFront();
     }
 }
Exemple #3
0
 internal void deleteList(PrintingCreateSalesList selected)
 {
     cart.Remove(selected);
     refreshCartList();
 }