@extends('default.layout') @section('content')

{{isset($produto) ? 'Editar' : 'Novo'}} Produto

IDENTIFICAÇÃO

ALÍQUOTAS

@csrf

Campos com (*) obrigatório

@if($errors->has('nome'))
{{ $errors->first('nome') }}
@endif
@if($errors->has('referencia'))
{{ $errors->first('referencia') }}
@endif
@if($errors->has('valor_venda'))
{{ $errors->first('valor_venda') }}
@endif
@if($errors->has('valor_compra'))
{{ $errors->first('valor_compra') }}
@endif
@if($errors->has('estoque_minimo'))
{{ $errors->first('estoque_minimo') }}
@endif
@if($errors->has('categoria'))
{{ $errors->first('categoria') }}
@endif
@if($errors->has('alerta_vencimento'))
{{ $errors->first('alerta_vencimento') }}
@endif
@if($errors->has('NCM'))
{{ $errors->first('NCM') }}
@endif
@if($errors->has('CEST'))
{{ $errors->first('CEST') }}
@endif
@if($errors->has('referencia_balanca'))
{{ $errors->first('referencia_balanca') }}
@endif
@if($errors->has('codBarras'))
{{ $errors->first('codBarras') }}
@endif
imagem == '') style="background-image: url(/imgs/no_image.png)" @else style="background-image: url(/imgs_produtos/{{$produto->imagem}})" @endif>
.png, .jpg, .jpeg @if($errors->has('file'))
{{ $errors->first('file') }}
@endif

*Produzido no estabelecimento composto de outros produtos já cadastrados, deverá ser criado uma receita para redução de estoque.


Dados de dimensão e peso do produto (Opcional)

*Se atente a preencher todos os dados para utilizar a Api dos correios.

*Se atente a preencher todos os dados para utilizar a Api dos correios.


@if(getenv('DELIVERY') == 1 && sizeof($categoriasDelivery) > 0)
@endif
@if(getenv('DELIVERY') == 1) @endif @if(!isset($produto) && getenv("ECOMMERCE") == 1)
@endif @if(!isset($produto)) @endif

Dados Veiculo (Opcional)

@if($errors->has('passageiros'))
{{ $errors->first('passageiros') }}
@endif
@if($errors->has('cor_veiculo'))
{{ $errors->first('cor_veiculo') }}
@endif
@if($errors->has('chassi'))
{{ $errors->first('chassi') }}
@endif
@if($errors->has('combustivel'))
{{ $errors->first('combustivel') }}
@endif
@if($errors->has('ano'))
{{ $errors->first('ano') }}
@endif
@if($errors->has('modelo'))
{{ $errors->first('modelo') }}
@endif
@if($errors->has('numero_motor'))
{{ $errors->first('numero_motor') }}
@endif
@if($errors->has('CFOP_saida_estadual'))
{{ $errors->first('CFOP_saida_estadual') }}
@endif
@if($errors->has('CFOP_saida_inter_estadual'))
{{ $errors->first('CFOP_saida_inter_estadual') }}
@endif
@if($errors->has('CFOP_saida_estadual'))
{{ $errors->first('CFOP_saida_estadual') }}
@endif
@if($errors->has('CFOP_saida_inter_estadual'))
{{ $errors->first('CFOP_saida_inter_estadual') }}
@endif
@if($errors->has('perc_icms'))
{{ $errors->first('perc_icms') }}
@endif
@if($errors->has('perc_pis'))
{{ $errors->first('perc_pis') }}
@endif
@if($errors->has('perc_cofins'))
{{ $errors->first('perc_cofins') }}
@endif
@if($errors->has('perc_ipi'))
{{ $errors->first('perc_ipi') }}
@endif
@if($errors->has('perc_iss'))
{{ $errors->first('perc_iss') }}
@endif
@if($errors->has('pRedBC'))
{{ $errors->first('pRedBC') }}
@endif
@if($errors->has('cBenef'))
{{ $errors->first('cBenef') }}
@endif
@if($errors->has('origem'))
{{ $errors->first('origem') }}
@endif
@if($errors->has('cListServ'))
{{ $errors->first('cListServ') }}
@endif
@if($errors->has('perc_icms_interestadual'))
{{ $errors->first('perc_icms_interestadual') }}
@endif
@if($errors->has('perc_icms_interno'))
{{ $errors->first('perc_icms_interno') }}
@endif
@if($errors->has('perc_fcp_interestadual'))
{{ $errors->first('perc_fcp_interestadual') }}
@endif
@section('javascript') @endsection @endsection