1
0

app-completed-tests.js 284 B

123456789101112
  1. $(function() {
  2. $("#modal-test-invoice").on("show.bs.modal", function(event) {
  3. var a = $(event.relatedTarget);
  4. var id = $(a).data("id");
  5. $(this).find("form").attr("action", "/account/tests/" + id + "/invoice");
  6. $(this).find("input[name=travel_cost]").val("0.00");
  7. });
  8. });