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
array( | |
"0" => array( | |
"ws_chave" => "130f2151b8cd04d241efd768c02f26eb", | |
"loja_cnpj" => "31743818004549", | |
"atendente_cpf" => "04447636514", | |
), | |
"1" => array( | |
"cod_tipo_pessoa" => "F", | |
"identificacao" => array( | |
"num_cpf" => "86220496558", |
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 | |
function g_arr_executa_query($query, $tipo = 'buscar') { | |
switch($tipo) { | |
case 'buscar': | |
try { | |
return $executa->fetchAll($select); | |
} catch (Exception $e) { | |
if( APP_ENV == ENV_DEV ) { | |
throw new Exception($e->getMessage(), $e->getCode()); |
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
-- Thread Id: 34865276 | |
-- User: webpdv | |
-- Host: 192.168.111.4:49432 | |
-- DB: webpdv | |
-- Command: Query | |
-- Time: 2 | |
-- State: Sending data | |
SELECT pv.id_pre_venda, pv.id_paf, pv.serie_numeracao, pv.numero_pre_venda, | |
pv.observacao, pv.criacao, pv.tratada, pv.status AS status_pre_venda, | |
pv.coo AS coo_pre_venda, pv.sincronizado, pv.condicao_comercial, |
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
explain | |
SELECT `esn`.*, | |
`ete`.`descricao` AS `tp_emis_descricao`, | |
`dest`.`cnpj_cpf` AS `dest_cnpj_cpf`, | |
`sc`.`state` AS `dest_uf_sigla`, | |
`nota_fiscal`.`id` AS `id`, | |
`nota_fiscal`.`emissor_tp_emis_id` AS `emissor_tp_emis_id`, | |
`nota_fiscal`.`emissor_versao_id` AS `emissor_versao_id`, | |
`nota_fiscal`.`emissor_status_nf_id` AS `emissor_status_nf_id`, | |
`nota_fiscal`.`storeno` AS `storeno`, |
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 | |
$tabs = new MS_View_Tab(); | |
$tabs->addAbas(array( | |
array( | |
'titulo' => 'Buscar', | |
'url' => 'cle_gerenciar_blocos.php', | |
), | |
array( | |
'titulo' => 'Cadastrar', | |
'url' => '#' |
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
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clec="http://www.portalfiscal.inf.br/nfe/wsdl/CleCadastro"> | |
<soapenv:Header/> | |
<soapenv:Body> | |
<clec:cleCadastroLote> | |
<clec:cleCabecMsg>?</clec:cleCabecMsg> | |
<clec:cleDadosMsg>?</clec:cleDadosMsg> | |
</clec:cleCadastroLote> | |
</soapenv:Body> | |
</soapenv:Envelope> |
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
// JavaScript Document | |
function atualizaJanela() { | |
// caso n haja frame ou janela thickbox, atualizo janela | |
if (($('#TB_window').size() == 0) && ("" == $('#divFrame').html())) { | |
// variaveis | |
var params = 'f_int_storeno=' + $('input[name="storeno"]').val(); | |
params = params + '&f_int_ordno=' + $('input[name="ordno"]').val(); | |
// pego a url | |
var patchLength = (window.location.href.indexOf('.php') + 4); |
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 | |
session_start(); | |
include_once(__DIR__ . '/../includes/global.php'); | |
include_once(__DIR__ . '/../includes/funcoes.inc.php'); | |
include_once(__DIR__ . '/../includes/geral.class.php'); | |
include_once(__DIR__ . '/../includes/head.inc.php'); | |
try { | |
$tabs = new MS_View_Tab(); | |
$tabs->add([ |
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 | |
session_start(); | |
require_once(dirname(__FILE__) . "/../includes/funcoes.inc.php"); | |
require_once(dirname(__FILE__) . "/../includes/global.php"); | |
require_once(dirname(__FILE__) . "/../includes/geral.class.php"); | |
ini_set('display_errors', 1); | |
error_reporting(E_ALL); | |
set_time_limit(0); | |
ini_set('memory_limit', '1024M'); |
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"=>"aa58c945b95c3887fe229cf22836e52e", | |
"loja_cnpj"=>"31743818000128", | |
"atendente_cpf"=>"", ), | |
"1" => array( | |
"cnpj"=>"31743818000128", | |
"vlr_avista"=>"739.90", | |
"vlr_entrada"=>"0", | |
"qtd_parcelas"=>"16", |