Subversion Repositories SmartDukaan

Rev

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

Rev 4666 Rev 4682
Line 513... Line 513...
513
	}
513
	}
514
	
514
	
515
	private void implementMaskForAdmin(){
515
	private void implementMaskForAdmin(){
516
		switch(mask){
516
		switch(mask){
517
        case CAPTURE_IN_PROCESS:
517
        case CAPTURE_IN_PROCESS:
518
            maskButtonsForAdmin(false, false, false, false, true, true, true, false); //Allow the OM to refund a COD order or an order with low inventory or when a customer calls or writes to cancel an order.
518
            maskButtonsForAdmin(false, false, false, false, false, true, true, false); //Allow the OM to refund a COD order or an order with low inventory or when a customer calls or writes to cancel an order.
519
            break;
519
            break;
520
        case VERIFICATION_PENDING:
520
        case VERIFICATION_PENDING:
521
        case NEW:
521
        case NEW:
522
        case NO_STOCK:
522
        case NO_STOCK:
523
        case ACCEPT:
523
        case ACCEPT:
524
        case BILL:
524
        case BILL:
525
			maskButtonsForAdmin(false, false, false, false, true, true, false, false); //Allow the OM to refund a COD order or an order with low inventory or when a customer calls or writes to cancel an order.
525
			maskButtonsForAdmin(false, false, false, false, false, true, false, false); //Allow the OM to refund a COD order or an order with low inventory or when a customer calls or writes to cancel an order.
526
			break;
526
			break;
527
		case DELIVERED:
527
		case DELIVERED:
528
			maskButtonsForAdmin(false, false, false, false, false, true, false, false);	//Allow the OM to flag and request pickup.
528
			maskButtonsForAdmin(false, false, false, false, false, true, false, false);	//Allow the OM to flag and request pickup.
529
			break;
529
			break;
530
		case DOA_REQUEST_AUTHORIZED:	
530
		case DOA_REQUEST_AUTHORIZED: