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

@method('put')

{{{ isset($conta) ? "Editar": "Cadastrar" }}} Conta a Pagar

@csrf
@if($errors->has('referencia'))
{{ $errors->first('referencia') }}
@endif
@if($errors->has('vencimento'))
{{ $errors->first('vencimento') }}
@endif
@if($errors->has('valor'))
{{ $errors->first('valor') }}
@endif
@if($errors->has('numero_nota_fiscal'))
{{ $errors->first('numero_nota_fiscal') }}
@endif
@if($errors->has('tipo_pagamento'))
{{ $errors->first('tipo_pagamento') }}
@endif
@if(!isset($conta))
@endif
@endsection @section('javascript') @endsection