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 | |
$xmlr = '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.calculoFrete.mercurio.com" xmlns:mod="http://model.vendas.lms.mercurio.com"> | |
<soapenv:Header/> | |
<soapenv:Body> | |
<ser:calculaFrete> | |
<ser:in0> | |
<mod:login>' . $user_login . '</mod:login> | |
<mod:senha></mod:senha> | |
<mod:nrIdentifClienteRem>' . $cnpj . '</mod:nrIdentifClienteRem> |
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
Amex: /^3[47][0-9]{13}/ | |
Diners Club: /^3(?:0[0-5]|[68][0-9])[0-9]{11}/ | |
Visa: /^4[0-9]{12}(?:[0-9]{3})/ | |
Mastercard: /^5[1-5][0-9]{14}/ | |
Discover: /^6(?:011|5[0-9]{2})[0-9]{12}/ | |
Hipercard: /^(606282\d{10}(\d{3})?)|(3841\d{15})/ | |
Elo: /^((((636368)|(438935)|(504175)|(451416)|(636297))\d{0,10})|((5067)|(4576)|(4011))\d{0,12})/ | |
JCB: /^(?:2131|1800|35\d{3})\d{11}/ |
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
//Nas rotas: | |
Route::get('empresa', array('before' => 'lang', 'as' => 'site_empresa', 'uses' => 'EmpresaController@getIndex')); | |
//No Filter: | |
Route::filter('lang', function() | |
{ | |
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); | |
if(!Session::has('lang')) |
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
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../topeka-elements/category-icons.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../topeka-elements/topeka-datasource.html"> | |
<polymer-element name="my-element"> |
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
object(Illuminate\Database\Eloquent\Collection)[297] | |
protected 'items' => | |
array (size=2) | |
0 => | |
object(SiteSettingFilial)[293] | |
protected 'table' => string 'sites_settings_filiais' (length=22) | |
protected 'primaryKey' => string 'site_filial_id' (length=14) | |
protected 'connection' => null | |
protected 'perPage' => int 15 | |
public 'incrementing' => boolean true |