<?php $__env->startSection('content'); ?>
<div class="col-md-12 content-header" >
    <h1><i class="fa fa-file-text"></i> <?php echo e(trans('application.number_prefix')); ?></h1>
</div>
<section class="content">
    <div class="row">
        <div class="col-md-3">
            <?php echo $__env->make('settings.partials._menu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        </div>
        <div class="col-md-9">
            <div class="box box-primary">
                <div class="box-body">
                    <?php if(count($errors) > 0): ?>
                    <?php echo form_errors($errors); ?>
                    <?php endif; ?>
                    <?php if($setting): ?>
                    <?php echo Form::model($setting, ['route' => ['number.update', $setting->uuid], 'method'=>'PATCH']); ?>
                    <?php else: ?>
                    <?php echo Form::open(['route' => ['number.store']]); ?>
                    <?php endif; ?>
                    <div class="form-group">
                        <?php echo Form::label('client_number', trans('application.client_number_prefix')); ?>
                        <?php echo Form::text('client_number', null, ['class' => "form-control input-sm"]); ?>
                    </div>
                    <div class="form-group">
                        <?php echo Form::label('invoice_number', trans('application.invoice_number_prefix')); ?>
                        <?php echo Form::text('invoice_number', null, ['class' => "form-control input-sm"]); ?>
                    </div>
                    <div class="form-group">
                        <?php echo Form::label('estimate_number', trans('application.estimate_number_prefix')); ?>
                        <?php echo Form::text('estimate_number', null, ['class' => "form-control input-sm"]); ?>
                    </div>
                    <div class="form-group">
                        <?php echo Form::submit(trans('application.save_settings'), ['class="btn btn-sm btn-primary"']); ?>
                    </div>
                    <?php echo Form::close(); ?>
                </div>
            </div>
        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>