Subversion Repositories SmartDukaan

Rev

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

Rev 27754 Rev 27755
Line 2... Line 2...
2
 
2
 
3
	$(document).on('click', ".wallet-edit", function() {
3
	$(document).on('click', ".wallet-edit", function() {
4
		loadManualPayment("main-content");
4
		loadManualPayment("main-content");
5
	});
5
	});
6
 
6
 
7
	$(".referenceSearch").live(
7
	$(document).on('click', ".referenceSearch",
8
			'click',
-
 
9
			function() {
8
			function() {
10
				var reference = $('#reference_id').val();
9
				var reference = $('#reference_id').val();
11
				var type = $('#reference-type option:selected').html();
10
				var type = $('#reference-type option:selected').html();
12
 
11
 
13
				if (type == "" || type == null || type == undefined) {
12
				if (type == "" || type == null || type == undefined) {
Line 45... Line 44...
45
			$('.wallet-history-container').html(response);
44
			$('.wallet-history-container').html(response);
46
			$("#wallet-form")[0].reset();
45
			$("#wallet-form")[0].reset();
47
		});
46
		});
48
	});
47
	});
49
 
48
 
50
	$(".transactionSubmit").live(
49
	$(document).on('click', ".transactionSubmit",
51
			'click',
-
 
52
			function() {
50
			function() {
53
				var reference = $('#reference_id').val();
51
				var reference = $('#reference_id').val();
54
				var typeValue = $('#reference-type option:selected').val();
52
				var typeValue = $('#reference-type option:selected').val();
55
				var transactiontype = $('#transaction-type').val();
53
				var transactiontype = $('#transaction-type').val();
56
				var amount = $('#amount').val();
54
				var amount = $('#amount').val();