|
|
|
@ -14,7 +14,7 @@ $SETTINGS = [
|
|
|
|
|
// and stacktraces.
|
|
|
|
|
// Turning this on in production is a security risk and can sometimes break
|
|
|
|
|
// things, such as JSON output where extra content is not expected.
|
|
|
|
|
"debug" => false,
|
|
|
|
|
"debug" => true,
|
|
|
|
|
// Database connection settings
|
|
|
|
|
// See http://medoo.in/api/new for info
|
|
|
|
|
"database" => [
|
|
|
|
@ -26,9 +26,6 @@ $SETTINGS = [
|
|
|
|
|
"charset" => "utf8"
|
|
|
|
|
],
|
|
|
|
|
"apis" => [
|
|
|
|
|
// Get a token by going to Settings->Advanced Settings->API Tokens->Add Token
|
|
|
|
|
// Leave token empty to use internal clients table (not recommended)
|
|
|
|
|
// Feel free to add your own Clients class that uses whatever data source you have, see lib/Clients.lib.php
|
|
|
|
|
"invoiceninja" => [
|
|
|
|
|
"url" => "https://app.invoiceninja.com/api/v1",
|
|
|
|
|
"token" => ""
|
|
|
|
@ -42,8 +39,11 @@ $SETTINGS = [
|
|
|
|
|
// Shown in public tracking page
|
|
|
|
|
"machineidnumber" => "Netsyms device ID number, machine ID number",
|
|
|
|
|
// Shown in public tracking page
|
|
|
|
|
"shortmachineid" => "Device/Machine ID Number",
|
|
|
|
|
"labels" => [
|
|
|
|
|
"shortmachineid" => "Device/Machine ID Number"
|
|
|
|
|
],
|
|
|
|
|
"labels" => [
|
|
|
|
|
// The following keys/values are made available to gLabels during template rendering.
|
|
|
|
|
"fields" => [
|
|
|
|
|
// Shown above machine ID barcodes on labels (key ${idnumbertitle})
|
|
|
|
|
"idnumbertitle" => "Netsyms Device ID #",
|
|
|
|
|
// Rendered to QR codes on labels (key ${link})
|
|
|
|
@ -60,6 +60,15 @@ $SETTINGS = [
|
|
|
|
|
"companyphone" => "(406) 404-7177",
|
|
|
|
|
// Rendered on labels (key ${companywebsite})
|
|
|
|
|
"companywebsite" => "netsyms.com"
|
|
|
|
|
],
|
|
|
|
|
// print/templates/$key.glabels => visible template/label title
|
|
|
|
|
"templates" => [
|
|
|
|
|
"machineid" => "ID Label",
|
|
|
|
|
"machineidanonymous" => "ID Label (No \"Property Of\")",
|
|
|
|
|
"machineidinternal" => "Internal ID Label",
|
|
|
|
|
"machineidlarge" => "Large ID Label",
|
|
|
|
|
"doortag" => "Door Tag",
|
|
|
|
|
"pickupslip" => "Pickup Slip"
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
// Settings for connecting to the AccountHub server.
|
|
|
|
|