Created
June 18, 2009 09:12
-
-
Save MrJaba/131808 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Supplier Payments Specific Javascript | |
VTG.SupplierPayments = { | |
//Method which identifies the currently selected suppliers and hides the others | |
addOnChangeToSupplierFilter: function(){ | |
$("#supplier_filter").change( function () { | |
var selectedSupplier = $("select#supplier_filter option:selected").attr('value'); | |
VTG.SupplierPayments.showAllBookingRows(); | |
VTG.SupplierPayments.hideAllExceptSelectedSupplier( selectedSupplier ); | |
VTG.SupplierPayments.showTableHeader(); | |
VTG.SupplierPayments.addBatchPaymentControls( selectedSupplier ); | |
}) | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment