This file contains 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 App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Crypt; | |
use App\Models\Pedido; | |
use App\Models\Cliente; | |
use App\Models\EmailCliente; | |
use App\Models\TelefonesCliente; |
This file contains 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
@extends('site.content') | |
@section('conteudo') | |
@include('sweetalert::alert') | |
<section class="slider1 cid-sx7A82cTKr" id="slider1-7" style="padding-top: 2%"> | |
<div class="carousel slide carousel-fade" id="sygG6ui87G" data-ride="carousel" data-interval="3000"> | |
@if ($banner ?? "") | |
<ol class="carousel-indicators"> | |
@foreach ( $banner as $index => $b ) | |
<li data-slide-to="{{$index}}" class="active" data-target="#sygG6ui87G"></li> | |
@endforeach |
This file contains 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
public function onBoleto($param) | |
{ | |
TTransaction::open('sample'); | |
$pedido = new Pedido($param['id']); | |
$cliente_id = $pedido->cliente_faturamento_id; | |
$cliente = new Cliente($cliente_id); | |
$clienteEmail = EmailCliente::where('cliente_id','=',$cliente_id)->first(); | |
$clienteTelefone = TelefonesCliente::where('cliente_id','=',$cliente_id)->first(); | |
$email = ($clienteEmail->email != null) ? $clienteEmail : ""; |
This file contains 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 App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Crypt; | |
use App\Models\Pedido; | |
use App\Models\Cliente; | |
use App\Models\EmailCliente; | |
use App\Models\TelefonesCliente; |
This file contains 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 App\Http\Controllers; | |
use Illuminate\Validation\ValidationException; | |
use Illuminate\Support\Facades\Crypt; | |
use Illuminate\Http\Request; | |
use App\Models\Site; | |
use App\Models\SiteBanner; | |
use App\Models\SiteLogoParceiros; |
This file contains 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
<!-- [main] --> | |
<div class="container-fluid"> | |
<div class="row"> | |
<div class="col-lg-6"> | |
<div class="card"> | |
<div class="card-header">SAÍDAS</div> | |
<div class="table-responsive"> | |
<table class="table"> | |
<thead> | |
<tr> |
This file contains 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 | |
/** | |
* ReciboContaReceberFormBaixa Registration | |
* @author Fred Azevedo | |
*/ | |
class ReciboContaReceberFormBaixa extends TPage | |
{ | |
protected $form; | |
use Adianti\Base\AdiantiStandardFormTrait; // Standard form methods |
This file contains 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 | |
/** | |
* ClienteContratoForm Form | |
* @author Fred Avz. | |
*/ | |
use Adianti\Widget\Base\TScript; | |
use Eduardokum\LaravelBoleto\Boleto\Banco\Bancoob; | |
use Eduardokum\LaravelBoleto\Boleto\Banco\Sicredi; | |
use Eduardokum\LaravelBoleto\Boleto\Render\Pdf; |
This file contains 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\Database\TRecord; | |
/** | |
* ClienteContrato Active Record | |
* @author <your-name-here> | |
*/ | |
class ClienteContrato extends TRecord | |
{ |
This file contains 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 DashboardFinanceiroView extends TPage | |
{ | |
public function __construct($param) | |
{ | |
parent::__construct(); | |
//TPage::include_css('app/resources/catalog.css'); |
NewerOlder