<!DOCTYPE html>
<html lang="pt-br">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="icon" href="<?php echo e(asset('images/favicon.ico')); ?>" type="image/x-icon">

    <?php echo app('Illuminate\Foundation\Vite')(['resources/sass/app.scss', 'resources/js/app.js']); ?>

    <title>Cadastro</title>
</head>

<div class="container">


    <h2 style="text-align: center ">Cadastro de Visitas</h2>

    <div class="btn-group" role="group" >
        <a class="btn btn-primary" href="<?php echo e(route('conta.index')); ?>">Lista de Visitas</a>
         <a class="btn btn-info" href="<?php echo e(route('home')); ?>">Home</a>
    </div>
    <br>
    <br>
    <?php if($errors->any()): ?>
        <span style="color:red">

            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php echo e($error); ?>

            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

        </span>

    <?php endif; ?>

    <form action="<?php echo e(route('conta.store')); ?>" method="POST">
        
        <?php echo csrf_field(); ?>
        <div class="mb-3">
            <label class="form-label">Empresa</label>
            <input type="text" name="cliente" class="form-control" id="cliente" placeholder="Empresa"
                value="<?php echo e(old('cliente')); ?>">
        </div>
        <div class="mb-3">
            <label class="form-label">Data</label>
            <input type="date" class="form-control"name="data" id="data">
        </div>
        <div class="mb-3">
            <label class="form-label">Analista</label>
            <input type="text" name="analista" class="form-control" id="analista" placeholder="Analista"
                value="<?php echo e(old('analista')); ?>">
        </div>
        <div class="mb-3">
            <label class="form-label">Veiculo</label>
            <input type="text" name="veiculo" class="form-control" id="veiculo" placeholder="Veiculo">
        </div>
        <div class="mb-3">
            <label class="form-label">Motivo</label>
            <input type="text" name="motivo" class="form-control" id="motivo" placeholder="Motivo">
        </div>
        <div class="mb-3">
            <label class="form-label">Valor</label>
            <input type="text" name="valor" class="form-control" id="valor"
                placeholder="Valor quebrado usar R$ 20.40 valor inteiro  20  " value="<?php echo e(old('valor')); ?>">
        </div>
        <button type="submit" class="btn btn-success ">Cadastrar</button>

    </form>

</div>
</body>

</html>
<?php /**PATH C:\atendimento\Atend\resources\views/contas/create.blade.php ENDPATH**/ ?>