From 9190bd46a02e00462eb23415907148267a495b7c Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 18 Sep 2020 17:47:13 -0600 Subject: [PATCH] Add large id label --- print/templates/machineid-large.glabels | Bin 0 -> 950 bytes settings.template.php | 21 +++++++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 print/templates/machineid-large.glabels diff --git a/print/templates/machineid-large.glabels b/print/templates/machineid-large.glabels new file mode 100644 index 0000000000000000000000000000000000000000..bf97243d85b4829ac12e544512b95e665ce6ea59 GIT binary patch literal 950 zcmV;n14;ZJiwFP!000021Kn0zZ=^O9e$TJ4P+w;-<}wh?WTj@iRkcaCYSQP(fCsz- zHZ>+0+T_3Y*j#32HL04mD^=wM&IS8B-}w$^{cc}Z=#iPd z(^M1{LmXb|f%mFoQ^SUog=TxG&sIZx5_%Sb5vLyqzCYFm)x-e~$J+3c z_>t$?)X!b3`4(Qd2IU%cJ<^I7pqYEwIEZ#yKD4FcVz+TV(5hwN!?s@PS!9$9H-B&j zgB6CpukF@BTPgIzme#z2{eMY2p}WyJ=-rD(^J!GY&#dSwszxu@ z05zL&RiLO?3^*sX<5Fp0b@%mC2lq zgvYCJraKIhAe`x*m1^k@V?tsZOlh`bM$U!kro~{qbzcFrYcM<#JIL%i*Oiql+qGRi zcK;laIn@*}5I+c`Rh+z`NABxl@}g)gjx2E;C*hHnRwOuRi6q#6tCogRzN(batrYT9 zPr+Bw)0;(f%yLAgiN(tm@qN5H(7cMh1I-ah$jbjujqDv2?J2?J9}#@V)FaPWj?(^e z{o{>$bwYF|YXH?70~mib{>0LjYmilv3Cw-aPU?jC>gSbHi`~r}I1*7|yI1 zJ_CobPe>Azld-RO`m18%WbA+V?i$V^9Q@t6=lSI~zw`X%IjcA*0*v9o6#epStDSw; zdii%g5XaKRksroEJRhY=kVM`=yHSK!!T(yjKPlP3q0%F{JtNJzALo^OXw6otnrdx- zo&HpxlcTl9EmH+Ux^K)s0%W+?vaYFn11PoIM*34~pJ=EoD*6L-}J`OEj YzXvVB)7t&=clPSy524IG0{9950F39|Bme*a literal 0 HcmV?d00001 diff --git a/settings.template.php b/settings.template.php index 8a2de8e..6224f5f 100644 --- a/settings.template.php +++ b/settings.template.php @@ -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.