Skip to content

Instantly share code, notes, and snippets.

View tiagosarno's full-sized avatar
🏠
Welcome!

Senior Developer tiagosarno

🏠
Welcome!
View GitHub Profile
<?php
use App\Http\Controllers\AbrangenciaController;
use App\Http\Controllers\AutorizadorCorreiosController;
use App\Http\Controllers\CargoController;
use App\Http\Controllers\CacheDebugController;
use App\Http\Controllers\Carrinho\CarrinhoEtapas1Controller;
use App\Http\Controllers\CarrinhoController;
use App\Http\Controllers\ClausulaController;
use App\Http\Controllers\ClientController;
<?php
namespace App\Http\Controllers;
use App\Services\Correios\CorreiosServices;
use App\Services\LoteCanalAtendimentoService;
use App\Services\TipoLoteCanalService;
use Illuminate\Http\Request;
use Illuminate\Http\JsonResponse;
use Exception;
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @OA\Schema(
* schema="LoteCanalAtendimento",
* type="object",
<?php
namespace App\Services;
use App\Models\LoteCanalAtendimento;
use App\Models\VwF4101;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
use App\Services\Correios\CorreiosServices;
'use client'
import { useState, useEffect } from 'react'
import { useParams, useRouter } from 'next/navigation'
import Loading from '@/components/loading/Loading'
import Breadcrumb from '@/components/breadcrumb'
import Button from '@/components/button/Button'
import Importador, { DataRow, ArquivoMeta } from './importador'
import { toast } from '@/components/toast/Toast'
import { LoteCanalAtendimentoService } from '@/services/loteCanalAtendimento'
import { getJSON, putJSON, postJSON } from '@/utils/http'
export interface TipoLoteCanal {
tlc_nu: number
tlc_sg: string
tlc_no_tipo: string
tlc_in_ativo: string
}
export interface LoteCanalAtendimento {