├── .idea ├── .name ├── .gitignore ├── libraries │ └── javax_mail__1_.xml ├── misc.xml ├── dataSources.xml ├── compiler.xml └── jarRepositories.xml ├── target └── classes │ ├── scema │ └── scema.sql │ ├── assests │ └── imgs │ │ ├── eye.png │ │ ├── order.png │ │ ├── userM.png │ │ ├── paynew.png │ │ ├── searchs.png │ │ ├── employees.png │ │ ├── homenewone.png │ │ ├── menunew1.png │ │ ├── micnewone.png │ │ ├── playarrow.png │ │ ├── qrnewone.png │ │ ├── supplier.png │ │ ├── clothenewone.png │ │ ├── invisiblenew.png │ │ ├── needlesnewne.jpg │ │ ├── nylonnewone.jpg │ │ ├── settingsicon.png │ │ ├── suppliersnew.png │ │ ├── threadnewone.jpg │ │ ├── woolnewone1.jpg │ │ ├── Customerneqone.png │ │ ├── businessnewone.png │ │ ├── checklistnewone.png │ │ ├── clothesnewone.png │ │ ├── cottonnewone1.jpg │ │ ├── customersnewone.png │ │ ├── economynewone.png │ │ ├── expensenewone.png │ │ ├── leathernewone.jpg │ │ ├── machinenewone.png │ │ ├── materialnewone.png │ │ ├── materialsnewone.png │ │ ├── polysternewone1.jpg │ │ ├── previousnewone1.png │ │ ├── rewindbutton1.png │ │ ├── sewingmachine.png │ │ ├── vectorgarment.jpg │ │ ├── cardpaymentnewone.png │ │ ├── incomedetailnewone.png │ │ ├── mobilepaymentnewone.png │ │ ├── notificationnewone.png │ │ ├── clothes(formlogin page).jpg │ │ └── clothes2(formlogin page).jpg │ ├── lk │ └── ijse │ │ └── garment │ │ ├── db │ │ ├── db.class │ │ └── DBConnection.class │ │ ├── bo │ │ ├── SuperBo.class │ │ ├── BoFactory.class │ │ ├── BoFactory$1.class │ │ ├── custom │ │ │ ├── OrderBo.class │ │ │ ├── ClothesBo.class │ │ │ ├── CustomerBo.class │ │ │ ├── EmployeeBo.class │ │ │ ├── IncomeBo.class │ │ │ ├── MaterialBo.class │ │ │ ├── SupplierBo.class │ │ │ ├── EmployeePayBo.class │ │ │ └── impl │ │ │ │ ├── IncomeBoImpl.class │ │ │ │ ├── OrderBoImpl.class │ │ │ │ ├── ClothesBoImpl.class │ │ │ │ ├── CustomerBoImpl.class │ │ │ │ ├── EmployeeBoImpl.class │ │ │ │ ├── MaterialBoImpl.class │ │ │ │ ├── SupplierBoImpl.class │ │ │ │ └── EmployeePayBoImpl.class │ │ └── BoFactory$BoType.class │ │ ├── dao │ │ ├── CrudDao.class │ │ ├── SuperDao.class │ │ ├── DaoFactory.class │ │ ├── DaoFactory$1.class │ │ ├── custom │ │ │ ├── OrderDao.class │ │ │ ├── QueryDao.class │ │ │ ├── ClothesDao.class │ │ │ ├── CustomerDao.class │ │ │ ├── EmployeeDao.class │ │ │ ├── MaterialDao.class │ │ │ ├── SupplierDao.class │ │ │ ├── EmployeePayDao.class │ │ │ ├── OtherQueryDao.class │ │ │ └── impl │ │ │ │ ├── ClothesDaoImpl.class │ │ │ │ ├── OrderDaoImpl.class │ │ │ │ ├── QueryDaoImpl.class │ │ │ │ ├── util │ │ │ │ └── SqlUTIL.class │ │ │ │ ├── CustomerDaoImpl.class │ │ │ │ ├── EmployeeDaoImpl.class │ │ │ │ ├── MaterialDaoImpl.class │ │ │ │ ├── SupplierDaoImpl.class │ │ │ │ ├── EmployeePayDaoImpl.class │ │ │ │ └── OtherQueryDaoImpl.class │ │ └── DaoFactory$DaoType.class │ │ ├── dto │ │ └── tm │ │ │ ├── Order.class │ │ │ ├── Place.class │ │ │ ├── Clothes.class │ │ │ ├── Customer.class │ │ │ ├── Employee.class │ │ │ ├── Material.class │ │ │ ├── Supplier.class │ │ │ ├── tm │ │ │ ├── PlaceTM.class │ │ │ ├── ClothesTM.class │ │ │ ├── CustomerTM.class │ │ │ ├── EmployeeTM.class │ │ │ ├── MaterialTM.class │ │ │ ├── SupplierTM.class │ │ │ ├── IncomedetailsTM.class │ │ │ └── NotificationTM.class │ │ │ ├── EmployeePay.class │ │ │ ├── Incomedetails.class │ │ │ └── Notification.class │ │ ├── entity │ │ ├── Order.class │ │ ├── Clothes.class │ │ ├── Customer.class │ │ ├── Employee.class │ │ ├── Material.class │ │ ├── Supplier.class │ │ ├── IncomeDetails.class │ │ ├── CustomerIncome.class │ │ └── EmployeePayment.class │ │ ├── model │ │ ├── Launcher.class │ │ ├── PlaceModel.class │ │ ├── ClothesModel$1.class │ │ ├── ClothesModel.class │ │ ├── CustomerModel.class │ │ ├── EmployeeModel.class │ │ ├── MaterialModel.class │ │ ├── PlaceModel$1.class │ │ ├── SupplierModel.class │ │ ├── CustomerModel$1.class │ │ ├── EmployeeModel$1.class │ │ ├── MaterialModel$1.class │ │ ├── SupplierModel$1.class │ │ ├── IncomedetailsModel.class │ │ ├── ManagematerialModel.class │ │ ├── ManagesupplierModel.class │ │ ├── NotificationModel$1.class │ │ ├── NotificationModel.class │ │ ├── manageclothesModel.class │ │ └── IncomedetailsModel$1.class │ │ └── controller │ │ ├── Launcher.class │ │ ├── Qrreader.class │ │ ├── qrsender.class │ │ ├── Qrgenrator.class │ │ ├── qrsender$1.class │ │ ├── JavaEmailSender.class │ │ ├── JavaEmailSender$1.class │ │ ├── PayFormController.class │ │ ├── PaymentFormController.class │ │ ├── UpdateFormController.class │ │ ├── FirstpageFormController.class │ │ ├── LoginpageFormController.class │ │ ├── PlaceorderFormController.class │ │ ├── CustomerpayFormController.class │ │ ├── FirstpageFormController$1.class │ │ ├── FirstpageFormController$2.class │ │ ├── FirstpageFormController$3.class │ │ ├── FirstpageFormController$4.class │ │ ├── FirstpageFormController$5.class │ │ ├── ManageorderFormController.class │ │ ├── NotificationFormController.class │ │ ├── CustomerpaymentFormController.class │ │ ├── CustomertableFromController.class │ │ ├── EmployeetableFromController.class │ │ ├── ManageclothesFormController.class │ │ ├── ManagecustomerFormController.class │ │ ├── ManageemployeeFormController.class │ │ ├── ManagemachineFormController.class │ │ ├── ManagematerialFormController.class │ │ ├── ManagepaymentFormController.class │ │ ├── ManagesupplierFormController.class │ │ ├── MaterialtableFormController.class │ │ ├── PlaceordertableFormController.class │ │ ├── SuppliertableFromController.class │ │ ├── AcceptorderdetailFormController.class │ │ ├── EmployeepaymenttableController.class │ │ └── SupplierpaymenttableFormController.class │ ├── voicecode │ ├── 6860.dic │ └── 6860.lm │ ├── jasper │ └── .project │ ├── paymentjasper │ └── .project │ └── view │ ├── customerpay_form.fxml │ ├── notification_form.fxml │ ├── placeordertable_form.fxml │ ├── supplierpaymenttable_form.fxml │ ├── employeepaymenttable.fxml │ └── payment_form.fxml ├── src └── main │ ├── resources │ ├── scema │ │ └── scema.sql │ ├── assests │ │ └── imgs │ │ │ ├── eye.png │ │ │ ├── order.png │ │ │ ├── paynew.png │ │ │ ├── userM.png │ │ │ ├── menunew1.png │ │ │ ├── qrnewone.png │ │ │ ├── searchs.png │ │ │ ├── supplier.png │ │ │ ├── employees.png │ │ │ ├── homenewone.png │ │ │ ├── micnewone.png │ │ │ ├── nylonnewone.jpg │ │ │ ├── playarrow.png │ │ │ ├── woolnewone1.jpg │ │ │ ├── clothenewone.png │ │ │ ├── clothesnewone.png │ │ │ ├── cottonnewone1.jpg │ │ │ ├── economynewone.png │ │ │ ├── expensenewone.png │ │ │ ├── invisiblenew.png │ │ │ ├── leathernewone.jpg │ │ │ ├── machinenewone.png │ │ │ ├── needlesnewne.jpg │ │ │ ├── rewindbutton1.png │ │ │ ├── settingsicon.png │ │ │ ├── sewingmachine.png │ │ │ ├── suppliersnew.png │ │ │ ├── threadnewone.jpg │ │ │ ├── vectorgarment.jpg │ │ │ ├── Customerneqone.png │ │ │ ├── businessnewone.png │ │ │ ├── checklistnewone.png │ │ │ ├── customersnewone.png │ │ │ ├── materialnewone.png │ │ │ ├── materialsnewone.png │ │ │ ├── polysternewone1.jpg │ │ │ ├── previousnewone1.png │ │ │ ├── cardpaymentnewone.png │ │ │ ├── incomedetailnewone.png │ │ │ ├── notificationnewone.png │ │ │ ├── mobilepaymentnewone.png │ │ │ ├── clothes(formlogin page).jpg │ │ │ └── clothes2(formlogin page).jpg │ ├── voicecode │ │ ├── 6860.dic │ │ └── 6860.lm │ ├── jasper │ │ └── .project │ ├── paymentjasper │ │ └── .project │ └── view │ │ ├── customerpay_form.fxml │ │ ├── notification_form.fxml │ │ ├── placeordertable_form.fxml │ │ ├── supplierpaymenttable_form.fxml │ │ ├── employeepaymenttable.fxml │ │ └── payment_form.fxml │ └── java │ └── lk │ └── ijse │ └── garment │ ├── bo │ ├── SuperBo.java │ ├── custom │ │ ├── IncomeBo.java │ │ ├── ClothesBo.java │ │ ├── OrderBo.java │ │ ├── EmployeePayBo.java │ │ ├── SupplierBo.java │ │ ├── MaterialBo.java │ │ ├── CustomerBo.java │ │ ├── EmployeeBo.java │ │ └── impl │ │ │ ├── IncomeBoImpl.java │ │ │ ├── ClothesBoImpl.java │ │ │ ├── OrderBoImpl.java │ │ │ ├── EmployeePayBoImpl.java │ │ │ ├── SupplierBoImpl.java │ │ │ ├── MaterialBoImpl.java │ │ │ ├── CustomerBoImpl.java │ │ │ └── EmployeeBoImpl.java │ └── BoFactory.java │ ├── dao │ ├── SuperDao.java │ ├── custom │ │ ├── QueryDao.java │ │ ├── impl │ │ │ ├── QueryDaoImpl.java │ │ │ ├── util │ │ │ │ └── SqlUTIL.java │ │ │ ├── ClothesDaoImpl.java │ │ │ ├── OrderDaoImpl.java │ │ │ ├── EmployeePayDaoImpl.java │ │ │ ├── CustomerDaoImpl.java │ │ │ ├── MaterialDaoImpl.java │ │ │ ├── SupplierDaoImpl.java │ │ │ └── EmployeeDaoImpl.java │ │ ├── OrderDao.java │ │ ├── ClothesDao.java │ │ ├── CustomerDao.java │ │ ├── EmployeeDao.java │ │ ├── MaterialDao.java │ │ ├── SupplierDao.java │ │ ├── EmployeePayDao.java │ │ └── OtherQueryDao.java │ ├── CrudDao.java │ └── DaoFactory.java │ ├── controller │ ├── Qrreader.java │ ├── CustomerpayFormController.java │ ├── Launcher.java │ ├── ManagemachineFormController.java │ ├── Qrgenrator.java │ ├── JavaEmailSender.java │ ├── qrsender.java │ ├── AcceptorderdetailFormController.java │ └── NotificationFormController.java │ ├── lib │ └── javax.mail (1).jar │ ├── dto │ └── tm │ │ ├── EmployeePay.java │ │ ├── tm │ │ ├── MaterialTM.java │ │ ├── IncomedetailsTM.java │ │ ├── NotificationTM.java │ │ ├── SupplierTM.java │ │ ├── PlaceTM.java │ │ ├── ClothesTM.java │ │ ├── CustomerTM.java │ │ └── EmployeeTM.java │ │ ├── Order.java │ │ ├── Notification.java │ │ ├── Place.java │ │ ├── Supplier.java │ │ ├── Clothes.java │ │ ├── Incomedetails.java │ │ ├── Material.java │ │ ├── Employee.java │ │ └── Customer.java │ ├── entity │ ├── CustomerIncome.java │ ├── EmployeePayment.java │ ├── IncomeDetails.java │ ├── Supplier.java │ ├── Order.java │ ├── Material.java │ ├── Clothes.java │ └── Employee.java │ ├── db │ ├── db.java │ └── DBConnection.java │ └── model │ ├── Launcher.java │ ├── MaterialModel.java │ ├── IncomedetailsModel.java │ ├── PlaceModel.java │ ├── SupplierModel.java │ ├── NotificationModel.java │ ├── CustomerModel.java │ ├── ClothesModel.java │ ├── EmployeeModel.java │ └── manageclothesModel.java └── pom.xml /.idea/.name: -------------------------------------------------------------------------------- 1 | fashionFlow -------------------------------------------------------------------------------- /target/classes/scema/scema.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/resources/scema/scema.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/SuperBo.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo; 2 | 3 | public interface SuperBo { 4 | } 5 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/SuperDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao; 2 | 3 | public interface SuperDao { 4 | } 5 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/controller/Qrreader.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.controller; 2 | 3 | public class Qrreader { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/QueryDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom; 2 | 3 | public interface QueryDao { 4 | } 5 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/impl/QueryDaoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom.impl; 2 | 3 | public class QueryDaoImpl { 4 | } 5 | -------------------------------------------------------------------------------- /target/classes/assests/imgs/eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/eye.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/order.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/userM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/userM.png -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/controller/CustomerpayFormController.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.controller; 2 | 3 | public class CustomerpayFormController { 4 | } 5 | -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/eye.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/paynew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/paynew.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/searchs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/searchs.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/order.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/paynew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/paynew.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/userM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/userM.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/employees.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/employees.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/homenewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/homenewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/menunew1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/menunew1.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/micnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/micnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/playarrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/playarrow.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/qrnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/qrnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/supplier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/supplier.png -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/db/db.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/db/db.class -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/menunew1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/menunew1.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/qrnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/qrnewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/searchs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/searchs.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/supplier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/supplier.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/clothenewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/clothenewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/invisiblenew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/invisiblenew.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/needlesnewne.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/needlesnewne.jpg -------------------------------------------------------------------------------- /target/classes/assests/imgs/nylonnewone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/nylonnewone.jpg -------------------------------------------------------------------------------- /target/classes/assests/imgs/settingsicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/settingsicon.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/suppliersnew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/suppliersnew.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/threadnewone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/threadnewone.jpg -------------------------------------------------------------------------------- /target/classes/assests/imgs/woolnewone1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/woolnewone1.jpg -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/employees.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/employees.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/homenewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/homenewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/micnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/micnewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/nylonnewone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/nylonnewone.jpg -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/playarrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/playarrow.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/woolnewone1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/woolnewone1.jpg -------------------------------------------------------------------------------- /target/classes/assests/imgs/Customerneqone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/Customerneqone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/businessnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/businessnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/checklistnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/checklistnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/clothesnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/clothesnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/cottonnewone1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/cottonnewone1.jpg -------------------------------------------------------------------------------- /target/classes/assests/imgs/customersnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/customersnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/economynewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/economynewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/expensenewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/expensenewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/leathernewone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/leathernewone.jpg -------------------------------------------------------------------------------- /target/classes/assests/imgs/machinenewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/machinenewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/materialnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/materialnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/materialsnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/materialsnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/polysternewone1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/polysternewone1.jpg -------------------------------------------------------------------------------- /target/classes/assests/imgs/previousnewone1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/previousnewone1.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/rewindbutton1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/rewindbutton1.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/sewingmachine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/sewingmachine.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/vectorgarment.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/vectorgarment.jpg -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/SuperBo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/SuperBo.class -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/clothenewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/clothenewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/clothesnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/clothesnewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/cottonnewone1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/cottonnewone1.jpg -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/economynewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/economynewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/expensenewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/expensenewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/invisiblenew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/invisiblenew.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/leathernewone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/leathernewone.jpg -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/machinenewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/machinenewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/needlesnewne.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/needlesnewne.jpg -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/rewindbutton1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/rewindbutton1.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/settingsicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/settingsicon.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/sewingmachine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/sewingmachine.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/suppliersnew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/suppliersnew.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/threadnewone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/threadnewone.jpg -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/vectorgarment.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/vectorgarment.jpg -------------------------------------------------------------------------------- /target/classes/assests/imgs/cardpaymentnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/cardpaymentnewone.png -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/BoFactory.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/BoFactory.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/CrudDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/CrudDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/SuperDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/SuperDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/Order.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/Order.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/Place.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/Place.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/entity/Order.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/entity/Order.class -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/lib/javax.mail (1).jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/java/lk/ijse/garment/lib/javax.mail (1).jar -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/Customerneqone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/Customerneqone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/businessnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/businessnewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/checklistnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/checklistnewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/customersnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/customersnewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/materialnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/materialnewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/materialsnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/materialsnewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/polysternewone1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/polysternewone1.jpg -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/previousnewone1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/previousnewone1.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/incomedetailnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/incomedetailnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/mobilepaymentnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/mobilepaymentnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/notificationnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/notificationnewone.png -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/BoFactory$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/BoFactory$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/DaoFactory.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/DaoFactory.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/db/DBConnection.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/db/DBConnection.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/Clothes.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/Clothes.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/Customer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/Customer.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/Employee.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/Employee.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/Material.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/Material.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/Supplier.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/Supplier.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/entity/Clothes.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/entity/Clothes.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/entity/Customer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/entity/Customer.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/entity/Employee.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/entity/Employee.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/entity/Material.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/entity/Material.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/entity/Supplier.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/entity/Supplier.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/Launcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/Launcher.class -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/cardpaymentnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/cardpaymentnewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/incomedetailnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/incomedetailnewone.png -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/notificationnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/notificationnewone.png -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/OrderBo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/OrderBo.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/DaoFactory$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/DaoFactory$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/tm/PlaceTM.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/tm/PlaceTM.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/PlaceModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/PlaceModel.class -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/mobilepaymentnewone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/mobilepaymentnewone.png -------------------------------------------------------------------------------- /target/classes/assests/imgs/clothes(formlogin page).jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/clothes(formlogin page).jpg -------------------------------------------------------------------------------- /target/classes/assests/imgs/clothes2(formlogin page).jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/assests/imgs/clothes2(formlogin page).jpg -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/BoFactory$BoType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/BoFactory$BoType.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/ClothesBo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/ClothesBo.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/CustomerBo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/CustomerBo.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/EmployeeBo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/EmployeeBo.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/IncomeBo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/IncomeBo.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/MaterialBo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/MaterialBo.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/SupplierBo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/SupplierBo.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/Launcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/Launcher.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/Qrreader.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/Qrreader.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/qrsender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/qrsender.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/OrderDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/OrderDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/QueryDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/QueryDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/EmployeePay.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/EmployeePay.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/Incomedetails.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/Incomedetails.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/Notification.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/Notification.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/tm/ClothesTM.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/tm/ClothesTM.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/tm/CustomerTM.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/tm/CustomerTM.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/tm/EmployeeTM.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/tm/EmployeeTM.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/tm/MaterialTM.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/tm/MaterialTM.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/tm/SupplierTM.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/tm/SupplierTM.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/entity/IncomeDetails.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/entity/IncomeDetails.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/ClothesModel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/ClothesModel$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/ClothesModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/ClothesModel.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/CustomerModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/CustomerModel.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/EmployeeModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/EmployeeModel.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/MaterialModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/MaterialModel.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/PlaceModel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/PlaceModel$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/SupplierModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/SupplierModel.class -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/clothes(formlogin page).jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/clothes(formlogin page).jpg -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/Qrgenrator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/Qrgenrator.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/qrsender$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/qrsender$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/DaoFactory$DaoType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/DaoFactory$DaoType.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/ClothesDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/ClothesDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/CustomerDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/CustomerDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/EmployeeDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/EmployeeDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/MaterialDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/MaterialDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/SupplierDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/SupplierDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/entity/CustomerIncome.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/entity/CustomerIncome.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/entity/EmployeePayment.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/entity/EmployeePayment.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/CustomerModel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/CustomerModel$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/EmployeeModel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/EmployeeModel$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/MaterialModel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/MaterialModel$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/SupplierModel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/SupplierModel$1.class -------------------------------------------------------------------------------- /src/main/resources/assests/imgs/clothes2(formlogin page).jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/src/main/resources/assests/imgs/clothes2(formlogin page).jpg -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/EmployeePayBo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/EmployeePayBo.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/EmployeePayDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/EmployeePayDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/OtherQueryDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/OtherQueryDao.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/tm/IncomedetailsTM.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/tm/IncomedetailsTM.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dto/tm/tm/NotificationTM.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dto/tm/tm/NotificationTM.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/IncomedetailsModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/IncomedetailsModel.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/ManagematerialModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/ManagematerialModel.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/ManagesupplierModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/ManagesupplierModel.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/NotificationModel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/NotificationModel$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/NotificationModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/NotificationModel.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/manageclothesModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/manageclothesModel.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/impl/IncomeBoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/impl/IncomeBoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/impl/OrderBoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/impl/OrderBoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/JavaEmailSender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/JavaEmailSender.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/model/IncomedetailsModel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/model/IncomedetailsModel$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/impl/ClothesBoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/impl/ClothesBoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/impl/CustomerBoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/impl/CustomerBoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/impl/EmployeeBoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/impl/EmployeeBoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/impl/MaterialBoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/impl/MaterialBoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/impl/SupplierBoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/impl/SupplierBoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/JavaEmailSender$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/JavaEmailSender$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/PayFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/PayFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/impl/ClothesDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/impl/ClothesDaoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/impl/OrderDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/impl/OrderDaoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/impl/QueryDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/impl/QueryDaoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/impl/util/SqlUTIL.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/impl/util/SqlUTIL.class -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/bo/custom/impl/EmployeePayBoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/bo/custom/impl/EmployeePayBoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/PaymentFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/PaymentFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/UpdateFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/UpdateFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/impl/CustomerDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/impl/CustomerDaoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/impl/EmployeeDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/impl/EmployeeDaoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/impl/MaterialDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/impl/MaterialDaoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/impl/SupplierDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/impl/SupplierDaoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/FirstpageFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/FirstpageFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/LoginpageFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/LoginpageFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/PlaceorderFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/PlaceorderFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/impl/EmployeePayDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/impl/EmployeePayDaoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/dao/custom/impl/OtherQueryDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/dao/custom/impl/OtherQueryDaoImpl.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/CustomerpayFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/CustomerpayFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/FirstpageFormController$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/FirstpageFormController$1.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/FirstpageFormController$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/FirstpageFormController$2.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/FirstpageFormController$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/FirstpageFormController$3.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/FirstpageFormController$4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/FirstpageFormController$4.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/FirstpageFormController$5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/FirstpageFormController$5.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/ManageorderFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/ManageorderFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/NotificationFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/NotificationFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/CustomerpaymentFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/CustomerpaymentFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/CustomertableFromController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/CustomertableFromController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/EmployeetableFromController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/EmployeetableFromController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/ManageclothesFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/ManageclothesFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/ManagecustomerFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/ManagecustomerFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/ManageemployeeFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/ManageemployeeFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/ManagemachineFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/ManagemachineFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/ManagematerialFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/ManagematerialFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/ManagepaymentFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/ManagepaymentFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/ManagesupplierFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/ManagesupplierFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/MaterialtableFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/MaterialtableFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/PlaceordertableFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/PlaceordertableFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/SuppliertableFromController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/SuppliertableFromController.class -------------------------------------------------------------------------------- /src/main/resources/voicecode/6860.dic: -------------------------------------------------------------------------------- 1 | CLTHES K L DH Z 2 | CUSTOMER K AH S T AH M ER 3 | EMPLOYEE EH M P L OY IY 4 | EMPLOYEE(2) IH M P L OY IY 5 | MATERIAL M AH T IH R IY AH L 6 | ORDER AO R D ER 7 | PAYMENT P EY M AH N T 8 | SUPPLIER S AH P L AY ER -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/AcceptorderdetailFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/AcceptorderdetailFormController.class -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/EmployeepaymenttableController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/EmployeepaymenttableController.class -------------------------------------------------------------------------------- /target/classes/voicecode/6860.dic: -------------------------------------------------------------------------------- 1 | CLTHES K L DH Z 2 | CUSTOMER K AH S T AH M ER 3 | EMPLOYEE EH M P L OY IY 4 | EMPLOYEE(2) IH M P L OY IY 5 | MATERIAL M AH T IH R IY AH L 6 | ORDER AO R D ER 7 | PAYMENT P EY M AH N T 8 | SUPPLIER S AH P L AY ER -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/OrderDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom; 2 | 3 | import lk.ijse.garment.dao.CrudDao; 4 | import lk.ijse.garment.entity.Order; 5 | 6 | public interface OrderDao extends CrudDao { 7 | } 8 | -------------------------------------------------------------------------------- /target/classes/lk/ijse/garment/controller/SupplierpaymenttableFormController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VishalSandakelum/GarmentSolution-Layerd-Architecture-/HEAD/target/classes/lk/ijse/garment/controller/SupplierpaymenttableFormController.class -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/ClothesDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom; 2 | 3 | import lk.ijse.garment.dao.CrudDao; 4 | import lk.ijse.garment.entity.Clothes; 5 | 6 | public interface ClothesDao extends CrudDao { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/CustomerDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom; 2 | 3 | import lk.ijse.garment.dao.CrudDao; 4 | import lk.ijse.garment.entity.Customer; 5 | 6 | public interface CustomerDao extends CrudDao { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/EmployeeDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom; 2 | 3 | import lk.ijse.garment.dao.CrudDao; 4 | import lk.ijse.garment.entity.Employee; 5 | 6 | public interface EmployeeDao extends CrudDao { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/MaterialDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom; 2 | 3 | import lk.ijse.garment.dao.CrudDao; 4 | import lk.ijse.garment.entity.Material; 5 | 6 | public interface MaterialDao extends CrudDao { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/SupplierDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom; 2 | 3 | import lk.ijse.garment.dao.CrudDao; 4 | import lk.ijse.garment.entity.Supplier; 5 | 6 | public interface SupplierDao extends CrudDao { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/EmployeePayDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom; 2 | 3 | import lk.ijse.garment.dao.CrudDao; 4 | import lk.ijse.garment.entity.EmployeePayment; 5 | 6 | public interface EmployeePayDao extends CrudDao { 7 | } 8 | -------------------------------------------------------------------------------- /.idea/libraries/javax_mail__1_.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/EmployeePay.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class EmployeePay { 12 | String Date; 13 | String employee_id; 14 | String payment_id; 15 | double payment; 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/entity/CustomerIncome.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.entity; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class CustomerIncome { 12 | String Date; 13 | String order_id; 14 | String payment_id; 15 | double payment; 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/entity/EmployeePayment.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.entity; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class EmployeePayment { 12 | String Date; 13 | String employee_id; 14 | String payment_id; 15 | double payment; 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/tm/MaterialTM.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | public class MaterialTM { 11 | private String materialname; 12 | private String material_id; 13 | private String id; 14 | private String amount; 15 | private Double price; 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/Order.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class Order { 12 | 13 | private String customer_id; 14 | private String type; 15 | private String order_date; 16 | private String dead_date; 17 | private String order_id; 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/tm/IncomedetailsTM.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | public class IncomedetailsTM { 11 | private String id; 12 | private String month; 13 | private Double empaymenttotal; 14 | private Double cuspaymentotal; 15 | private Double proflose; 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/Notification.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class Notification { 12 | private String username; 13 | private String address; 14 | private String nicnumber; 15 | private String contactnumber; 16 | private String banknumber; 17 | private String gmail; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/tm/NotificationTM.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class NotificationTM { 12 | private String username; 13 | private String address; 14 | private String nicnumber; 15 | private String contactnumber; 16 | private String banknumber; 17 | private String gmail; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/tm/SupplierTM.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | public class SupplierTM { 11 | private String name; 12 | private String nic; 13 | private String gmail; 14 | private String address; 15 | private Integer conumber; 16 | private Integer banumber; 17 | private String id; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/IncomeBo.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom; 2 | 3 | import lk.ijse.garment.bo.SuperBo; 4 | import lk.ijse.garment.dto.tm.Incomedetails; 5 | 6 | import java.sql.SQLException; 7 | 8 | public interface IncomeBo extends SuperBo { 9 | public boolean saveIncome(Incomedetails dto)throws SQLException, ClassNotFoundException; 10 | public boolean getIncomeMonth(String Date)throws SQLException, ClassNotFoundException; 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/Place.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class Place { 12 | 13 | private String order_id; 14 | private String sku; 15 | private String quantity; 16 | private String unitprice; 17 | private String date; 18 | private double discount; 19 | private double total; 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/Supplier.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm; 2 | 3 | 4 | import lombok.*; 5 | 6 | @NoArgsConstructor 7 | @AllArgsConstructor 8 | @Getter 9 | @Setter 10 | @ToString 11 | 12 | 13 | public class Supplier { 14 | private String name; 15 | private String nic; 16 | private String gmail; 17 | private String address; 18 | private Integer conumber; 19 | private Integer banumber; 20 | private String id; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/Clothes.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class Clothes { 12 | private String type; 13 | private String sku; 14 | private String color; 15 | private String amount; 16 | private double price; 17 | private String mat_id; 18 | private String date; 19 | private double total; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/tm/PlaceTM.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class PlaceTM { 12 | 13 | private String order_id; 14 | private String sku; 15 | private String quantity; 16 | private String unitprice; 17 | private String date; 18 | private double discount; 19 | private double total; 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/tm/ClothesTM.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class ClothesTM { 12 | private String type; 13 | private String sku; 14 | private String color; 15 | private String amount; 16 | private double price; 17 | private String mat_id; 18 | private String date; 19 | private double total; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/tm/CustomerTM.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | public class CustomerTM { 11 | 12 | private String name; 13 | private String customer_id; 14 | private String nic_number; 15 | private Integer contact_number; 16 | private String address; 17 | private Integer bank_number; 18 | private String gmail; 19 | private String Date; 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/tm/EmployeeTM.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm.tm; 2 | 3 | 4 | import javafx.scene.control.Button; 5 | import lombok.*; 6 | 7 | @NoArgsConstructor 8 | @AllArgsConstructor 9 | @Getter 10 | @Setter 11 | @ToString 12 | public class EmployeeTM { 13 | 14 | private String name; 15 | private String nic; 16 | private String gmail; 17 | private Integer conumber; 18 | private String address; 19 | private String id; 20 | private Integer banumber; 21 | private String Date; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/dataSources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | mysql.8 6 | true 7 | com.mysql.cj.jdbc.Driver 8 | jdbc:mysql://localhost:3306/garment 9 | $ProjectFileDir$ 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/ClothesBo.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.bo.SuperBo; 5 | import lk.ijse.garment.dto.tm.Clothes; 6 | import lk.ijse.garment.dto.tm.Material; 7 | 8 | import java.sql.ResultSet; 9 | import java.sql.SQLException; 10 | import java.util.ArrayList; 11 | 12 | public interface ClothesBo extends SuperBo { 13 | boolean saveClothes(Clothes dto) throws SQLException, ClassNotFoundException; 14 | ObservableList getAllMaterId()throws SQLException, ClassNotFoundException; 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/OrderBo.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.bo.SuperBo; 5 | import lk.ijse.garment.dto.tm.Order; 6 | 7 | import java.sql.SQLException; 8 | 9 | public interface OrderBo extends SuperBo { 10 | boolean saveOrder(Order dto) throws SQLException, ClassNotFoundException; 11 | String getId()throws SQLException, ClassNotFoundException; 12 | ObservableList getAllCustomerId()throws SQLException, ClassNotFoundException; 13 | ObservableList getAllClothesku()throws SQLException, ClassNotFoundException; 14 | } 15 | -------------------------------------------------------------------------------- /target/classes/jasper/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | MyReports 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | net.sf.jasperreports.builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | net.sf.jasperreports.nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/resources/jasper/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | MyReports 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | net.sf.jasperreports.builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | net.sf.jasperreports.nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/main/resources/paymentjasper/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | MyReports 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | net.sf.jasperreports.builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | net.sf.jasperreports.nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /target/classes/paymentjasper/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | MyReports 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | net.sf.jasperreports.builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | net.sf.jasperreports.nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/controller/Launcher.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.controller; 2 | 3 | import javafx.application.Application; 4 | import javafx.fxml.FXMLLoader; 5 | import javafx.scene.Parent; 6 | import javafx.scene.Scene; 7 | import javafx.stage.Stage; 8 | 9 | public class Launcher extends Application { 10 | @Override 11 | public void start(Stage stage) throws Exception { 12 | Parent parent = FXMLLoader.load(getClass().getResource("/view/loginpage_form.fxml")); 13 | stage.setScene(new Scene(parent)); 14 | stage.setTitle("Loginpage"); 15 | stage.centerOnScreen(); 16 | stage.show(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/entity/IncomeDetails.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.entity; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class IncomeDetails { 12 | int id; 13 | String month; 14 | double empaymentotal; 15 | double cuspaymentotal; 16 | double proflose; 17 | 18 | public IncomeDetails(String month, Double empaymenttotal, Double cuspaymentotal, Double proflose) { 19 | this.month = month; 20 | this.empaymentotal = empaymenttotal; 21 | this.cuspaymentotal = cuspaymentotal; 22 | this.proflose = proflose; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/CrudDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao; 2 | 3 | import java.sql.SQLException; 4 | import java.util.ArrayList; 5 | 6 | public interface CrudDao extends SuperDao { 7 | 8 | ArrayList getAll() throws SQLException, ClassNotFoundException; 9 | 10 | boolean save(T dto) throws SQLException, ClassNotFoundException; 11 | 12 | boolean update(T dto) throws SQLException, ClassNotFoundException; 13 | 14 | boolean delete(Type type) throws SQLException, ClassNotFoundException; 15 | 16 | String generateNewID() throws SQLException, ClassNotFoundException; 17 | 18 | T search(Type type) throws SQLException, ClassNotFoundException; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/EmployeePayBo.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.dto.tm.EmployeePay; 5 | import lk.ijse.garment.dto.tm.Supplier; 6 | import lk.ijse.garment.entity.EmployeePayment; 7 | 8 | import java.sql.SQLException; 9 | 10 | public interface EmployeePayBo { 11 | boolean saveEmployeePay(EmployeePay dto) throws SQLException, ClassNotFoundException; 12 | String getId()throws SQLException, ClassNotFoundException; 13 | EmployeePayment searchEmployeePay(String id)throws SQLException, ClassNotFoundException; 14 | ObservableList getAllEmployeePay()throws SQLException, ClassNotFoundException; 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/Incomedetails.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | public class Incomedetails { 12 | private String id; 13 | private String month; 14 | private Double empaymenttotal; 15 | private Double cuspaymentotal; 16 | private Double proflose; 17 | 18 | public Incomedetails(String month, Double empaymenttotal, Double cuspaymentotal, Double proflose) { 19 | this.month = month; 20 | this.empaymenttotal = empaymenttotal; 21 | this.cuspaymentotal = cuspaymentotal; 22 | this.proflose = proflose; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/db/db.java: -------------------------------------------------------------------------------- 1 | 2 | package lk.ijse.garment.db; 3 | 4 | import java.sql.*; 5 | 6 | public class db { 7 | private static db dbConnection; 8 | private Connection con; 9 | 10 | private db() throws SQLException { 11 | con = DriverManager.getConnection( 12 | "jdbc:mysql://localhost:3306/customer", 13 | "root", 14 | "1234" 15 | ); 16 | } 17 | 18 | public static db getInstance() throws SQLException { 19 | 20 | return (null == dbConnection) ? dbConnection = new db() 21 | : dbConnection; 22 | } 23 | public Connection getConnection() { 24 | return con; 25 | } 26 | 27 | } 28 | 29 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/SupplierBo.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom; 2 | 3 | import lk.ijse.garment.bo.SuperBo; 4 | import lk.ijse.garment.dto.tm.Supplier; 5 | 6 | import java.sql.SQLException; 7 | 8 | public interface SupplierBo extends SuperBo { 9 | 10 | boolean saveSupplier(Supplier dto) throws SQLException, ClassNotFoundException; 11 | String getId()throws SQLException, ClassNotFoundException; 12 | boolean deleteSupplier(String id)throws SQLException, ClassNotFoundException; 13 | boolean updateSupplier(Supplier dto)throws SQLException, ClassNotFoundException; 14 | lk.ijse.garment.entity.Supplier searchSupplier(String id)throws SQLException, ClassNotFoundException; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/MaterialBo.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom; 2 | 3 | import lk.ijse.garment.bo.SuperBo; 4 | import lk.ijse.garment.entity.Material; 5 | 6 | import java.sql.SQLException; 7 | public interface MaterialBo extends SuperBo { 8 | boolean saveMaterial(lk.ijse.garment.dto.tm.Material dto) throws SQLException, ClassNotFoundException; 9 | String getId()throws SQLException, ClassNotFoundException; 10 | boolean deleteMaterial(String id)throws SQLException, ClassNotFoundException; 11 | boolean updateMaterial(lk.ijse.garment.dto.tm.Material dto)throws SQLException, ClassNotFoundException; 12 | Material searchMaterial(String id)throws SQLException, ClassNotFoundException; 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/model/Launcher.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.model; 2 | 3 | import javafx.application.Application; 4 | import javafx.fxml.FXMLLoader; 5 | import javafx.scene.Parent; 6 | import javafx.scene.Scene; 7 | import javafx.stage.Stage; 8 | 9 | public class Launcher extends Application { 10 | @Override 11 | public void start(Stage stage) throws Exception { 12 | //Parent parent = FXMLLoader.load(getClass().getResource("/view/Loginpage_form.fxml")); 13 | Parent parent = FXMLLoader.load(getClass().getResource("/view/firstpage_form.fxml")); 14 | stage.setScene(new Scene(parent)); 15 | stage.setTitle("Loginpage"); 16 | stage.centerOnScreen(); 17 | 18 | stage.show(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/Material.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm; 2 | 3 | import lombok.*; 4 | 5 | @NoArgsConstructor 6 | @AllArgsConstructor 7 | @Getter 8 | @Setter 9 | @ToString 10 | 11 | 12 | public class Material { 13 | private String materialname; 14 | private String material_id; 15 | private String id; 16 | private String amount; 17 | private Double price; 18 | 19 | public Material(String materialname, String id, String amount, double price, String material_id) { 20 | this.materialname = materialname; 21 | this.id = id; 22 | this.amount = amount; 23 | this.price = price; 24 | this.material_id = material_id; 25 | } 26 | 27 | public Material(String material_id) { 28 | this.material_id = material_id; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/db/DBConnection.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.db; 2 | 3 | import java.sql.Connection; 4 | import java.sql.DriverManager; 5 | import java.sql.SQLException; 6 | 7 | public class DBConnection { 8 | private static DBConnection dbConnection; 9 | private Connection con; 10 | 11 | private DBConnection() throws SQLException { 12 | con = DriverManager.getConnection( 13 | "jdbc:mysql://localhost:3306/garment", 14 | "root", 15 | "1234" 16 | ); 17 | } 18 | 19 | public static DBConnection getInstance() throws SQLException { 20 | 21 | return (null == dbConnection) ? dbConnection = new DBConnection() 22 | : dbConnection; 23 | } 24 | public Connection getConnection() { 25 | return con; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/controller/ManagemachineFormController.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.controller; 2 | 3 | import com.jfoenix.controls.JFXTextField; 4 | import javafx.event.ActionEvent; 5 | import javafx.scene.control.Button; 6 | 7 | public class ManagemachineFormController { 8 | public Button menu; 9 | public Button homebtn; 10 | public JFXTextField nametxt; 11 | public JFXTextField idtxt; 12 | public JFXTextField emidtxt; 13 | public JFXTextField capacitytxt; 14 | public JFXTextField typetxt; 15 | public Button checkmaterial; 16 | 17 | public void menubtnonAction(ActionEvent actionEvent) { 18 | 19 | } 20 | 21 | public void homebtnonAction(ActionEvent actionEvent) { 22 | 23 | } 24 | 25 | public void btncheckmaterialbtnonaction(ActionEvent actionEvent) { 26 | 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/impl/util/SqlUTIL.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom.impl.util; 2 | 3 | import lk.ijse.garment.db.DBConnection; 4 | 5 | import java.sql.Connection; 6 | import java.sql.PreparedStatement; 7 | import java.sql.SQLException; 8 | 9 | public class SqlUTIL { 10 | 11 | public static T execute(String sql, Object... args) throws SQLException { 12 | Connection con = DBConnection.getInstance().getConnection(); 13 | PreparedStatement pstm = con.prepareStatement(sql); 14 | 15 | for(int i = 0; i < args.length; i++){ 16 | pstm.setObject((i+1), args[i]); 17 | } 18 | 19 | if(sql.startsWith("SELECT")||sql.startsWith("select")){ 20 | return (T)pstm.executeQuery(); 21 | }else{ 22 | return (T) new Boolean(pstm.executeUpdate()>0); 23 | } 24 | 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/Employee.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm; 2 | 3 | import javafx.scene.control.Button; 4 | import lombok.*; 5 | 6 | @NoArgsConstructor 7 | @AllArgsConstructor 8 | @Getter 9 | @Setter 10 | @ToString 11 | 12 | public class Employee { 13 | 14 | private String name; 15 | private String nic; 16 | private String gmail; 17 | private Integer conumber; 18 | private String address; 19 | private String id; 20 | private Integer banumber; 21 | private String Date; 22 | 23 | public Employee(String name, String nic, String gmail, Integer conumber, String address, Integer banumber, String id) { 24 | this.name = name; 25 | this.nic = nic; 26 | this.gmail = gmail; 27 | this.conumber = conumber; 28 | this.address = address; 29 | this.banumber = banumber; 30 | this.id = id; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/CustomerBo.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.bo.SuperBo; 5 | import lk.ijse.garment.dto.tm.Supplier; 6 | import lk.ijse.garment.entity.Customer; 7 | 8 | import java.sql.SQLException; 9 | 10 | public interface CustomerBo extends SuperBo { 11 | 12 | boolean saveCustomer(lk.ijse.garment.dto.tm.Customer dto) throws SQLException, ClassNotFoundException; 13 | String getId()throws SQLException, ClassNotFoundException; 14 | boolean deleteCustomer(String id)throws SQLException, ClassNotFoundException; 15 | boolean updateCustomer(lk.ijse.garment.dto.tm.Customer dto)throws SQLException, ClassNotFoundException; 16 | Customer searchCustomerr(String id)throws SQLException, ClassNotFoundException; 17 | ObservableList getAllCustomerIncome()throws SQLException, ClassNotFoundException; 18 | 19 | } 20 | -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 14 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dto/tm/Customer.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dto.tm; 2 | 3 | 4 | import lombok.*; 5 | 6 | @NoArgsConstructor 7 | @AllArgsConstructor 8 | @Getter 9 | @Setter 10 | @ToString 11 | 12 | public class Customer { 13 | 14 | private String name; 15 | private String customer_id; 16 | private String nic_number; 17 | private Integer contact_number; 18 | private String address; 19 | private Integer bank_number; 20 | private String gmail; 21 | private String Date; 22 | 23 | public Customer(String name, String nic_number, Integer contact_number, String address, Integer bank_number, String gmail, String customer_id) { 24 | this.name = name; 25 | this.customer_id = customer_id; 26 | this.nic_number = nic_number; 27 | this.contact_number = contact_number; 28 | this.address = address; 29 | this.bank_number = bank_number; 30 | this.gmail = gmail; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/EmployeeBo.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.bo.SuperBo; 5 | import lk.ijse.garment.dto.tm.Employee; 6 | 7 | import java.sql.SQLException; 8 | import java.util.ArrayList; 9 | 10 | public interface EmployeeBo extends SuperBo { 11 | boolean saveEmployee(Employee dto) throws SQLException, ClassNotFoundException; 12 | String getId()throws SQLException, ClassNotFoundException; 13 | boolean deleteEmployee(String id)throws SQLException, ClassNotFoundException; 14 | boolean updateEmployee(Employee dto)throws SQLException, ClassNotFoundException; 15 | lk.ijse.garment.entity.Employee searchEmployee(String id)throws SQLException, ClassNotFoundException; 16 | ObservableList getAllEmplyoeePay()throws SQLException, ClassNotFoundException; 17 | ArrayList getAll() throws SQLException, ClassNotFoundException; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/impl/IncomeBoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom.impl; 2 | 3 | import lk.ijse.garment.bo.custom.IncomeBo; 4 | import lk.ijse.garment.dao.DaoFactory; 5 | import lk.ijse.garment.dao.custom.OtherQueryDao; 6 | import lk.ijse.garment.dto.tm.Incomedetails; 7 | import lk.ijse.garment.entity.IncomeDetails; 8 | 9 | import java.sql.SQLException; 10 | 11 | public class IncomeBoImpl implements IncomeBo { 12 | 13 | OtherQueryDao otherQueryDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.QUERY); 14 | 15 | @Override 16 | public boolean saveIncome(Incomedetails dto) throws SQLException, ClassNotFoundException { 17 | return otherQueryDao.saveIncomeDetails(new IncomeDetails(dto.getMonth(),dto.getEmpaymenttotal(),dto.getCuspaymentotal(),dto.getProflose())); 18 | } 19 | 20 | @Override 21 | public boolean getIncomeMonth(String Date) throws SQLException, ClassNotFoundException { 22 | return otherQueryDao.getIncomeMonth(Date); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/model/MaterialModel.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.model; 2 | 3 | import lk.ijse.garment.db.DBConnection; 4 | import lk.ijse.garment.dto.tm.Material; 5 | 6 | import java.sql.Connection; 7 | import java.sql.ResultSet; 8 | import java.sql.SQLException; 9 | import java.util.ArrayList; 10 | import java.util.List; 11 | 12 | public class MaterialModel { 13 | public static List getAll() throws SQLException { 14 | Connection con = DBConnection.getInstance().getConnection(); 15 | String sql = "SELECT * FROM Material"; 16 | 17 | List data = new ArrayList<>(); 18 | 19 | ResultSet resultSet = con.createStatement().executeQuery(sql); 20 | while (resultSet.next()) { 21 | data.add(new Material( 22 | resultSet.getString(1), 23 | resultSet.getString(2), 24 | resultSet.getString(3), 25 | resultSet.getString(4), 26 | resultSet.getDouble(5) 27 | ) { 28 | }); 29 | } 30 | 31 | return data; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/impl/ClothesBoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom.impl; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.bo.custom.ClothesBo; 5 | import lk.ijse.garment.dao.DaoFactory; 6 | import lk.ijse.garment.dao.custom.ClothesDao; 7 | import lk.ijse.garment.dao.custom.OtherQueryDao; 8 | import lk.ijse.garment.dto.tm.Clothes; 9 | 10 | import java.sql.SQLException; 11 | 12 | public class ClothesBoImpl implements ClothesBo { 13 | 14 | ClothesDao clothesDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.CLOTHES); 15 | OtherQueryDao otherQueryDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.QUERY); 16 | 17 | @Override 18 | public boolean saveClothes(Clothes dto) throws SQLException, ClassNotFoundException { 19 | return clothesDao.save(new lk.ijse.garment.entity.Clothes(dto.getType(), dto.getSku(), dto.getColor(), dto.getAmount(),dto.getPrice(),dto.getMat_id(),dto.getDate(),dto.getTotal())); 20 | } 21 | 22 | @Override 23 | public ObservableList getAllMaterId() throws SQLException, ClassNotFoundException { 24 | return otherQueryDao.getId(); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/OtherQueryDao.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.dao.SuperDao; 5 | import lk.ijse.garment.entity.IncomeDetails; 6 | import lk.ijse.garment.entity.Material; 7 | 8 | import java.sql.ResultSet; 9 | import java.sql.SQLException; 10 | import java.util.ArrayList; 11 | 12 | public interface OtherQueryDao extends SuperDao { 13 | public ArrayList searchOrderByOID() throws SQLException, ClassNotFoundException; 14 | public ObservableList getId()throws SQLException, ClassNotFoundException; 15 | public ObservableList getCustomerId()throws SQLException, ClassNotFoundException; 16 | public ObservableList getClothesku()throws SQLException, ClassNotFoundException; 17 | public boolean getIncomeMonth(String month)throws SQLException, ClassNotFoundException; 18 | public ObservableList getEmployeePayment()throws SQLException, ClassNotFoundException; 19 | public ObservableList getCustomerIncome()throws SQLException, ClassNotFoundException; 20 | public boolean saveIncomeDetails(IncomeDetails dto)throws SQLException, ClassNotFoundException; 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/model/IncomedetailsModel.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.model; 2 | 3 | import lk.ijse.garment.db.DBConnection; 4 | import lk.ijse.garment.dto.tm.Customer; 5 | import lk.ijse.garment.dto.tm.Incomedetails; 6 | 7 | import java.sql.Connection; 8 | import java.sql.ResultSet; 9 | import java.sql.SQLException; 10 | import java.util.ArrayList; 11 | import java.util.List; 12 | 13 | public class IncomedetailsModel { 14 | public static List getAll() throws SQLException { 15 | Connection con = DBConnection.getInstance().getConnection(); 16 | String sql = "SELECT * FROM incomedetails"; 17 | 18 | List data = new ArrayList<>(); 19 | 20 | ResultSet resultSet = con.createStatement().executeQuery(sql); 21 | while (resultSet.next()) { 22 | data.add(new Incomedetails( 23 | resultSet.getString(1), 24 | resultSet.getString(2), 25 | resultSet.getDouble(3), 26 | resultSet.getDouble(4), 27 | resultSet.getDouble(5) 28 | ) { 29 | }); 30 | } 31 | 32 | return data; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/model/PlaceModel.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.model; 2 | 3 | import lk.ijse.garment.db.DBConnection; 4 | import lk.ijse.garment.dto.tm.Customer; 5 | import lk.ijse.garment.dto.tm.Place; 6 | 7 | import java.sql.Connection; 8 | import java.sql.ResultSet; 9 | import java.sql.SQLException; 10 | import java.util.ArrayList; 11 | import java.util.List; 12 | 13 | public class PlaceModel { 14 | public static List getAll() throws SQLException { 15 | Connection con = DBConnection.getInstance().getConnection(); 16 | String sql = "SELECT * FROM placeordertable"; 17 | 18 | List data = new ArrayList<>(); 19 | 20 | ResultSet resultSet = con.createStatement().executeQuery(sql); 21 | while (resultSet.next()) { 22 | data.add(new Place( 23 | resultSet.getString(1), 24 | resultSet.getString(2), 25 | resultSet.getString(3), 26 | resultSet.getString(4), 27 | resultSet.getString(5), 28 | resultSet.getDouble(6), 29 | resultSet.getDouble(7) 30 | ) { 31 | }); 32 | } 33 | 34 | return data; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/model/SupplierModel.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.model; 2 | 3 | import lk.ijse.garment.db.DBConnection; 4 | import lk.ijse.garment.dto.tm.Material; 5 | import lk.ijse.garment.dto.tm.Supplier; 6 | 7 | import java.sql.Connection; 8 | import java.sql.ResultSet; 9 | import java.sql.SQLException; 10 | import java.util.ArrayList; 11 | import java.util.List; 12 | 13 | public class SupplierModel { 14 | public static List getAll() throws SQLException { 15 | Connection con = DBConnection.getInstance().getConnection(); 16 | String sql = "SELECT * FROM Suplier"; 17 | 18 | List data = new ArrayList<>(); 19 | 20 | ResultSet resultSet = con.createStatement().executeQuery(sql); 21 | while (resultSet.next()) { 22 | data.add(new Supplier( 23 | resultSet.getString(1), 24 | resultSet.getString(2), 25 | resultSet.getString(3), 26 | resultSet.getString(4), 27 | resultSet.getInt(5), 28 | resultSet.getInt(6), 29 | resultSet.getString(7) 30 | ) { 31 | }); 32 | } 33 | 34 | return data; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/model/NotificationModel.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.model; 2 | 3 | import lk.ijse.garment.db.DBConnection; 4 | import lk.ijse.garment.db.db; 5 | import lk.ijse.garment.dto.tm.Customer; 6 | import lk.ijse.garment.dto.tm.Notification; 7 | 8 | import java.sql.Connection; 9 | import java.sql.ResultSet; 10 | import java.sql.SQLException; 11 | import java.util.ArrayList; 12 | import java.util.List; 13 | 14 | public class NotificationModel { 15 | public static List getAll() throws SQLException { 16 | Connection con = db.getInstance().getConnection(); 17 | String sql = "SELECT * FROM user"; 18 | 19 | List data = new ArrayList<>(); 20 | 21 | ResultSet resultSet = con.createStatement().executeQuery(sql); 22 | while (resultSet.next()) { 23 | data.add(new Notification( 24 | resultSet.getString(1), 25 | resultSet.getString(2), 26 | resultSet.getString(3), 27 | resultSet.getString(4), 28 | resultSet.getString(5), 29 | resultSet.getString(6) 30 | ) { 31 | }); 32 | } 33 | 34 | return data; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/model/CustomerModel.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.model; 2 | 3 | import lk.ijse.garment.db.DBConnection; 4 | import lk.ijse.garment.dto.tm.Customer; 5 | 6 | import java.sql.Connection; 7 | import java.sql.ResultSet; 8 | import java.sql.SQLException; 9 | import java.util.ArrayList; 10 | import java.util.List; 11 | 12 | public class CustomerModel { 13 | public static List getAll() throws SQLException { 14 | Connection con = DBConnection.getInstance().getConnection(); 15 | String sql = "SELECT * FROM customertable"; 16 | 17 | List data = new ArrayList<>(); 18 | 19 | ResultSet resultSet = con.createStatement().executeQuery(sql); 20 | while (resultSet.next()) { 21 | data.add(new Customer( 22 | resultSet.getString(1), 23 | resultSet.getString(2), 24 | resultSet.getString(3), 25 | resultSet.getInt(4), 26 | resultSet.getString(5), 27 | resultSet.getInt(6), 28 | resultSet.getString(7), 29 | resultSet.getString(8) 30 | ) { 31 | }); 32 | } 33 | 34 | return data; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/model/ClothesModel.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.model; 2 | 3 | import lk.ijse.garment.db.DBConnection; 4 | import lk.ijse.garment.dto.tm.Clothes; 5 | import lk.ijse.garment.dto.tm.Customer; 6 | 7 | import java.sql.Connection; 8 | import java.sql.ResultSet; 9 | import java.sql.SQLException; 10 | import java.util.ArrayList; 11 | import java.util.List; 12 | 13 | public class ClothesModel { 14 | public static List getAll() throws SQLException { 15 | Connection con = DBConnection.getInstance().getConnection(); 16 | String sql = "SELECT * FROM clothes"; 17 | 18 | List data = new ArrayList<>(); 19 | 20 | ResultSet resultSet = con.createStatement().executeQuery(sql); 21 | while (resultSet.next()) { 22 | data.add(new Clothes( 23 | resultSet.getString(1), 24 | resultSet.getString(2), 25 | resultSet.getString(3), 26 | resultSet.getString(4), 27 | resultSet.getDouble(5), 28 | resultSet.getString(6), 29 | resultSet.getString(7), 30 | resultSet.getDouble(8) 31 | ) { 32 | }); 33 | } 34 | 35 | return data; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/model/EmployeeModel.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.model; 2 | 3 | import lk.ijse.garment.db.DBConnection; 4 | import lk.ijse.garment.dto.tm.Employee; 5 | import lk.ijse.garment.dto.tm.Supplier; 6 | 7 | import java.sql.Connection; 8 | import java.sql.ResultSet; 9 | import java.sql.SQLException; 10 | import java.util.ArrayList; 11 | import java.util.List; 12 | 13 | public class EmployeeModel { 14 | public static List getAll() throws SQLException { 15 | Connection con = DBConnection.getInstance().getConnection(); 16 | String sql = "SELECT * FROM employee"; 17 | 18 | List data = new ArrayList<>(); 19 | 20 | ResultSet resultSet = con.createStatement().executeQuery(sql); 21 | while (resultSet.next()) { 22 | data.add(new Employee( 23 | resultSet.getString(1), 24 | resultSet.getString(2), 25 | resultSet.getString(3), 26 | resultSet.getInt(4), 27 | resultSet.getString(5), 28 | resultSet.getString(6), 29 | resultSet.getInt(7), 30 | resultSet.getString(8) 31 | ) { 32 | }); 33 | } 34 | 35 | return data; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/DaoFactory.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao; 2 | 3 | import lk.ijse.garment.dao.custom.impl.*; 4 | 5 | public class DaoFactory { 6 | private static DaoFactory daoFactory; 7 | 8 | private DaoFactory() { 9 | } 10 | 11 | public static DaoFactory getDaoFactory(){ 12 | return daoFactory==null ? daoFactory = new DaoFactory() : daoFactory; 13 | } 14 | 15 | public enum DaoType { 16 | SUPPLIER,EMPLOYEE,MATERIAL,CLOTHES,QUERY,ORDER,CUSTOMER,EMPLOYEEPAY 17 | } 18 | 19 | public SuperDao getDao(DaoType type){ 20 | switch (type){ 21 | case SUPPLIER: 22 | return (SuperDao) new SupplierDaoImpl(); 23 | case EMPLOYEE: 24 | return (SuperDao) new EmployeeDaoImpl(); 25 | case MATERIAL: 26 | return (SuperDao) new MaterialDaoImpl(); 27 | case CLOTHES: 28 | return (SuperDao) new ClothesDaoImpl(); 29 | case QUERY: 30 | return (SuperDao) new OtherQueryDaoImpl(); 31 | case ORDER: 32 | return (SuperDao) new OrderDaoImpl(); 33 | case CUSTOMER: 34 | return (SuperDao) new CustomerDaoImpl(); 35 | case EMPLOYEEPAY: 36 | return (SuperDao) new EmployeePayDaoImpl(); 37 | default: 38 | return null; 39 | } 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/impl/OrderBoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom.impl; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.bo.custom.OrderBo; 5 | import lk.ijse.garment.dao.DaoFactory; 6 | import lk.ijse.garment.dao.custom.OrderDao; 7 | import lk.ijse.garment.dao.custom.OtherQueryDao; 8 | import lk.ijse.garment.dto.tm.Order; 9 | 10 | import java.sql.SQLException; 11 | 12 | public class OrderBoImpl implements OrderBo { 13 | 14 | OrderDao orderDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.ORDER); 15 | OtherQueryDao otherQueryDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.QUERY); 16 | 17 | @Override 18 | public boolean saveOrder(Order dto) throws SQLException, ClassNotFoundException { 19 | return orderDao.save(new lk.ijse.garment.entity.Order(dto.getCustomer_id(), dto.getType(), dto.getOrder_date(), dto.getDead_date(), dto.getOrder_id())); 20 | } 21 | 22 | @Override 23 | public String getId() throws SQLException, ClassNotFoundException { 24 | return orderDao.generateNewID(); 25 | } 26 | 27 | @Override 28 | public ObservableList getAllCustomerId() throws SQLException, ClassNotFoundException { 29 | return otherQueryDao.getCustomerId(); 30 | } 31 | 32 | @Override 33 | public ObservableList getAllClothesku() throws SQLException, ClassNotFoundException { 34 | return otherQueryDao.getClothesku(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/impl/ClothesDaoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom.impl; 2 | 3 | import lk.ijse.garment.dao.custom.ClothesDao; 4 | import lk.ijse.garment.dao.custom.impl.util.SqlUTIL; 5 | import lk.ijse.garment.entity.Clothes; 6 | 7 | import java.sql.SQLException; 8 | import java.util.ArrayList; 9 | 10 | public class ClothesDaoImpl implements ClothesDao { 11 | @Override 12 | public ArrayList getAll() throws SQLException, ClassNotFoundException { 13 | return null; 14 | } 15 | 16 | @Override 17 | public boolean save(Clothes dto) throws SQLException, ClassNotFoundException { 18 | return SqlUTIL.execute("INSERT INTO clothes(clothes_type, sku, color, amount, price, material_id, date, Total) VALUES(?, ?, ?, ?, ?, ?, ?, ?)",dto.getClothes_type(),dto.getSku(),dto.getColor(),dto.getAmount(),dto.getPrice(),dto.getMaterial_id(),dto.getDate(),dto.getTotal()); 19 | } 20 | 21 | @Override 22 | public boolean update(Clothes dto) throws SQLException, ClassNotFoundException { 23 | return false; 24 | } 25 | 26 | @Override 27 | public boolean delete(String s) throws SQLException, ClassNotFoundException { 28 | return false; 29 | } 30 | 31 | @Override 32 | public String generateNewID() throws SQLException, ClassNotFoundException { 33 | return null; 34 | } 35 | 36 | @Override 37 | public Clothes search(String s) throws SQLException, ClassNotFoundException { 38 | return null; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/impl/EmployeePayBoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom.impl; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.bo.custom.EmployeePayBo; 5 | import lk.ijse.garment.dao.DaoFactory; 6 | import lk.ijse.garment.dao.custom.EmployeePayDao; 7 | import lk.ijse.garment.dao.custom.OtherQueryDao; 8 | import lk.ijse.garment.dto.tm.EmployeePay; 9 | import lk.ijse.garment.entity.EmployeePayment; 10 | 11 | import java.sql.SQLException; 12 | 13 | public class EmployeePayBoImpl implements EmployeePayBo { 14 | 15 | EmployeePayDao employeePayDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.EMPLOYEEPAY); 16 | OtherQueryDao otherQueryDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.QUERY); 17 | 18 | @Override 19 | public boolean saveEmployeePay(EmployeePay dto) throws SQLException, ClassNotFoundException { 20 | return employeePayDao.save(new EmployeePayment(dto.getDate(),dto.getEmployee_id(),dto.getPayment_id(),dto.getPayment())); 21 | } 22 | 23 | @Override 24 | public String getId() throws SQLException, ClassNotFoundException { 25 | return employeePayDao.generateNewID(); 26 | } 27 | 28 | @Override 29 | public EmployeePayment searchEmployeePay(String id) throws SQLException, ClassNotFoundException { 30 | return employeePayDao.search(id); 31 | } 32 | 33 | @Override 34 | public ObservableList getAllEmployeePay() throws SQLException, ClassNotFoundException { 35 | return otherQueryDao.getEmployeePayment(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /target/classes/voicecode/6860.lm: -------------------------------------------------------------------------------- 1 | Language model created by QuickLM on Tue Apr 4 13:07:59 EDT 2023 2 | Copyright (c) 1996-2010 Carnegie Mellon University and Alexander I. Rudnicky 3 | 4 | The model is in standard ARPA format, designed by Doug Paul while he was at MITRE. 5 | 6 | The code that was used to produce this language model is available in Open Source. 7 | Please visit http://www.speech.cs.cmu.edu/tools/ for more information 8 | 9 | The (fixed) discount mass is 0.5. The backoffs are computed using the ratio method. 10 | This model based on a corpus of 7 sentences and 9 words 11 | 12 | \data\ 13 | ngram 1=9 14 | ngram 2=14 15 | ngram 3=7 16 | 17 | \1-grams: 18 | -0.7782 -0.3010 19 | -0.7782 -0.2218 20 | -1.6232 CLTHES -0.2218 21 | -1.6232 CUSTOMER -0.2218 22 | -1.6232 EMPLOYEE -0.2218 23 | -1.6232 MATERIAL -0.2218 24 | -1.6232 ORDER -0.2218 25 | -1.6232 PAYMENT -0.2218 26 | -1.6232 SUPPLIER -0.2218 27 | 28 | \2-grams: 29 | -1.1461 CLTHES 0.0000 30 | -1.1461 CUSTOMER 0.0000 31 | -1.1461 EMPLOYEE 0.0000 32 | -1.1461 MATERIAL 0.0000 33 | -1.1461 ORDER 0.0000 34 | -1.1461 PAYMENT 0.0000 35 | -1.1461 SUPPLIER 0.0000 36 | -0.3010 CLTHES -0.3010 37 | -0.3010 CUSTOMER -0.3010 38 | -0.3010 EMPLOYEE -0.3010 39 | -0.3010 MATERIAL -0.3010 40 | -0.3010 ORDER -0.3010 41 | -0.3010 PAYMENT -0.3010 42 | -0.3010 SUPPLIER -0.3010 43 | 44 | \3-grams: 45 | -0.3010 CLTHES 46 | -0.3010 CUSTOMER 47 | -0.3010 EMPLOYEE 48 | -0.3010 MATERIAL 49 | -0.3010 ORDER 50 | -0.3010 PAYMENT 51 | -0.3010 SUPPLIER 52 | 53 | \end\ -------------------------------------------------------------------------------- /src/main/resources/voicecode/6860.lm: -------------------------------------------------------------------------------- 1 | Language model created by QuickLM on Tue Apr 4 13:07:59 EDT 2023 2 | Copyright (c) 1996-2010 Carnegie Mellon University and Alexander I. Rudnicky 3 | 4 | The model is in standard ARPA format, designed by Doug Paul while he was at MITRE. 5 | 6 | The code that was used to produce this language model is available in Open Source. 7 | Please visit http://www.speech.cs.cmu.edu/tools/ for more information 8 | 9 | The (fixed) discount mass is 0.5. The backoffs are computed using the ratio method. 10 | This model based on a corpus of 7 sentences and 9 words 11 | 12 | \data\ 13 | ngram 1=9 14 | ngram 2=14 15 | ngram 3=7 16 | 17 | \1-grams: 18 | -0.7782 -0.3010 19 | -0.7782 -0.2218 20 | -1.6232 CLTHES -0.2218 21 | -1.6232 CUSTOMER -0.2218 22 | -1.6232 EMPLOYEE -0.2218 23 | -1.6232 MATERIAL -0.2218 24 | -1.6232 ORDER -0.2218 25 | -1.6232 PAYMENT -0.2218 26 | -1.6232 SUPPLIER -0.2218 27 | 28 | \2-grams: 29 | -1.1461 CLTHES 0.0000 30 | -1.1461 CUSTOMER 0.0000 31 | -1.1461 EMPLOYEE 0.0000 32 | -1.1461 MATERIAL 0.0000 33 | -1.1461 ORDER 0.0000 34 | -1.1461 PAYMENT 0.0000 35 | -1.1461 SUPPLIER 0.0000 36 | -0.3010 CLTHES -0.3010 37 | -0.3010 CUSTOMER -0.3010 38 | -0.3010 EMPLOYEE -0.3010 39 | -0.3010 MATERIAL -0.3010 40 | -0.3010 ORDER -0.3010 41 | -0.3010 PAYMENT -0.3010 42 | -0.3010 SUPPLIER -0.3010 43 | 44 | \3-grams: 45 | -0.3010 CLTHES 46 | -0.3010 CUSTOMER 47 | -0.3010 EMPLOYEE 48 | -0.3010 MATERIAL 49 | -0.3010 ORDER 50 | -0.3010 PAYMENT 51 | -0.3010 SUPPLIER 52 | 53 | \end\ -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/BoFactory.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo; 2 | 3 | import lk.ijse.garment.bo.custom.SupplierBo; 4 | import lk.ijse.garment.bo.custom.impl.*; 5 | import lk.ijse.garment.dao.custom.impl.ClothesDaoImpl; 6 | import lk.ijse.garment.dao.custom.impl.EmployeeDaoImpl; 7 | import lk.ijse.garment.dao.custom.impl.SupplierDaoImpl; 8 | 9 | public class BoFactory { 10 | 11 | private static BoFactory boFactory; 12 | 13 | private BoFactory() { 14 | } 15 | 16 | public static BoFactory getBoFactory(){ 17 | return boFactory ==null ? boFactory = new BoFactory() : boFactory; 18 | } 19 | 20 | public enum BoType { 21 | SUPPLIER,EMPLOYEE,MATERIAL,CLOTHES,ORDER,CUSTOMER,EMPLOYEEPAY,INCOME 22 | } 23 | 24 | public SuperDao getBo(BoType type){ 25 | switch (type){ 26 | case SUPPLIER: 27 | return (SuperDao) new SupplierBoImpl(); 28 | case EMPLOYEE: 29 | return (SuperDao) new EmployeeBoImpl(); 30 | case MATERIAL: 31 | return (SuperDao) new MaterialBoImpl(); 32 | case CLOTHES: 33 | return (SuperDao) new ClothesBoImpl(); 34 | case ORDER: 35 | return (SuperDao) new OrderBoImpl(); 36 | case CUSTOMER: 37 | return (SuperDao) new CustomerBoImpl(); 38 | case EMPLOYEEPAY: 39 | return (SuperDao) new EmployeePayBoImpl(); 40 | case INCOME: 41 | return (SuperDao) new IncomeBoImpl(); 42 | default: 43 | return null; 44 | } 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/impl/SupplierBoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom.impl; 2 | 3 | import lk.ijse.garment.bo.BoFactory; 4 | import lk.ijse.garment.bo.custom.SupplierBo; 5 | import lk.ijse.garment.dao.DaoFactory; 6 | import lk.ijse.garment.dao.custom.SupplierDao; 7 | import lk.ijse.garment.dto.tm.Supplier; 8 | 9 | import java.sql.SQLException; 10 | 11 | public class SupplierBoImpl implements SupplierBo { 12 | 13 | SupplierDao supplierDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.SUPPLIER); 14 | 15 | @Override 16 | public boolean saveSupplier(Supplier dto) throws SQLException, ClassNotFoundException { 17 | return supplierDao.save(new lk.ijse.garment.entity.Supplier(dto.getName(), dto.getNic(),dto.getGmail(),dto.getAddress(), dto.getConumber(), dto.getBanumber(), dto.getId())); 18 | } 19 | 20 | @Override 21 | public String getId() throws SQLException, ClassNotFoundException { 22 | return supplierDao.generateNewID(); 23 | } 24 | 25 | @Override 26 | public boolean deleteSupplier(String id) throws SQLException, ClassNotFoundException { 27 | return supplierDao.delete(id); 28 | } 29 | 30 | @Override 31 | public boolean updateSupplier(Supplier dto) throws SQLException, ClassNotFoundException { 32 | return supplierDao.update(new lk.ijse.garment.entity.Supplier(dto.getName(), dto.getNic(),dto.getGmail(),dto.getAddress(), dto.getConumber(), dto.getBanumber(), dto.getId())); 33 | } 34 | 35 | @Override 36 | public lk.ijse.garment.entity.Supplier searchSupplier(String id) throws SQLException, ClassNotFoundException { 37 | return supplierDao.search(id); 38 | } 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/impl/MaterialBoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom.impl; 2 | 3 | import lk.ijse.garment.bo.custom.MaterialBo; 4 | import lk.ijse.garment.dao.DaoFactory; 5 | import lk.ijse.garment.dao.custom.EmployeeDao; 6 | import lk.ijse.garment.dao.custom.MaterialDao; 7 | import lk.ijse.garment.dto.tm.Employee; 8 | import lk.ijse.garment.dto.tm.Material; 9 | 10 | import java.sql.SQLException; 11 | 12 | public class MaterialBoImpl implements MaterialBo { 13 | 14 | MaterialDao materialDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.MATERIAL); 15 | 16 | 17 | @Override 18 | public boolean saveMaterial(Material dto) throws SQLException, ClassNotFoundException { 19 | return materialDao.save(new lk.ijse.garment.entity.Material(dto.getMaterialname(), dto.getMaterial_id(), dto.getId(), dto.getAmount(), dto.getPrice())); 20 | } 21 | 22 | @Override 23 | public String getId() throws SQLException, ClassNotFoundException { 24 | return materialDao.generateNewID(); 25 | } 26 | 27 | @Override 28 | public boolean deleteMaterial(String id) throws SQLException, ClassNotFoundException { 29 | return materialDao.delete(id); 30 | } 31 | 32 | @Override 33 | public boolean updateMaterial(Material dto) throws SQLException, ClassNotFoundException { 34 | return materialDao.update(new lk.ijse.garment.entity.Material(dto.getMaterialname(), dto.getId(), dto.getAmount(), dto.getPrice(), dto.getMaterial_id())); 35 | } 36 | 37 | @Override 38 | public lk.ijse.garment.entity.Material searchMaterial(String id) throws SQLException, ClassNotFoundException { 39 | return materialDao.search(id); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/impl/OrderDaoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom.impl; 2 | 3 | import lk.ijse.garment.dao.custom.OrderDao; 4 | import lk.ijse.garment.dao.custom.impl.util.SqlUTIL; 5 | import lk.ijse.garment.entity.Order; 6 | 7 | import java.sql.ResultSet; 8 | import java.sql.SQLException; 9 | import java.util.ArrayList; 10 | 11 | public class OrderDaoImpl implements OrderDao { 12 | @Override 13 | public ArrayList getAll() throws SQLException, ClassNotFoundException { 14 | return null; 15 | } 16 | 17 | @Override 18 | public boolean save(Order dto) throws SQLException, ClassNotFoundException { 19 | return SqlUTIL.execute("INSERT INTO ordertable(customer_id, type, order_date, dead_date, order_id) VALUES(?, ?, ?, ?, ?)",dto.getCustomer_id(),dto.getType(),dto.getOrder_date(),dto.getDead_date(),dto.getOrder_id()); 20 | } 21 | 22 | @Override 23 | public boolean update(Order dto) throws SQLException, ClassNotFoundException { 24 | return false; 25 | } 26 | 27 | @Override 28 | public boolean delete(String s) throws SQLException, ClassNotFoundException { 29 | return false; 30 | } 31 | 32 | @Override 33 | public String generateNewID() throws SQLException, ClassNotFoundException { 34 | ResultSet rst = SqlUTIL.execute("SELECT * FROM ordertable ORDER BY order_id DESC LIMIT 1;"); 35 | if (rst.next()) { 36 | int id = Integer.parseInt(rst.getString(5)); 37 | id+=1; 38 | return String.valueOf(id); 39 | }else{ 40 | return "1"; 41 | } 42 | } 43 | 44 | @Override 45 | public Order search(String s) throws SQLException, ClassNotFoundException { 46 | return null; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/controller/Qrgenrator.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | package lk.ijse.garment.controller; 4 | 5 | import java.io.File; 6 | import java.io.IOException; 7 | import java.nio.file.FileSystems; 8 | import java.nio.file.Path; 9 | import java.util.HashMap; 10 | import java.util.Map; 11 | import com.google.zxing.BarcodeFormat; 12 | import com.google.zxing.EncodeHintType; 13 | import com.google.zxing.WriterException; 14 | import com.google.zxing.client.j2se.MatrixToImageWriter; 15 | import com.google.zxing.common.BitMatrix; 16 | import com.google.zxing.qrcode.QRCodeWriter; 17 | 18 | 19 | public class Qrgenrator { 20 | 21 | private static final String QR_CODE_IMAGE_PATH = "src/main/resources/imgs/qrnewone.png"; 22 | 23 | public static void generateQRCodeImage(String text, int width, int height, String filePath) 24 | throws WriterException, IOException { 25 | QRCodeWriter qrCodeWriter = new QRCodeWriter(); 26 | Map hints = new HashMap<>(); 27 | hints.put(EncodeHintType.CHARACTER_SET, "UTF-8"); 28 | BitMatrix bitMatrix = qrCodeWriter.encode(text, BarcodeFormat.QR_CODE, width, height, hints); 29 | Path path = FileSystems.getDefault().getPath(filePath); 30 | MatrixToImageWriter.writeToPath(bitMatrix, "PNG", path); 31 | } 32 | 33 | /* public static void main(String[] args) { 34 | try { 35 | generateQRCodeImage("id : 1"+"\n"+"Intexvog "+"\n"+" (Shirt : 100pcs) Matreial : Cotton"+"\n"+"Order Date : 04/24/2023", 450, 350, QR_CODE_IMAGE_PATH); 36 | System.out.println("successfully"); 37 | } catch (WriterException e) { 38 | e.printStackTrace(); 39 | } catch (IOException e) { 40 | e.printStackTrace(); 41 | } 42 | }*/ 43 | 44 | } 45 | 46 | 47 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/entity/Supplier.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.entity; 2 | 3 | public class Supplier { 4 | 5 | private String name; 6 | private String nic; 7 | private String gmail; 8 | private String address; 9 | private int conumber; 10 | private int banumber; 11 | private String id; 12 | 13 | public Supplier() { 14 | } 15 | 16 | public Supplier(String name, String nic, String gmail, String address, int conumber, int banumber, String id) { 17 | this.name = name; 18 | this.nic = nic; 19 | this.gmail = gmail; 20 | this.address = address; 21 | this.conumber = conumber; 22 | this.banumber = banumber; 23 | this.id = id; 24 | } 25 | 26 | public String getName() { 27 | return name; 28 | } 29 | 30 | public void setName(String name) { 31 | this.name = name; 32 | } 33 | 34 | public String getNic() { 35 | return nic; 36 | } 37 | 38 | public void setNic(String nic) { 39 | this.nic = nic; 40 | } 41 | 42 | public String getGmail() { 43 | return gmail; 44 | } 45 | 46 | public void setGmail(String gmail) { 47 | this.gmail = gmail; 48 | } 49 | 50 | public String getAddress() { 51 | return address; 52 | } 53 | 54 | public void setAddress(String address) { 55 | this.address = address; 56 | } 57 | 58 | public int getConumber() { 59 | return conumber; 60 | } 61 | 62 | public void setConumber(int conumber) { 63 | this.conumber = conumber; 64 | } 65 | 66 | public int getBanumber() { 67 | return banumber; 68 | } 69 | 70 | public void setBanumber(int banumber) { 71 | this.banumber = banumber; 72 | } 73 | 74 | public String getId() { 75 | return id; 76 | } 77 | 78 | public void setId(String id) { 79 | this.id = id; 80 | } 81 | 82 | 83 | 84 | } 85 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/controller/JavaEmailSender.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.controller; 2 | 3 | import java.util.Properties; 4 | import javax.mail.*; 5 | import javax.mail.internet.*; 6 | 7 | public class JavaEmailSender { 8 | 9 | public void JavaEmailSender() { 10 | 11 | 12 | 13 | } 14 | 15 | public void send(String subject,String msg,String tocus){ 16 | String to = tocus; // recipient email address 17 | String from = "intexvog20@gmail.com"; // sender email address 18 | String host = "smtp.gmail.com"; // Gmail SMTP server host name 19 | String password = "lshiqucrerfrtnhv"; // Gmail password 20 | 21 | // Set properties 22 | Properties properties = System.getProperties(); 23 | properties.setProperty("mail.smtp.host", host); 24 | properties.setProperty("mail.smtp.port", "587"); // Gmail SMTP port number 25 | properties.setProperty("mail.smtp.starttls.enable", "true"); 26 | properties.setProperty("mail.smtp.auth", "true"); 27 | 28 | // Get session 29 | Session session = Session.getInstance(properties, new javax.mail.Authenticator() { 30 | protected PasswordAuthentication getPasswordAuthentication() { 31 | return new PasswordAuthentication(from, password); 32 | } 33 | }); 34 | 35 | try { 36 | // Create message 37 | MimeMessage message = new MimeMessage(session); 38 | message.setFrom(new InternetAddress(from)); 39 | message.addRecipient(Message.RecipientType.TO, new InternetAddress(to)); 40 | message.setSubject(subject); 41 | message.setText(msg); 42 | 43 | // Send message 44 | Transport.send(message); 45 | System.out.println("Message sent successfully."); 46 | } catch (MessagingException mex) { 47 | mex.printStackTrace(); 48 | } 49 | } 50 | 51 | } 52 | 53 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/entity/Order.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.entity; 2 | 3 | public class Order { 4 | 5 | private String customer_id; 6 | private String type; 7 | private String order_date; 8 | private String dead_date; 9 | private String order_id; 10 | 11 | public Order(){} 12 | 13 | public Order(String customer_id, String type, String order_date, String dead_date, String order_id) { 14 | this.customer_id = customer_id; 15 | this.type = type; 16 | this.order_date = order_date; 17 | this.dead_date = dead_date; 18 | this.order_id = order_id; 19 | } 20 | 21 | public String getCustomer_id() { 22 | return customer_id; 23 | } 24 | 25 | public void setCustomer_id(String customer_id) { 26 | this.customer_id = customer_id; 27 | } 28 | 29 | public String getType() { 30 | return type; 31 | } 32 | 33 | public void setType(String type) { 34 | this.type = type; 35 | } 36 | 37 | public String getOrder_date() { 38 | return order_date; 39 | } 40 | 41 | public void setOrder_date(String order_date) { 42 | this.order_date = order_date; 43 | } 44 | 45 | public String getDead_date() { 46 | return dead_date; 47 | } 48 | 49 | public void setDead_date(String dead_date) { 50 | this.dead_date = dead_date; 51 | } 52 | 53 | public String getOrder_id() { 54 | return order_id; 55 | } 56 | 57 | public void setOrder_id(String order_id) { 58 | this.order_id = order_id; 59 | } 60 | 61 | @Override 62 | public String toString() { 63 | return "Order{" + 64 | "customer_id='" + customer_id + '\'' + 65 | ", type='" + type + '\'' + 66 | ", order_date='" + order_date + '\'' + 67 | ", dead_date='" + dead_date + '\'' + 68 | ", order_id='" + order_id + '\'' + 69 | '}'; 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/impl/CustomerBoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom.impl; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.bo.custom.CustomerBo; 5 | import lk.ijse.garment.dao.DaoFactory; 6 | import lk.ijse.garment.dao.custom.CustomerDao; 7 | import lk.ijse.garment.dao.custom.OtherQueryDao; 8 | import lk.ijse.garment.dto.tm.Customer; 9 | 10 | import java.sql.SQLException; 11 | 12 | public class CustomerBoImpl implements CustomerBo { 13 | 14 | CustomerDao customerDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.CUSTOMER); 15 | OtherQueryDao otherQueryDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.QUERY); 16 | 17 | @Override 18 | public boolean saveCustomer(Customer dto) throws SQLException, ClassNotFoundException { 19 | return customerDao.save(new lk.ijse.garment.entity.Customer(dto.getName(),dto.getCustomer_id(),dto.getNic_number(),dto.getContact_number(),dto.getAddress(), dto.getBank_number(), dto.getGmail(), dto.getDate())); 20 | } 21 | 22 | @Override 23 | public String getId() throws SQLException, ClassNotFoundException { 24 | return customerDao.generateNewID(); 25 | } 26 | 27 | @Override 28 | public boolean deleteCustomer(String id) throws SQLException, ClassNotFoundException { 29 | return customerDao.delete(id); 30 | } 31 | 32 | @Override 33 | public boolean updateCustomer(Customer dto) throws SQLException, ClassNotFoundException { 34 | return customerDao.update(new lk.ijse.garment.entity.Customer(dto.getName(),dto.getNic_number(),dto.getContact_number(),dto.getAddress(), dto.getBank_number(), dto.getGmail(),dto.getCustomer_id())); 35 | } 36 | 37 | @Override 38 | public lk.ijse.garment.entity.Customer searchCustomerr(String id) throws SQLException, ClassNotFoundException { 39 | return customerDao.search(id); 40 | } 41 | 42 | @Override 43 | public ObservableList getAllCustomerIncome() throws SQLException, ClassNotFoundException { 44 | return otherQueryDao.getCustomerIncome(); 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/impl/EmployeePayDaoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom.impl; 2 | 3 | import lk.ijse.garment.dao.custom.EmployeeDao; 4 | import lk.ijse.garment.dao.custom.EmployeePayDao; 5 | import lk.ijse.garment.dao.custom.impl.util.SqlUTIL; 6 | import lk.ijse.garment.entity.EmployeePayment; 7 | 8 | import java.sql.ResultSet; 9 | import java.sql.SQLException; 10 | import java.util.ArrayList; 11 | 12 | public class EmployeePayDaoImpl implements EmployeePayDao { 13 | @Override 14 | public ArrayList getAll() throws SQLException, ClassNotFoundException { 15 | return null; 16 | } 17 | 18 | @Override 19 | public boolean save(EmployeePayment dto) throws SQLException, ClassNotFoundException { 20 | return SqlUTIL.execute("INSERT INTO employeepayment(Date, employee_id, payment_id, payment) VALUES(?, ?, ?, ?)",dto.getDate(),dto.getEmployee_id(),dto.getPayment_id(),dto.getPayment()); 21 | } 22 | 23 | @Override 24 | public boolean update(EmployeePayment dto) throws SQLException, ClassNotFoundException { 25 | return false; 26 | } 27 | 28 | @Override 29 | public boolean delete(String s) throws SQLException, ClassNotFoundException { 30 | return false; 31 | } 32 | 33 | @Override 34 | public String generateNewID() throws SQLException, ClassNotFoundException { 35 | ResultSet rst = SqlUTIL.execute("SELECT * FROM employeepayment ORDER BY payment_id DESC LIMIT 1;"); 36 | if (rst.next()) { 37 | int id = rst.getInt(3); 38 | id+=1; 39 | return String.valueOf(id); 40 | }else{ 41 | return "1"; 42 | } 43 | } 44 | 45 | @Override 46 | public EmployeePayment search(String id) throws SQLException, ClassNotFoundException { 47 | ResultSet resultSet = SqlUTIL.execute("SELECT * FROM employeepayment WHERE employee_id = ?",id); 48 | if (resultSet.next()) { 49 | return new EmployeePayment(resultSet.getString(1),resultSet.getString(2),resultSet.getString(3),resultSet.getDouble(4)); 50 | }else { 51 | return null; 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/bo/custom/impl/EmployeeBoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.bo.custom.impl; 2 | 3 | import javafx.collections.ObservableList; 4 | import lk.ijse.garment.bo.custom.EmployeeBo; 5 | import lk.ijse.garment.dao.DaoFactory; 6 | import lk.ijse.garment.dao.custom.EmployeeDao; 7 | import lk.ijse.garment.dao.custom.OtherQueryDao; 8 | import lk.ijse.garment.dto.tm.Employee; 9 | 10 | import java.sql.SQLException; 11 | import java.util.ArrayList; 12 | 13 | public class EmployeeBoImpl implements EmployeeBo { 14 | 15 | EmployeeDao employeeDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.EMPLOYEE); 16 | OtherQueryDao otherQueryDao = DaoFactory.getDaoFactory().getDao(DaoFactory.DaoType.QUERY); 17 | 18 | @Override 19 | public boolean saveEmployee(Employee dto) throws SQLException, ClassNotFoundException { 20 | return employeeDao.save(new lk.ijse.garment.entity.Employee(dto.getName(), dto.getNic(), dto.getGmail(), dto.getConumber(), dto.getAddress(),dto.getId(), dto.getBanumber(), dto.getDate())); 21 | } 22 | 23 | @Override 24 | public String getId() throws SQLException, ClassNotFoundException { 25 | return employeeDao.generateNewID(); 26 | } 27 | 28 | @Override 29 | public boolean deleteEmployee(String id) throws SQLException, ClassNotFoundException { 30 | return employeeDao.delete(id); 31 | } 32 | 33 | @Override 34 | public boolean updateEmployee(Employee dto) throws SQLException, ClassNotFoundException { 35 | return employeeDao.update(new lk.ijse.garment.entity.Employee(dto.getName(),dto.getNic(),dto.getGmail(),dto.getConumber(),dto.getAddress(),dto.getBanumber(),dto.getId())); 36 | } 37 | 38 | @Override 39 | public lk.ijse.garment.entity.Employee searchEmployee(String id) throws SQLException, ClassNotFoundException { 40 | return employeeDao.search(id); 41 | } 42 | 43 | @Override 44 | public ObservableList getAllEmplyoeePay() throws SQLException, ClassNotFoundException { 45 | return otherQueryDao.getEmployeePayment(); 46 | } 47 | 48 | @Override 49 | public ArrayList getAll() throws SQLException, ClassNotFoundException { 50 | return employeeDao.getAll(); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/model/manageclothesModel.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.model; 2 | 3 | import javafx.scene.control.Alert; 4 | import lk.ijse.garment.db.DBConnection; 5 | 6 | import java.sql.*; 7 | 8 | public class manageclothesModel { 9 | 10 | public static void addclothes(String clothestypetxt,String skutxt,String colortxt, String amounttxt, double pricetxt,String materialidcomboboxtxt, String discounttxt){ 11 | Timestamp currentDate = new Timestamp(System.currentTimeMillis()); 12 | String clothes_type = clothestypetxt; 13 | String sku = skutxt; 14 | String color = colortxt; 15 | String amount = amounttxt; 16 | Double price = pricetxt; 17 | String material_id = materialidcomboboxtxt; 18 | int am = Integer.parseInt(amount); 19 | Double Total; 20 | if(discounttxt!=null){ 21 | double discount = ((price*am)/100)*2; 22 | double tot = (price*am); 23 | Total = tot-discount; 24 | }else{ 25 | Total = (price*am); 26 | } 27 | 28 | try{ 29 | Connection con = DBConnection.getInstance().getConnection(); 30 | String sql = "INSERT INTO clothes(clothes_type, sku, color, amount, price, material_id, date, Total)" + 31 | "VALUES(?, ?, ?, ?, ?, ?, ?, ?)"; 32 | PreparedStatement pstm = con.prepareStatement(sql); 33 | pstm.setString(1, clothes_type); 34 | pstm.setString(2, sku); 35 | pstm.setString(3, color); 36 | pstm.setString(4, amount); 37 | pstm.setDouble(5, price); 38 | pstm.setString(6,material_id); 39 | pstm.setString(7, String.valueOf(currentDate)); 40 | pstm.setDouble(8,Total); 41 | 42 | int affectedRows = pstm.executeUpdate(); 43 | if (affectedRows > 0) { 44 | new Alert(Alert.AlertType.CONFIRMATION, 45 | " Clothes added successfully") 46 | .show(); 47 | }else{ 48 | new Alert(Alert.AlertType.CONFIRMATION, 49 | "oops)") 50 | .show(); 51 | } 52 | 53 | 54 | } catch (SQLException throwables) { 55 | 56 | } 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/entity/Material.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.entity; 2 | 3 | public class Material { 4 | 5 | private String materialname; 6 | private String material_id; 7 | private String id; 8 | private String amount; 9 | private Double price; 10 | 11 | public Material(String materialname, String material_id, String id, String amount, Double price) { 12 | this.materialname = materialname; 13 | this.material_id = material_id; 14 | this.id = id; 15 | this.amount = amount; 16 | this.price = price; 17 | } 18 | 19 | public Material(){} 20 | 21 | public Material(String materialname, String id, String amount, Double price, String material_id) { 22 | this.materialname = materialname; 23 | this.material_id = material_id; 24 | this.id = id; 25 | this.amount = amount; 26 | this.price = price; 27 | } 28 | 29 | public Material(String material_id) { 30 | this.material_id = material_id; 31 | } 32 | 33 | public String getMaterialname() { 34 | return materialname; 35 | } 36 | 37 | public void setMaterialname(String materialname) { 38 | this.materialname = materialname; 39 | } 40 | 41 | public String getMaterial_id() { 42 | return material_id; 43 | } 44 | 45 | public void setMaterial_id(String material_id) { 46 | this.material_id = material_id; 47 | } 48 | 49 | public String getId() { 50 | return id; 51 | } 52 | 53 | public void setId(String id) { 54 | this.id = id; 55 | } 56 | 57 | public String getAmount() { 58 | return amount; 59 | } 60 | 61 | public void setAmount(String amount) { 62 | this.amount = amount; 63 | } 64 | 65 | public Double getPrice() { 66 | return price; 67 | } 68 | 69 | public void setPrice(Double price) { 70 | this.price = price; 71 | } 72 | 73 | @Override 74 | public String toString() { 75 | return "Material{" + 76 | "materialname='" + materialname + '\'' + 77 | ", material_id='" + material_id + '\'' + 78 | ", id='" + id + '\'' + 79 | ", amount='" + amount + '\'' + 80 | ", price=" + price + 81 | '}'; 82 | } 83 | 84 | } 85 | -------------------------------------------------------------------------------- /target/classes/view/customerpay_form.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /src/main/resources/view/customerpay_form.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/controller/qrsender.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.controller; 2 | 3 | import java.util.Properties; 4 | import javax.activation.DataHandler; 5 | import javax.activation.DataSource; 6 | import javax.activation.FileDataSource; 7 | import javax.mail.*; 8 | import javax.mail.internet.*; 9 | 10 | public class qrsender { 11 | public void send(String subject, String msg, String tocus, String imagePath) { 12 | String to = tocus; 13 | String from = "intexvog20@gmail.com"; 14 | String host = "smtp.gmail.com"; 15 | String password = "lshiqucrerfrtnhv"; 16 | 17 | 18 | Properties properties = System.getProperties(); 19 | properties.setProperty("mail.smtp.host", host); 20 | properties.setProperty("mail.smtp.port", "587"); 21 | properties.setProperty("mail.smtp.starttls.enable", "true"); 22 | properties.setProperty("mail.smtp.auth", "true"); 23 | 24 | 25 | Session session = Session.getInstance(properties, new javax.mail.Authenticator() { 26 | protected PasswordAuthentication getPasswordAuthentication() { 27 | return new PasswordAuthentication(from, password); 28 | } 29 | }); 30 | 31 | try { 32 | 33 | MimeMessage message = new MimeMessage(session); 34 | message.setFrom(new InternetAddress(from)); 35 | message.addRecipient(Message.RecipientType.TO, new InternetAddress(to)); 36 | message.setSubject(subject); 37 | 38 | Multipart multipart = new MimeMultipart(); 39 | 40 | MimeBodyPart textPart = new MimeBodyPart(); 41 | textPart.setText(msg); 42 | 43 | multipart.addBodyPart(textPart); 44 | 45 | MimeBodyPart imagePart = new MimeBodyPart(); 46 | DataSource source = new FileDataSource(imagePath); 47 | imagePart.setDataHandler(new DataHandler(source)); 48 | imagePart.setFileName(imagePath); 49 | 50 | multipart.addBodyPart(imagePart); 51 | 52 | message.setContent(multipart); 53 | 54 | Transport.send(message); 55 | System.out.println("Message sent successfully."); 56 | } catch (MessagingException mex) { 57 | mex.printStackTrace(); 58 | } 59 | } 60 | 61 | /*public static void main(String[] args) { 62 | qrsender q1 = new qrsender(); 63 | q1.send("qr","ok","kavinduhansaka1011@gmail.com","D:\\Garmentsolution(s.f.w)\\src\\main\\resources\\imgs\\qrnewone.png"); 64 | }*/ 65 | } 66 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/impl/CustomerDaoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom.impl; 2 | 3 | import lk.ijse.garment.dao.custom.CustomerDao; 4 | import lk.ijse.garment.dao.custom.impl.util.SqlUTIL; 5 | import lk.ijse.garment.entity.Customer; 6 | import lk.ijse.garment.entity.Supplier; 7 | 8 | import java.sql.ResultSet; 9 | import java.sql.SQLException; 10 | import java.util.ArrayList; 11 | 12 | public class CustomerDaoImpl implements CustomerDao { 13 | @Override 14 | public ArrayList getAll() throws SQLException, ClassNotFoundException { 15 | return null; 16 | } 17 | 18 | @Override 19 | public boolean save(Customer dto) throws SQLException, ClassNotFoundException { 20 | return SqlUTIL.execute("INSERT INTO customertable(name, customer_id, nic_number, contact_number, address, bank_number, gmail, Date) VALUES(?, ?, ?, ?, ?, ?, ?, ?)", dto.getName(),dto.getCustomer_id(),dto.getNic_number(),dto.getContact_number(),dto.getAddress(),dto.getBank_number(),dto.getGmail(),dto.getDate()); 21 | } 22 | 23 | @Override 24 | public boolean update(Customer dto) throws SQLException, ClassNotFoundException { 25 | return SqlUTIL.execute("UPDATE customertable SET name = ?, nic_number = ?, contact_number = ?, address = ?, bank_number = ?, gmail = ? WHERE customer_id = ?", dto.getName(),dto.getNic_number(),dto.getContact_number(),dto.getAddress(),dto.getBank_number(),dto.getGmail(),dto.getCustomer_id()); 26 | } 27 | 28 | @Override 29 | public boolean delete(String id) throws SQLException, ClassNotFoundException { 30 | return SqlUTIL.execute("DELETE FROM customertable WHERE customer_id = ?",id); 31 | } 32 | 33 | @Override 34 | public String generateNewID() throws SQLException, ClassNotFoundException { 35 | ResultSet resultSet = SqlUTIL.execute("SELECT * FROM customertable ORDER BY customer_id DESC LIMIT 1;"); 36 | if(resultSet.next()){ 37 | int id = Integer.parseInt(resultSet.getString(2)); 38 | id+=1; 39 | return String.valueOf(id); 40 | }else { 41 | return "1"; 42 | } 43 | } 44 | 45 | @Override 46 | public Customer search(String id) throws SQLException, ClassNotFoundException { 47 | ResultSet resultSet = SqlUTIL.execute("SELECT *FROM customertable WHERE customer_id = ?", id); 48 | if(resultSet.next()){ 49 | return new Customer(resultSet.getString(1), resultSet.getString(2), resultSet.getString(3),resultSet.getInt(4),resultSet.getString(5),resultSet.getInt(6),resultSet.getString(7),resultSet.getString(8)); 50 | }else { 51 | return null; 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/impl/MaterialDaoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom.impl; 2 | 3 | import lk.ijse.garment.dao.custom.MaterialDao; 4 | import lk.ijse.garment.dao.custom.impl.util.SqlUTIL; 5 | import lk.ijse.garment.entity.Material; 6 | 7 | import java.sql.ResultSet; 8 | import java.sql.SQLException; 9 | import java.util.ArrayList; 10 | 11 | public class MaterialDaoImpl implements MaterialDao { 12 | 13 | @Override 14 | public ArrayList getAll() throws SQLException, ClassNotFoundException { 15 | ArrayList allmaterials = new ArrayList<>(); 16 | ResultSet rst = SqlUTIL.execute("SELECT * FROM material"); 17 | while (rst.next()) { 18 | allmaterials.add(new Material(rst.getString(1),rst.getString(2),rst.getString(3),rst.getString(4),rst.getDouble(5))); 19 | } 20 | return allmaterials; 21 | } 22 | 23 | @Override 24 | public boolean save(Material dto) throws SQLException, ClassNotFoundException { 25 | return SqlUTIL.execute("INSERT INTO material(materialname, material_id, id, amount, price) VALUES(?, ?, ?, ?, ?)",dto.getMaterialname(),dto.getMaterial_id(),dto.getId(),dto.getAmount(),dto.getPrice()); 26 | } 27 | 28 | @Override 29 | public boolean update(Material dto) throws SQLException, ClassNotFoundException { 30 | return SqlUTIL.execute("UPDATE material SET materialname = ?, id = ?, amount = ?, price = ? WHERE material_id = ?",dto.getMaterialname(),dto.getId(),dto.getAmount(),dto.getPrice(),dto.getMaterial_id()); 31 | } 32 | 33 | @Override 34 | public boolean delete(String id) throws SQLException, ClassNotFoundException { 35 | return SqlUTIL.execute("DELETE FROM material WHERE material_id = ?",id); 36 | } 37 | 38 | @Override 39 | public String generateNewID() throws SQLException, ClassNotFoundException { 40 | ResultSet resultSet = SqlUTIL.execute("SELECT * FROM material ORDER BY material_id DESC LIMIT 1"); 41 | if(resultSet.next()){ 42 | int id = Integer.parseInt(resultSet.getString(2)); 43 | id+=1; 44 | return String.valueOf(id); 45 | }else { 46 | return "1"; 47 | } 48 | } 49 | 50 | @Override 51 | public Material search(String id) throws SQLException, ClassNotFoundException { 52 | ResultSet resultSet = SqlUTIL.execute("SELECT * FROM material WHERE material_id = ?",id); 53 | if(resultSet.next()){ 54 | return new Material(resultSet.getString(1),resultSet.getString(2),resultSet.getString(3),resultSet.getString(4),resultSet.getDouble(5)); 55 | }else { 56 | return null; 57 | } 58 | } 59 | 60 | } 61 | -------------------------------------------------------------------------------- /target/classes/view/notification_form.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /src/main/resources/view/notification_form.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/controller/AcceptorderdetailFormController.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.controller; 2 | 3 | import javafx.event.ActionEvent; 4 | import javafx.fxml.FXMLLoader; 5 | import javafx.fxml.Initializable; 6 | import javafx.scene.Parent; 7 | import javafx.scene.Scene; 8 | import javafx.scene.control.Alert; 9 | import javafx.scene.control.Button; 10 | import javafx.scene.text.Text; 11 | import javafx.stage.Stage; 12 | import lk.ijse.garment.db.DBConnection; 13 | import net.sf.jasperreports.engine.*; 14 | import net.sf.jasperreports.engine.design.JRDesignQuery; 15 | import net.sf.jasperreports.engine.design.JasperDesign; 16 | import net.sf.jasperreports.engine.util.JRProperties; 17 | import net.sf.jasperreports.engine.xml.JRXmlLoader; 18 | import net.sf.jasperreports.view.JasperViewer; 19 | 20 | import java.io.IOException; 21 | import java.net.URL; 22 | import java.sql.SQLException; 23 | import java.util.ResourceBundle; 24 | 25 | public class AcceptorderdetailFormController implements Initializable { 26 | public Button placeorder; 27 | public Button confirmbtn; 28 | public Text idtxt; 29 | public Text discounttxt; 30 | public Text totaltxt; 31 | 32 | public void placeorderbtnonaction(ActionEvent actionEvent) { 33 | 34 | } 35 | 36 | public void confirmbtnonaction(ActionEvent actionEvent) { 37 | 38 | Stage currentStage = (Stage) confirmbtn.getScene().getWindow(); 39 | currentStage.close(); 40 | 41 | String id = idtxt.getText(); 42 | 43 | try { 44 | JRProperties.setProperty("net.sf.jasperreports.awt.ignore.missing.font", "true"); 45 | JasperDesign jasperDesign = JRXmlLoader.load("src/main/resources/paymentjasper/Order.jrxml"); 46 | JRDesignQuery query = new JRDesignQuery(); 47 | query.setText("SELECT * FROM placeordertable WHERE order_id = "+id); 48 | jasperDesign.setQuery(query); 49 | 50 | JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign); 51 | JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,null, DBConnection.getInstance().getConnection()); 52 | JasperViewer.viewReport(jasperPrint,false); 53 | 54 | } catch (JRException | SQLException e) { 55 | e.printStackTrace(); 56 | } 57 | 58 | /*new Alert(Alert.AlertType.CONFIRMATION,"Place Order Successfully !").show();*/ 59 | } 60 | 61 | @Override 62 | public void initialize(URL url, ResourceBundle resourceBundle) { 63 | idtxt.setText(PlaceorderFormController.ordID); 64 | discounttxt.setText(String.valueOf(PlaceorderFormController.disc)+"%"); 65 | totaltxt.setText(String.valueOf(PlaceorderFormController.totl)); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/impl/SupplierDaoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom.impl; 2 | 3 | import lk.ijse.garment.dao.custom.SupplierDao; 4 | import lk.ijse.garment.dao.custom.impl.util.SqlUTIL; 5 | import lk.ijse.garment.entity.Supplier; 6 | 7 | import java.sql.ResultSet; 8 | import java.sql.SQLException; 9 | import java.util.ArrayList; 10 | 11 | public class SupplierDaoImpl implements SupplierDao { 12 | @Override 13 | public ArrayList getAll() throws SQLException, ClassNotFoundException { 14 | ArrayList allCustomers = new ArrayList<>(); 15 | ResultSet rst = SqlUTIL.execute("SELECT * FROM suplier"); 16 | while (rst.next()) { 17 | allCustomers.add(new Supplier(rst.getString(1), rst.getString(2), rst.getString(3),rst.getString(4),rst.getInt(5),rst.getInt(6),rst.getString(7))); 18 | } 19 | return allCustomers; 20 | } 21 | 22 | @Override 23 | public boolean save(Supplier dto) throws SQLException, ClassNotFoundException { 24 | return SqlUTIL.execute("INSERT INTO suplier(name, nic, gmail, address, conumber, banumber, id) VALUES(?, ?, ?, ?, ?, ?, ?)" ,dto.getName(),dto.getNic(),dto.getGmail(),dto.getAddress(),dto.getConumber(),dto.getBanumber(),dto.getId()); 25 | } 26 | 27 | @Override 28 | public boolean update(Supplier dto) throws SQLException, ClassNotFoundException { 29 | return SqlUTIL.execute("UPDATE suplier SET name = ?, nic = ?, gmail = ?, address = ?, conumber = ?, banumber = ? WHERE id = ?" ,dto.getName(),dto.getNic(),dto.getGmail(),dto.getAddress(),dto.getConumber(),dto.getBanumber(),dto.getId()); 30 | } 31 | 32 | @Override 33 | public boolean delete(String id) throws SQLException, ClassNotFoundException { 34 | return SqlUTIL.execute("DELETE FROM suplier WHERE id = ?",id); 35 | } 36 | 37 | @Override 38 | public String generateNewID() throws SQLException, ClassNotFoundException { 39 | ResultSet resultSet = SqlUTIL.execute("SELECT * FROM suplier ORDER BY id DESC LIMIT 1"); 40 | if(resultSet.next()){ 41 | int id = Integer.valueOf(resultSet.getString(7)); 42 | id+=1; 43 | return String.valueOf(id); 44 | }else{ 45 | return "1"; 46 | } 47 | } 48 | 49 | @Override 50 | public Supplier search(String id) throws SQLException, ClassNotFoundException { 51 | ResultSet resultSet = SqlUTIL.execute("SELECT *FROM suplier WHERE id = ?", id); 52 | if(resultSet.next()){ 53 | return new Supplier(resultSet.getString(1), resultSet.getString(2), resultSet.getString(3),resultSet.getString(4),resultSet.getInt(5),resultSet.getInt(6),resultSet.getString(7)); 54 | }else { 55 | return null; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /target/classes/view/placeordertable_form.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/resources/view/placeordertable_form.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /target/classes/view/supplierpaymenttable_form.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/resources/view/supplierpaymenttable_form.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/entity/Clothes.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.entity; 2 | 3 | public class Clothes { 4 | 5 | private String clothes_type; 6 | private String sku; 7 | private String color; 8 | private String amount; 9 | private double price; 10 | private String material_id; 11 | private String date; 12 | private double Total; 13 | 14 | public Clothes(){ 15 | } 16 | 17 | public Clothes(String clothes_type, String sku, String color, String amount, double price, String material_id, String date, double total) { 18 | this.clothes_type = clothes_type; 19 | this.sku = sku; 20 | this.color = color; 21 | this.amount = amount; 22 | this.price = price; 23 | this.material_id = material_id; 24 | this.date = date; 25 | Total = total; 26 | } 27 | 28 | public String getClothes_type() { 29 | return clothes_type; 30 | } 31 | 32 | public void setClothes_type(String clothes_type) { 33 | this.clothes_type = clothes_type; 34 | } 35 | 36 | public String getSku() { 37 | return sku; 38 | } 39 | 40 | public void setSku(String sku) { 41 | this.sku = sku; 42 | } 43 | 44 | public String getColor() { 45 | return color; 46 | } 47 | 48 | public void setColor(String color) { 49 | this.color = color; 50 | } 51 | 52 | public String getAmount() { 53 | return amount; 54 | } 55 | 56 | public void setAmount(String amount) { 57 | this.amount = amount; 58 | } 59 | 60 | public double getPrice() { 61 | return price; 62 | } 63 | 64 | public void setPrice(double price) { 65 | this.price = price; 66 | } 67 | 68 | public String getMaterial_id() { 69 | return material_id; 70 | } 71 | 72 | public void setMaterial_id(String material_id) { 73 | this.material_id = material_id; 74 | } 75 | 76 | public String getDate() { 77 | return date; 78 | } 79 | 80 | public void setDate(String date) { 81 | this.date = date; 82 | } 83 | 84 | public double getTotal() { 85 | return Total; 86 | } 87 | 88 | public void setTotal(double total) { 89 | Total = total; 90 | } 91 | 92 | @Override 93 | public String toString() { 94 | return "Clothes{" + 95 | "clothes_type='" + clothes_type + '\'' + 96 | ", sku='" + sku + '\'' + 97 | ", color='" + color + '\'' + 98 | ", amount='" + amount + '\'' + 99 | ", price=" + price + 100 | ", material_id='" + material_id + '\'' + 101 | ", date='" + date + '\'' + 102 | ", Total=" + Total + 103 | '}'; 104 | } 105 | 106 | } 107 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/dao/custom/impl/EmployeeDaoImpl.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.dao.custom.impl; 2 | 3 | import lk.ijse.garment.dao.custom.EmployeeDao; 4 | import lk.ijse.garment.dao.custom.impl.util.SqlUTIL; 5 | import lk.ijse.garment.entity.Employee; 6 | import lk.ijse.garment.entity.Supplier; 7 | 8 | import java.sql.ResultSet; 9 | import java.sql.SQLException; 10 | import java.util.ArrayList; 11 | 12 | public class EmployeeDaoImpl implements EmployeeDao { 13 | 14 | @Override 15 | public ArrayList getAll() throws SQLException, ClassNotFoundException { 16 | ArrayList allCustomers = new ArrayList<>(); 17 | ResultSet rst = SqlUTIL.execute("SELECT * FROM employee"); 18 | while (rst.next()) { 19 | allCustomers.add(new Employee(rst.getString(1), rst.getString(2), rst.getString(3),rst.getInt(4),rst.getString(5),rst.getString(6),rst.getInt(7),rst.getString(8))); 20 | } 21 | return allCustomers; 22 | } 23 | 24 | @Override 25 | public boolean save(Employee dto) throws SQLException, ClassNotFoundException { 26 | return SqlUTIL.execute("INSERT INTO employee(name, nic, gmail, conumber, address, id, banumber, Date)VALUES(?, ?, ?, ?, ?, ?, ?, ?)",dto.getName(),dto.getNic(),dto.getGmail(),dto.getConumber(),dto.getAddress(),dto.getId(),dto.getBanumber(),dto.getDate()); 27 | } 28 | 29 | @Override 30 | public boolean update(Employee dto) throws SQLException, ClassNotFoundException { 31 | return SqlUTIL.execute("UPDATE employee SET name = ?, nic = ?, gmail = ?, conumber = ?, address = ?, banumber = ? WHERE id = ?",dto.getName(),dto.getNic(),dto.getGmail(),dto.getConumber(),dto.getAddress(),dto.getBanumber(),dto.getId()); 32 | } 33 | 34 | @Override 35 | public boolean delete(String id) throws SQLException, ClassNotFoundException { 36 | return SqlUTIL.execute("DELETE FROM employee WHERE id = ?",id); 37 | } 38 | 39 | @Override 40 | public String generateNewID() throws SQLException, ClassNotFoundException { 41 | ResultSet resultSet = SqlUTIL.execute("SELECT * FROM employee ORDER BY id DESC LIMIT 1;"); 42 | if(resultSet.next()){ 43 | int id = Integer.parseInt(resultSet.getString(6)); 44 | id +=1; 45 | return String.valueOf(id); 46 | }else { 47 | return "1"; 48 | } 49 | } 50 | 51 | @Override 52 | public Employee search(String id) throws SQLException, ClassNotFoundException { 53 | ResultSet resultSet = SqlUTIL.execute("SELECT *FROM employee WHERE id = ?",id); 54 | if(resultSet.next()){ 55 | return new Employee(resultSet.getString(1), resultSet.getString(2), resultSet.getString(3),resultSet.getInt(4),resultSet.getString(5),resultSet.getString(6),resultSet.getInt(7),resultSet.getString(8)); 56 | }else { 57 | return null; 58 | } 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/controller/NotificationFormController.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.controller; 2 | 3 | import javafx.collections.FXCollections; 4 | import javafx.collections.ObservableList; 5 | import javafx.fxml.Initializable; 6 | import javafx.scene.control.Alert; 7 | import javafx.scene.control.TableColumn; 8 | import javafx.scene.control.TableView; 9 | import javafx.scene.control.cell.PropertyValueFactory; 10 | import javafx.scene.input.MouseEvent; 11 | import lk.ijse.garment.dto.tm.Notification; 12 | import lk.ijse.garment.dto.tm.Supplier; 13 | import lk.ijse.garment.dto.tm.tm.NotificationTM; 14 | import lk.ijse.garment.dto.tm.tm.SupplierTM; 15 | import lk.ijse.garment.model.NotificationModel; 16 | import lk.ijse.garment.model.SupplierModel; 17 | 18 | import java.net.URL; 19 | import java.sql.SQLException; 20 | import java.util.List; 21 | import java.util.ResourceBundle; 22 | 23 | public class NotificationFormController implements Initializable { 24 | public TableView tableview; 25 | public TableColumn usernametxt; 26 | public TableColumn addresstxt; 27 | public TableColumn nictxt; 28 | public TableColumn contacttxt; 29 | public TableColumn banknumbertxt; 30 | public TableColumn gmailtxt; 31 | 32 | public void tableviewmouseclickaction(MouseEvent mouseEvent) { 33 | 34 | } 35 | 36 | @Override 37 | public void initialize(URL url, ResourceBundle resourceBundle) { 38 | getAll();setCellValueFactory(); 39 | } 40 | 41 | private void setCellValueFactory() { 42 | usernametxt.setCellValueFactory(new PropertyValueFactory<>("username")); 43 | addresstxt.setCellValueFactory(new PropertyValueFactory<>("address")); 44 | nictxt.setCellValueFactory(new PropertyValueFactory<>("nicnumber")); 45 | contacttxt.setCellValueFactory(new PropertyValueFactory<>("contactnumber")); 46 | banknumbertxt.setCellValueFactory(new PropertyValueFactory<>("gmail")); 47 | gmailtxt.setCellValueFactory(new PropertyValueFactory<>("banknumber")); 48 | } 49 | 50 | private void getAll() { 51 | try { 52 | ObservableList obList = FXCollections.observableArrayList(); 53 | List notify = NotificationModel.getAll(); 54 | 55 | for (Notification notification : notify) { 56 | obList.add(new NotificationTM( 57 | notification.getUsername(), 58 | notification.getAddress(), 59 | notification.getNicnumber(), 60 | notification.getContactnumber(), 61 | notification.getBanknumber(), 62 | notification.getGmail() 63 | )); 64 | } 65 | tableview.setItems(obList); 66 | } catch (SQLException e) { 67 | e.printStackTrace(); 68 | new Alert(Alert.AlertType.ERROR, "SQL Error!").show(); 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /target/classes/view/employeepaymenttable.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/main/resources/view/employeepaymenttable.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/garment/entity/Employee.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.garment.entity; 2 | 3 | public class Employee { 4 | 5 | private String name; 6 | private String nic; 7 | private String gmail; 8 | private int conumber; 9 | private String address; 10 | private String id; 11 | private int banumber; 12 | private String Date; 13 | 14 | public Employee() { 15 | } 16 | 17 | public Employee(String name, String nic, String gmail, int conumber, String address, String id, int banumber, String date) { 18 | this.name = name; 19 | this.nic = nic; 20 | this.gmail = gmail; 21 | this.conumber = conumber; 22 | this.address = address; 23 | this.id = id; 24 | this.banumber = banumber; 25 | Date = date; 26 | } 27 | 28 | public Employee(String name, String nic, String gmail, Integer conumber, String address, Integer banumber, String id) { 29 | this.name = name; 30 | this.nic = nic; 31 | this.gmail = gmail; 32 | this.conumber = conumber; 33 | this.address = address; 34 | this.banumber = banumber; 35 | this.id = id; 36 | } 37 | 38 | public String getName() { 39 | return name; 40 | } 41 | 42 | public void setName(String name) { 43 | this.name = name; 44 | } 45 | 46 | public String getNic() { 47 | return nic; 48 | } 49 | 50 | public void setNic(String nic) { 51 | this.nic = nic; 52 | } 53 | 54 | public String getGmail() { 55 | return gmail; 56 | } 57 | 58 | public void setGmail(String gmail) { 59 | this.gmail = gmail; 60 | } 61 | 62 | public int getConumber() { 63 | return conumber; 64 | } 65 | 66 | public void setConumber(int conumber) { 67 | this.conumber = conumber; 68 | } 69 | 70 | public String getAddress() { 71 | return address; 72 | } 73 | 74 | public void setAddress(String address) { 75 | this.address = address; 76 | } 77 | 78 | public String getId() { 79 | return id; 80 | } 81 | 82 | public void setId(String id) { 83 | this.id = id; 84 | } 85 | 86 | public int getBanumber() { 87 | return banumber; 88 | } 89 | 90 | public void setBanumber(int banumber) { 91 | this.banumber = banumber; 92 | } 93 | 94 | public String getDate() { 95 | return Date; 96 | } 97 | 98 | public void setDate(String date) { 99 | Date = date; 100 | } 101 | 102 | @Override 103 | public String toString() { 104 | return "Employee{" + 105 | "name='" + name + '\'' + 106 | ", nic='" + nic + '\'' + 107 | ", gmail='" + gmail + '\'' + 108 | ", conumber=" + conumber + 109 | ", address='" + address + '\'' + 110 | ", id='" + id + '\'' + 111 | ", banumber=" + banumber + 112 | ", Date='" + Date + '\'' + 113 | '}'; 114 | } 115 | } 116 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | org.example 8 | fashionFlow 9 | 1.0-SNAPSHOT 10 | 11 | 12 | 11 13 | 11 14 | 15 | 16 | 17 | 18 | org.openjfx 19 | javafx-controls 20 | 19.0.2.1 21 | 22 | 23 | org.openjfx 24 | javafx-fxml 25 | 19.0.2.1 26 | 27 | 28 | mysql 29 | mysql-connector-java 30 | 8.0.32 31 | 32 | 33 | com.jfoenix 34 | jfoenix 35 | 9.0.10 36 | 37 | 38 | de.sciss 39 | sphinx4-data 40 | 1.0.0 41 | 42 | 43 | 44 | net.sf.phat 45 | sphinx4-core 46 | 5prealpha 47 | 48 | 49 | 50 | org.projectlombok 51 | lombok 52 | 1.18.26 53 | provided 54 | 55 | 56 | 57 | com.sun.mail 58 | javax.mail 59 | 1.6.1 60 | 61 | 62 | 63 | javax.activation 64 | activation 65 | 1.1 66 | 67 | 68 | 69 | net.sf.jasperreports 70 | jasperreports 71 | 6.20.1 72 | 73 | 74 | 75 | net.sf.jasperreports 76 | jasperreports 77 | 5.2.0 78 | 79 | 80 | 81 | com.google.zxing 82 | core 83 | 3.4.0 84 | 85 | 86 | 87 | com.google.zxing 88 | javase 89 | 3.4.0 90 | 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /target/classes/view/payment_form.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/main/resources/view/payment_form.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 52 | 53 | 54 | --------------------------------------------------------------------------------