Subversion Repositories SmartDukaan

Rev

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

Rev 8898 Rev 11890
Line 314... Line 314...
314
        loadTickets('infopane', "/crm/tickets!searchTickets?category=RTO_REFUND&status=OPEN");        
314
        loadTickets('infopane', "/crm/tickets!searchTickets?category=RTO_REFUND&status=OPEN");        
315
        return false;
315
        return false;
316
    });
316
    });
317
    //End:- Added By Manish Sharma for Creating a new Ticket: Category- RTO Refund on 21-Jun-2013
317
    //End:- Added By Manish Sharma for Creating a new Ticket: Category- RTO Refund on 21-Jun-2013
318
    
318
    
-
 
319
    $('.bulk-order-enquiry-tickets').live('click', function() {
-
 
320
        loadTickets('infopane', "/crm/tickets!searchTickets?category=Bulk_Order_ENQUIRY&status=OPEN");        
-
 
321
        return false;
-
 
322
    });
-
 
323
    
319
    $('#order-cancellation-tickets').live('click', function() {
324
    $('#order-cancellation-tickets').live('click', function() {
320
        loadTickets('infopane', "/crm/tickets!searchTickets?category=ORDER_CANCELLATION&status=OPEN");        
325
        loadTickets('infopane', "/crm/tickets!searchTickets?category=ORDER_CANCELLATION&status=OPEN");        
321
        return false;
326
        return false;
322
    });
327
    });
323
 
328
 
Line 333... Line 338...
333
 
338
 
334
    $('.trust-level-increase').live('click', function() {
339
    $('.trust-level-increase').live('click', function() {
335
        increaseTrustLevel('infopane', $('input#trust-level-increase').attr('userId'), $('input#trust-level-increase').val());
340
        increaseTrustLevel('infopane', $('input#trust-level-increase').attr('userId'), $('input#trust-level-increase').val());
336
    });
341
    });
337
    
342
    
-
 
343
    $('.add-to-private-deal').live('click', function() {
-
 
344
        addPrivateDealUser('infopane', $('.add-to-private-deal').attr('userId'));
-
 
345
    });
-
 
346
    
-
 
347
    $('.change-private-deal-user-status').live('click', function() {
-
 
348
    	if (!(confirm('Are you sure about this action?'))){
-
 
349
    		return false;
-
 
350
    	}
-
 
351
        changePrivateDealUserStatus('infopane', $('.change-private-deal-user-status').attr('userId'),$('.change-private-deal-user-status').attr('active'));
-
 
352
    });
-
 
353
    
-
 
354
    $('.reset-private-deal-user-password').live('click', function() {
-
 
355
    	if (!(confirm('Are you sure want to reset password?'))){
-
 
356
    		return false;
-
 
357
    	}
-
 
358
        resetPasswordForPrivateDealUser('infopane', $('.reset-private-deal-user-password').attr('userId'));
-
 
359
    });
-
 
360
    
338
    $('.update-order-status').live('click', function() {
361
    $('.update-order-status').live('click', function() {
339
        updateOrderStatus('bottom-infopane', $(this).attr('ticketId'), $(this).attr('orderId'), $(this).attr('orderStatus'));
362
        updateOrderStatus('bottom-infopane', $(this).attr('ticketId'), $(this).attr('orderId'), $(this).attr('orderStatus'));
340
    });
363
    });
341
    
364
    
342
 
365