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
INSERT INTO `sqldados`.`store` | |
(`zip`, `fax`, `tel`, `bankno`, `ccustono`, `auxLong1`, `auxLong2`, `dateInscJunta`, `no`, `ddd`, `active`, `bits`, | |
`metano`, `padbyte`, `auxShort1`, `auxShort2`, `name`, `sname`, `otherName`, `cgc`, `addr`, `nei`, `city`, `state`) | |
VALUES ('29980000', '0', '0', '0', '0', '0', '0', '0', '1022', '0', '1', '0', '0', '0', '0', '0', 'START MOVEIS 01', 'ST', | |
'STARMOVEIS', '31.743.818/0034-96', LEFT('AV SETEMBRINO PELISSARI', 32), 'CENTRO', 'PINHEIROS', 'ES'); | |
insert into webpdv.aliquotas_loja | |
select null, 1022, txano, valor_aliquota | |
from webpdv.aliquotas_loja | |
where storeno = 1002; |
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 | |
array( | |
"0" => array( | |
"ws_chave" => "6e9ff32a4b81130a16c987c36ea99fad", | |
"loja_cnpj" => "31743818003496", | |
"atendente_cpf" => "78764783952", | |
), | |
"1" => array( | |
"cod_tipo_pessoa" => "F", |
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
SELECT | |
SUM(valor_liquido) AS valor_liquido, | |
SUM(cmv) AS cmv, | |
tipo, | |
tipo_nome, | |
empno, | |
emp.name AS vendedor, | |
SUM(trocas_devolucoes) AS devolvida | |
FROM ( | |
SELECT |
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
SetEnv APP_ENV prod | |
FileETag none | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
############################################ | |
## Add default Expires header | |
## http://developer.yahoo.com/performance/rules.html#expires | |
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> |
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 | |
$client = new \Zend_Soap_Client('http://127.0.0.1:8080/webpdv/ws/usuarios.php', array('soapVersion' => SOAP_1_2, 'uri' => 'http://127.0.0.1:8080/webpdv/ws/usuarios.php' )); | |
$arrUsuario = buscarDadosDoUsuario($idUsuario); | |
$client->salvar('viniciusss', 'vinicius de sa', 1, true); |
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
SELECT | |
tipo, | |
ROUND(SUM(valor) / 100, 2) AS total | |
FROM ( | |
SELECT | |
pfp.valor AS valor, | |
'2 a 6 Vezes' AS tipo | |
FROM sqldados.xalog2 | |
INNER JOIN webpdv.pedido_forma_pagamento pfp | |
ON (pfp.storeno = xalog2.storeno AND pfp.pdvno = xalog2.pdvno AND pfp.xano = xalog2.xano) |
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
#Conexao principal | |
- name: default | |
host: 192.168.111.5 | |
user: webpdv | |
dbname: webpdv | |
password: p@lerm02156 | |
adapter: doctrine | |
driver: pdo_mysql | |
options: | |
<?php echo \Vs_Db_Abstract::QUERY_CACHE_CONFIG ?>: true |
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 | |
$sdkKernel = \Simonetti\MsMobile\SDK\Kernel::factory( | |
[ | |
'parameters' => __DIR__ . '/config/parameters.yaml' | |
] | |
); | |
/** | |
* @var \Simonetti\MsMobile\SDK\Service\Dispositivos\DispositivosManager $dispositivoManger |
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 | |
namespace Simonetti\MsMobile\SDK\Client; | |
use GuzzleHttp\Message\Response; | |
/** | |
* Resposta do client | |
* Interface ResponseInterface |
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
resources.doctrine.orm.entityManagers.default.DQLFunctions.numeric.LPAD = "DoctrineExtensions\ORM\Query\Functions\Numeric\LpadFunction" | |
resources.doctrine.orm.entityManagers.default.DQLFunctions.numeric.NVL = "DoctrineExtensions\ORM\Query\Functions\Numeric\NvlFunction" | |
resources.doctrine.orm.entityManagers.default.DQLFunctions.string.TRUNC = "DoctrineExtensions\ORM\Query\Functions\String\TruncFunction" | |
resources.doctrine.orm.entityManagers.default.DQLFunctions.string.TO_CHAR = "DoctrineExtensions\ORM\Query\Functions\String\To_charFunction" | |
resources.doctrine.dbal.connections.default.eventSubscribers[] = "Doctrine\DBAL\Event\Listeners\OracleSessionInit" |