// Check is LOCAL
if (window.location.host.replace(/(localhost|127\.0\.0\.1)(:\d+)?/i, "") !== '') {
Adianti.registerState = false; // Disable URL parameters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* PedidosReport Report | |
* @author <your name here> | |
*/ | |
include_once('vendor/tecnickcom/tcpdf/tcpdf_include.php'); | |
class AWIPDF extends TCPDF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* DuplicataReport Report | |
* @author <your name here> | |
*/ | |
include_once('vendor/tecnickcom/tcpdf/tcpdf_include.php'); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ReciboReport extends TWindow | |
{ | |
/** | |
* Generate the report | |
*/ | |
public function __construct($param) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Adianti\Control\TWindow; | |
class GeraRelatorioForm extends TWindow | |
{ | |
protected $form; // formulário | |
private $valueField; | |
private $datagrid; // listing | |
private $pageNavigation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#============================================================================== | |
#TITLE: mysql_backup.sh | |
#DESCRIPTION: script for automating the daily mysql backups on development computer | |
#AUTHOR: tleish | |
#DATE: 2013-12-20 | |
#VERSION: 0.4 | |
#USAGE: ./mysql_backup.sh | |
#CRON: | |
# example cron for daily db backup @ 9:15 am |
// Chamando o aviso
$script = new TElement('script');
$script->type = 'text/javascript';
$script->add('$.blockUI({ message: "", fadeIn: 0, fadeOut: 0, css: { border: "none", top: "100px", left: 0, maxWidth: "300px", width: "inherit", padding: "15px", backgroundColor: "#000", "border-radius": "5px 5px 5px 5px", opacity: .5, color: "#fff" } });');
parent::add($script);