| Line 626... |
Line 626... |
| 626 |
printInvoice.setEnabled(printInv);
|
626 |
printInvoice.setEnabled(printInv);
|
| 627 |
markLostInTransit.setEnabled(lostInTransit);
|
627 |
markLostInTransit.setEnabled(lostInTransit);
|
| 628 |
}
|
628 |
}
|
| 629 |
|
629 |
|
| 630 |
private void loadOrderDetails(){
|
630 |
private void loadOrderDetails(){
|
| - |
|
631 |
if(transaction.getDealText()!=null &&!transaction.getDealText().isEmpty()) {
|
| 631 |
orderDetails1.add(getHorizontalPanel("FREE ITEM: ", transaction.getDealText()));
|
632 |
orderDetails1.add(getHorizontalPanel("DEAL TEXT: ", transaction.getDealText()));
|
| - |
|
633 |
}
|
| 632 |
orderDetails1.add(getHorizontalPanel("PRODUCT GROUP: ", transaction.getProductGroup()));
|
634 |
orderDetails1.add(getHorizontalPanel("PRODUCT GROUP: ", transaction.getProductGroup()));
|
| 633 |
orderDetails1.add(getHorizontalPanel("BRAND: ", transaction.getBrand()));
|
635 |
orderDetails1.add(getHorizontalPanel("BRAND: ", transaction.getBrand()));
|
| 634 |
orderDetails1.add(getHorizontalPanel("MODEL: ", getModelDisplayName(transaction)));
|
636 |
orderDetails1.add(getHorizontalPanel("MODEL: ", getModelDisplayName(transaction)));
|
| 635 |
orderDetails1.add(getHorizontalPanel("Item ID: ", transaction.getItemId()+""));
|
637 |
orderDetails1.add(getHorizontalPanel("Item ID: ", transaction.getItemId()+""));
|
| 636 |
|
638 |
|
| Line 638... |
Line 640... |
| 638 |
orderDetails1.add(getHorizontalPanel("ALERT: ", transaction.getAlert().toString()));
|
640 |
orderDetails1.add(getHorizontalPanel("ALERT: ", transaction.getAlert().toString()));
|
| 639 |
|
641 |
|
| 640 |
orderDetails2.add(getHorizontalPanel("NAME: ", transaction.getCustomerName()));
|
642 |
orderDetails2.add(getHorizontalPanel("NAME: ", transaction.getCustomerName()));
|
| 641 |
orderDetails2.add(getHorizontalPanel("ADDRESS: ", getDisplayAddress(transaction)));
|
643 |
orderDetails2.add(getHorizontalPanel("ADDRESS: ", getDisplayAddress(transaction)));
|
| 642 |
orderDetails2.add(getHorizontalPanel("MOBILE NUMBER: ", transaction.getCustomerMobileNumber()));
|
644 |
orderDetails2.add(getHorizontalPanel("MOBILE NUMBER: ", transaction.getCustomerMobileNumber()));
|
| - |
|
645 |
if(transaction.getExtraInfo()!=null && !transaction.getExtraInfo().isEmpty()) {
|
| - |
|
646 |
orderDetails2.add(getHorizontalPanel("EXTRA INFO: ", transaction.getExtraInfo()));
|
| - |
|
647 |
}
|
| 643 |
|
648 |
|
| 644 |
orderDetails3.add(getHorizontalPanel("TOTAL WEIGHT: ", transaction.getTotalWeight()+""));
|
649 |
orderDetails3.add(getHorizontalPanel("TOTAL WEIGHT: ", transaction.getTotalWeight()+""));
|
| 645 |
orderDetails3.add(getHorizontalPanel("TOTAL AMOUNT(Rs): ", transaction.getTotalAmount()+""));
|
650 |
orderDetails3.add(getHorizontalPanel("TOTAL AMOUNT(Rs): ", transaction.getTotalAmount()+""));
|
| 646 |
orderDetails3.add(getHorizontalPanel("FULFIL FROM: ", transaction.getPickFromWarehouse()+""));
|
651 |
orderDetails3.add(getHorizontalPanel("FULFIL FROM: ", transaction.getPickFromWarehouse()+""));
|
| 647 |
orderDetails3.add(getHorizontalPanel("ORDER TYPE: ", transaction.getOrderType()+""));
|
652 |
orderDetails3.add(getHorizontalPanel("ORDER TYPE: ", transaction.getOrderType()+""));
|
| 648 |
if(transaction.getQuantity()>1)
|
653 |
if(transaction.getQuantity()>1)
|
| 649 |
orderDetails3.add(getHorizontalPanel("BULK ORDER: ", transaction.getQuantity()+""));
|
654 |
orderDetails3.add(getHorizontalPanel("BULK ORDER: ", transaction.getQuantity()+""));
|
| 650 |
|
- |
|
| - |
|
655 |
if(transaction.getFreebieItemId()>0)
|
| - |
|
656 |
orderDetails3.add(getHorizontalPanel("FREEBIE ITEMID: ", transaction.getFreebieItemId()+""));
|
| 651 |
|
657 |
|
| 652 |
orderDetails4.add(getHorizontalPanel("AIRWAY BILL NO: ", transaction.getAirwayBillNo()));
|
658 |
orderDetails4.add(getHorizontalPanel("AIRWAY BILL NO: ", transaction.getAirwayBillNo()));
|
| 653 |
orderDetails4.add(getHorizontalPanel("INVOICE NUMBER: ", transaction.getInvoiceNumber()));
|
659 |
orderDetails4.add(getHorizontalPanel("INVOICE NUMBER: ", transaction.getInvoiceNumber()));
|
| 654 |
orderDetails4.add(getHorizontalPanel("JACKET NUMBER: ", transaction.getJacketNumber() + ""));
|
660 |
orderDetails4.add(getHorizontalPanel("JACKET NUMBER: ", transaction.getJacketNumber() + ""));
|
| 655 |
orderDetails4.add(getHorizontalPanel("ITEM NO: ", getDisplayNameForNullableString(transaction.getItemNumber())));
|
661 |
orderDetails4.add(getHorizontalPanel("ITEM NO: ", getDisplayNameForNullableString(transaction.getItemNumber())));
|