Browse Source

Fixed the payement type label bug, but altering the selector.

1).  This selector turned of edit when clicked, but because of the way it was construed it was hiding the label.  Only became obvious when the validation tests were added.
devel
Jonathan Rosenbaum 9 years ago
parent
commit
c31551d66a
  1. 2
      Connections/database_functions.php
  2. 2
      js/transaction.js

2
Connections/database_functions.php

@ -64,7 +64,7 @@ $gnucash_accounts = array( "Assets:Current Assets:Checking" => "checking",
// Most collectives require only one shop at a time, but YBDB provides a way to handle 2 concurrent
// shops in the same location. The current shop will be shown, and users will have to remember the
// number of the previous shop to enter into the transaction.
// Note: Remote shops function independently via there IP identification.
// Note: Remote shops function independently via their IP identification.
//
// Normally, you will want this set at 0.
define('SHOW_SHOP_ID',0);

2
js/transaction.js

@ -85,7 +85,7 @@ $(function() {
} );
// paid or not?
//$(":checked").parent("td").prev().children().hide(); // with validation testing this seems to be unnecessary
$(":checked").parent("td").prev().children().not("#payment_type_label").hide(); // need to watch that not introduction bugs
$(".paid").click(function() {
if (open_shop == "no_shop") { return false; }

Loading…
Cancel
Save