This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Almoxarifado\DocumentoTipo as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DocumentoTipo_20240503114005 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$tipos = [
|
||||
['id' => 1, 'nome' => 'NOTA FISCAL'],
|
||||
['id' => 2, 'nome' => 'OUTRAS'],
|
||||
['id' => 3, 'nome' => 'DOAÇÃO'],
|
||||
['id' => 4, 'nome' => 'DEVOLUÇÃO'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $tipos, 'id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Almoxarifado\EntradaTipo as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class EntradaTipo_20240503114124 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$tipos = [
|
||||
['id' => 1, 'nome' => 'MANUAL'],
|
||||
['id' => 2, 'nome' => 'REQUISIÇÃO'],
|
||||
['id' => 3, 'nome' => 'INVENTÁRIO'],
|
||||
['id' => 4, 'nome' => 'ESTORNO'],
|
||||
['id' => 5, 'nome' => 'INICIAL'],
|
||||
['id' => 6, 'nome' => 'TRANSFERÊNCIA'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $tipos, 'id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Almoxarifado\SaidaTipo as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class SaidaTipo_20240503114256 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$tipos = [
|
||||
['id' => 1, 'nome' => 'MANUAL'],
|
||||
['id' => 2, 'nome' => 'REQUISIÇÃO'],
|
||||
['id' => 3, 'nome' => 'INVENTÁRIO'],
|
||||
['id' => 4, 'nome' => 'ESTORNO'],
|
||||
['id' => 5, 'nome' => 'DISPENSAÇÃO DA FARMÁCIA'],
|
||||
['id' => 6, 'nome' => 'BAIXA'],
|
||||
['id' => 7, 'nome' => 'TRANSFERÊNCIA'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $tipos, 'id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Almoxarifado\RequisicaoRespostaItemMotivo as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class RequisicaoRespostaItemMotivo_20240503131046 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$motivos = [
|
||||
['id' => 1, 'nome' => 'SEM ESTOQUE'],
|
||||
['id' => 2, 'nome' => 'PEDIDO EM EXCESSO'],
|
||||
['id' => 3, 'nome' => 'ENTREGA PARCIAL'],
|
||||
['id' => 4, 'nome' => 'PENDENTE DE ENTREGA'],
|
||||
['id' => 5, 'nome' => 'RECUSADO'],
|
||||
['id' => 6, 'nome' => 'ADEQUAÇÃO DE CAIXA'],
|
||||
['id' => 7, 'nome' => 'OUTRO'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $motivos, 'id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Almoxarifado\RequisicaoRespostaStatus as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class RequisicaoRespostaStatus_20240503131316 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$status = [
|
||||
['id' => 1, 'nome' => 'INICIADA'],
|
||||
['id' => 2, 'nome' => 'ENVIADA'],
|
||||
['id' => 3, 'nome' => 'RECEBIDA'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $status, 'id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Almoxarifado\RequisicaoStatus as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class RequisicaoStatus_20240503131436 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$status = [
|
||||
['id' => 1, 'nome' => 'ABERTA'],
|
||||
['id' => 2, 'nome' => 'RESPOSTA INICIADA'],
|
||||
['id' => 3, 'nome' => 'FINALIZADA'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $status, 'id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Almoxarifado\ReservaMotivo as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ReservaMotivo_20240503131749 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$motivos = [
|
||||
['id' => 1, 'nome' => 'REQUISIÇÃO'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $motivos, 'id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Almoxarifado\MotivoBaixaTipo as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class MotivoBaixaTipo_20240503131928 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$tipos = [
|
||||
['id' => 1, 'nome' => 'CONSUMO INTERNO'],
|
||||
['id' => 2, 'nome' => 'QUEBRADO'],
|
||||
['id' => 3, 'nome' => 'VENCIDO'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $tipos, 'id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use Database\Seeders\Base\Funcionalidade;
|
||||
use Database\Seeders\Base\Menu;
|
||||
use Database\Seeders\Base\Permissao;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class Dispensacao_20240628150911 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
Funcionalidade::run();
|
||||
Menu::run();
|
||||
Permissao::run();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Almoxarifado\SaidaTipo as Model;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class AddDispensacaoAlmoxarifadoToAlmoxarifadoSaidaTipo_20240708161019 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$tipos = [
|
||||
['id' => 8, 'nome' => 'DISPENSAÇÃO DO ALMOXARIFADO'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(Model::class, $tipos, 'id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Almoxarifado\SaidaTipo;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class SaidaTipo_20250120144451 extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
$tipos = [
|
||||
['id' => 9, 'nome' => 'DISPENSAÇÃO DO AMBULATÓRIO'],
|
||||
];
|
||||
|
||||
SeederUtil::saveList(SaidaTipo::class, $tipos, 'id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user