Added SHOP_SHOP_ID option.

1). 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.
This commit is contained in:
Jonathan Rosenbaum
2015-01-28 07:16:40 +00:00
parent 2175ab18e4
commit a2fbb3d5cc
2 changed files with 42 additions and 9 deletions
+8
View File
@@ -60,6 +60,14 @@ $gnucash_accounts = array( "Assets:Current Assets:Checking" => "checking",
"Assets:Current Assets:PayPal" => "credit",
"Assets:Account Receivable" => "account_receivable"
);
// 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.
//
// Normally, you will want this set at 0.
define('SHOW_SHOP_ID',0);
// other constants
define("PAGE_START_SHOP", "/start_shop.php");