Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions admin/relatorios.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
require_once(__DIR__ . '/../func/logaction.php');
require_once(__DIR__ . '/../func/csrf.php');
require_once(__DIR__ . '/../src/db.php');

// TCPDF 7 resolves fonts through tc-lib-pdf-font JSON descriptors.
// Keep the descriptors used by this report in the application tree so Composer
// installs do not need to build or download font assets at deploy time.
if (!defined('K_PATH_FONTS')) {
define('K_PATH_FONTS', __DIR__ . '/../assets/tcpdf-fonts/');
}

require_once(__DIR__ . '/../vendor/autoload.php');

// Handle PDF generation
Expand Down
Empty file added assets/tcpdf-fonts/core/LICENSE
Empty file.
1 change: 1 addition & 0 deletions assets/tcpdf-fonts/core/helvetica.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"Core","name":"Helvetica","up":-100,"ut":50,"dw":278,"diff":"","platform_id":3,"encoding_id":1,"enc":"","isUnicode":false,"desc":{"Flags":32,"FontBBox":"[-166 -225 1000 931]","ItalicAngle":0,"Ascent":931,"Descent":-225,"Leading":0,"CapHeight":718,"XHeight":523,"StemV":88,"StemH":76,"AvgWidth":547,"MaxWidth":1015,"MissingWidth":278},"cbbox":{"32":[0,0,0,0],"33":[90,0,187,718],"34":[70,463,285,718],"35":[28,0,529,688],"36":[32,-115,520,775],"37":[39,-19,850,703],"38":[44,-15,645,718],"146":[53,463,157,718],"40":[68,-207,299,733],"41":[34,-207,265,733],"42":[39,431,349,718],"43":[39,0,545,505],"44":[87,-147,191,106],"45":[44,232,289,322],"46":[87,0,191,106],"47":[-17,-19,295,737],"48":[37,-19,519,703],"49":[101,0,359,703],"50":[26,0,507,703],"51":[34,-19,522,703],"52":[25,0,523,703],"53":[32,-19,514,688],"54":[38,-19,518,703],"55":[37,0,523,688],"56":[38,-19,517,703],"57":[42,-19,514,703],"58":[87,0,191,516],"59":[87,-147,191,516],"60":[48,11,536,495],"61":[39,115,545,390],"62":[48,11,536,495],"63":[56,0,492,727],"64":[147,-19,868,737],"65":[14,0,654,718],"66":[74,0,627,718],"67":[44,-19,681,737],"68":[81,0,674,718],"69":[86,0,616,718],"70":[86,0,583,718],"71":[48,-19,704,737],"72":[77,0,646,718],"73":[91,0,188,718],"74":[17,-19,428,718],"75":[76,0,663,718],"76":[76,0,537,718],"77":[73,0,761,718],"78":[76,0,646,718],"79":[39,-19,739,737],"80":[86,0,622,718],"81":[39,-56,739,737],"82":[88,0,684,718],"83":[49,-19,620,737],"84":[14,0,597,718],"85":[79,-19,644,718],"86":[20,0,647,718],"87":[16,0,928,718],"88":[19,0,648,718],"89":[14,0,653,718],"90":[23,0,588,718],"91":[63,-196,250,722],"92":[-17,-19,295,737],"93":[28,-196,215,722],"94":[-14,264,483,688],"95":[0,-125,556,-75],"145":[65,470,169,725],"97":[36,-15,530,538],"98":[58,-15,517,718],"99":[30,-15,477,538],"100":[35,-15,499,718],"101":[40,-15,516,538],"102":[14,0,262,728],"103":[40,-220,499,538],"104":[65,0,491,718],"105":[67,0,155,718],"106":[-16,-210,155,718],"107":[67,0,501,718],"108":[67,0,155,718],"109":[65,0,769,538],"110":[65,0,491,538],"111":[35,-14,521,538],"112":[58,-207,517,538],"113":[35,-207,494,538],"114":[77,0,332,538],"115":[32,-15,464,538],"116":[14,-7,257,669],"117":[68,-15,489,523],"118":[8,0,492,523],"119":[14,0,709,523],"120":[11,0,490,523],"121":[11,-214,489,523],"122":[31,0,469,523],"123":[42,-196,292,722],"124":[94,-225,167,775],"125":[42,-196,292,722],"126":[61,180,523,326],"161":[118,-195,215,523],"162":[51,-115,513,623],"163":[33,-16,539,718],"165":[3,0,553,688],"131":[-11,-207,501,737],"167":[43,-191,512,737],"164":[28,99,528,603],"39":[59,463,132,718],"147":[38,470,307,725],"171":[97,108,459,446],"139":[88,108,245,446],"155":[88,108,245,446],"150":[0,240,556,313],"134":[43,-159,514,718],"135":[43,-159,514,718],"183":[77,190,202,315],"182":[18,-173,497,718],"149":[18,202,333,517],"130":[53,-149,157,106],"132":[26,-149,295,106],"148":[26,463,295,718],"187":[97,108,459,446],"133":[115,0,885,106],"137":[7,-19,994,703],"191":[91,-201,527,525],"96":[14,593,211,734],"180":[122,593,319,734],"136":[21,593,312,734],"152":[-4,606,337,722],"175":[10,627,323,684],"168":[40,604,293,706],"184":[45,-225,259,0],"151":[0,240,1000,313],"198":[8,0,951,718],"170":[24,405,346,737],"216":[39,-19,740,737],"140":[36,-19,965,737],"186":[25,405,341,737],"230":[36,-15,847,538],"248":[28,-22,537,545],"156":[35,-15,902,538],"223":[67,-15,571,728],"207":[13,0,266,901],"233":[40,-15,516,734],"159":[14,0,653,901],"247":[39,-19,545,524],"221":[14,0,653,929],"194":[14,0,654,929],"225":[36,-15,530,734],"219":[79,-19,644,929],"253":[11,-214,489,734],"234":[40,-15,516,734],"220":[79,-19,644,901],"218":[79,-19,644,929],"203":[86,0,616,901],"169":[-14,-19,752,737],"229":[36,-15,530,756],"224":[36,-15,530,734],"227":[36,-15,530,722],"154":[32,-15,464,734],"237":[95,0,292,734],"251":[68,-15,489,734],"226":[36,-15,530,734],"231":[30,-225,477,538],"222":[86,0,622,718],"179":[5,270,325,703],"210":[39,-19,739,929],"192":[14,0,654,929],"215":[39,0,545,506],"250":[68,-15,489,734],"255":[11,-214,489,706],"238":[-6,0,285,734],"202":[86,0,616,929],"228":[36,-15,530,706],"235":[40,-15,516,706],"205":[91,0,292,929],"177":[39,0,545,506],"166":[94,-150,167,700],"174":[-14,-19,752,737],"200":[86,0,616,929],"142":[23,0,588,929],"208":[0,0,674,718],"199":[44,-225,681,737],"193":[14,0,654,929],"196":[14,0,654,901],"232":[40,-15,516,734],"211":[39,-19,739,929],"243":[35,-14,521,734],"239":[13,0,266,706],"212":[39,-19,739,929],"217":[79,-19,644,929],"254":[58,-207,517,718],"178":[4,281,323,703],"214":[39,-19,739,901],"181":[68,-207,489,523],"236":[-13,0,184,734],"190":[45,-19,810,703],"153":[46,306,903,718],"204":[-13,0,188,929],"189":[43,-19,773,703],"244":[35,-14,521,734],"241":[65,0,491,722],"201":[86,0,616,929],"188":[73,-19,756,703],"138":[49,-19,620,929],"176":[54,411,346,703],"242":[35,-14,521,734],"249":[68,-15,489,734],"209":[76,0,646,917],"245":[35,-14,521,722],"195":[14,0,654,917],"197":[14,0,654,931],"213":[39,-19,739,917],"206":[-6,0,285,929],"172":[39,108,545,390],"246":[35,-14,521,706],"252":[68,-15,489,706],"240":[35,-15,522,737],"158":[31,0,469,734],"185":[43,281,222,703],"128":[0,0,0,0]},"cw":{"0":278,"1":278,"2":278,"3":278,"4":278,"5":278,"6":278,"7":278,"8":278,"9":278,"10":278,"11":278,"12":278,"13":278,"14":278,"15":278,"16":278,"17":278,"18":278,"19":278,"20":278,"21":278,"22":278,"23":278,"24":278,"25":278,"26":278,"27":278,"28":278,"29":278,"30":278,"31":278,"32":278,"33":278,"34":355,"35":556,"36":556,"37":889,"38":667,"39":191,"40":333,"41":333,"42":389,"43":584,"44":278,"45":333,"46":278,"47":278,"48":556,"49":556,"50":556,"51":556,"52":556,"53":556,"54":556,"55":556,"56":556,"57":556,"58":278,"59":278,"60":584,"61":584,"62":584,"63":556,"64":1015,"65":667,"66":667,"67":722,"68":722,"69":667,"70":611,"71":778,"72":722,"73":278,"74":500,"75":667,"76":556,"77":833,"78":722,"79":778,"80":667,"81":778,"82":722,"83":667,"84":611,"85":722,"86":667,"87":944,"88":667,"89":667,"90":611,"91":278,"92":278,"93":278,"94":469,"95":556,"96":333,"97":556,"98":556,"99":500,"100":556,"101":556,"102":278,"103":556,"104":556,"105":222,"106":222,"107":500,"108":222,"109":833,"110":556,"111":556,"112":556,"113":556,"114":333,"115":500,"116":278,"117":556,"118":500,"119":722,"120":500,"121":500,"122":500,"123":334,"124":260,"125":334,"126":584,"127":278,"128":556,"129":278,"130":222,"131":556,"132":333,"133":1000,"134":556,"135":556,"136":333,"137":1000,"138":667,"139":333,"140":1000,"141":278,"142":611,"143":278,"144":278,"145":222,"146":222,"147":333,"148":333,"149":350,"150":556,"151":1000,"152":333,"153":1000,"154":500,"155":333,"156":944,"157":278,"158":500,"159":667,"160":278,"161":333,"162":556,"163":556,"164":556,"165":556,"166":260,"167":556,"168":333,"169":737,"170":370,"171":556,"172":584,"173":278,"174":737,"175":333,"176":400,"177":584,"178":333,"179":333,"180":333,"181":556,"182":537,"183":278,"184":333,"185":333,"186":365,"187":556,"188":834,"189":834,"190":834,"191":611,"192":667,"193":667,"194":667,"195":667,"196":667,"197":667,"198":1000,"199":722,"200":667,"201":667,"202":667,"203":667,"204":278,"205":278,"206":278,"207":278,"208":722,"209":722,"210":778,"211":778,"212":778,"213":778,"214":778,"215":584,"216":778,"217":722,"218":722,"219":722,"220":722,"221":667,"222":667,"223":611,"224":556,"225":556,"226":556,"227":556,"228":556,"229":556,"230":889,"231":500,"232":556,"233":556,"234":556,"235":556,"236":278,"237":278,"238":278,"239":278,"240":556,"241":556,"242":556,"243":556,"244":556,"245":556,"246":556,"247":584,"248":611,"249":556,"250":556,"251":556,"252":556,"253":500,"254":556,"255":500},"cwu":{"32":278,"33":278,"34":355,"35":556,"36":556,"37":889,"38":667,"8217":222,"40":333,"41":333,"42":389,"43":584,"44":278,"45":333,"46":278,"47":278,"48":556,"49":556,"50":556,"51":556,"52":556,"53":556,"54":556,"55":556,"56":556,"57":556,"58":278,"59":278,"60":584,"61":584,"62":584,"63":556,"64":1015,"65":667,"66":667,"67":722,"68":722,"69":667,"70":611,"71":778,"72":722,"73":278,"74":500,"75":667,"76":556,"77":833,"78":722,"79":778,"80":667,"81":778,"82":722,"83":667,"84":611,"85":722,"86":667,"87":944,"88":667,"89":667,"90":611,"91":278,"92":278,"93":278,"94":469,"95":556,"8216":222,"97":556,"98":556,"99":500,"100":556,"101":556,"102":278,"103":556,"104":556,"105":222,"106":222,"107":500,"108":222,"109":833,"110":556,"111":556,"112":556,"113":556,"114":333,"115":500,"116":278,"117":556,"118":500,"119":722,"120":500,"121":500,"122":500,"123":334,"124":260,"125":334,"126":584,"161":333,"162":556,"163":556,"8260":167,"165":556,"402":556,"167":556,"164":556,"39":191,"8220":333,"171":556,"8249":333,"8250":333,"64257":500,"64258":500,"8211":556,"8224":556,"8225":556,"183":278,"182":537,"8226":350,"8218":222,"8222":333,"8221":333,"187":556,"8230":1000,"8240":1000,"191":611,"96":333,"180":333,"710":333,"732":333,"175":333,"728":333,"729":333,"168":333,"730":333,"184":333,"733":333,"731":333,"711":333,"8212":1000,"198":1000,"170":370,"321":556,"216":778,"338":1000,"186":365,"230":889,"305":278,"322":222,"248":611,"339":944,"223":611,"207":278,"233":556,"259":556,"369":556,"283":556,"376":667,"247":584,"221":667,"194":667,"225":556,"219":722,"253":500,"537":500,"234":556,"366":722,"220":722,"261":556,"218":722,"371":556,"203":667,"272":722,"806":250,"169":737,"274":667,"269":500,"229":556,"325":722,"314":222,"224":556,"354":611,"262":722,"227":556,"278":667,"353":500,"351":500,"237":278,"9674":471,"344":722,"290":778,"251":556,"226":556,"256":667,"345":333,"231":500,"379":611,"222":667,"332":778,"340":722,"346":667,"271":643,"362":722,"367":556,"179":333,"210":778,"192":667,"258":667,"215":584,"250":556,"356":611,"8706":476,"255":500,"323":722,"238":278,"202":667,"228":556,"235":556,"263":500,"324":556,"363":556,"327":722,"205":278,"177":584,"166":260,"174":737,"286":778,"304":278,"8721":600,"200":667,"341":333,"333":556,"377":611,"381":611,"8805":549,"208":722,"199":722,"316":222,"357":317,"281":556,"370":722,"193":667,"196":667,"232":556,"378":500,"303":222,"211":778,"243":556,"257":556,"347":500,"239":278,"212":778,"217":722,"8710":612,"254":556,"178":333,"214":778,"181":556,"236":278,"337":556,"280":667,"273":556,"190":834,"350":667,"318":299,"310":667,"313":556,"8482":1000,"279":556,"204":278,"298":278,"317":556,"189":834,"8804":549,"244":556,"241":556,"368":722,"201":667,"275":556,"287":556,"188":834,"352":667,"536":667,"336":778,"176":400,"242":556,"268":722,"249":556,"8730":453,"270":722,"343":333,"209":722,"245":556,"342":722,"315":556,"195":667,"260":667,"197":667,"213":778,"380":500,"282":667,"302":278,"311":500,"8722":584,"206":278,"328":556,"355":278,"172":584,"246":556,"252":556,"8800":549,"291":556,"240":556,"382":500,"326":556,"185":333,"299":278,"8364":556}}
Loading
Loading