<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2><?= print_lang($app_lang,'invoices_counters'); ?></h2>
        <ol class="breadcrumb">
            <li>
                <a class="url-elem" href="<?php echo url('/dashboard'); ?>"><?= print_lang($app_lang,'home'); ?></a>
            </li>
            <li class="active">
                <strong><?= print_lang($app_lang,'invoices_counters'); ?></strong>
            </li>
        </ol>
    </div>
    <div class="col-lg-2">
    </div>
</div>


<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox-title">
        <h5><?= print_lang($app_lang,'invoices_counters'); ?></h5>
    </div>
    <div class="ibox-content">
        <!-- spinner -->
        <div class="sk-spinner sk-spinner-three-bounce">
            <div class="sk-bounce1"></div>
            <div class="sk-bounce2"></div>
            <div class="sk-bounce3"></div>
        </div>
        <!-- spinner -->
        <div class="row">
            <div class="col-sm-12 b-r">
                <form role="form" id="invoices-counters-form" action="<?php echo url('/invoices-counters/update'); ?>">

                    <div class="row extra-mar-botm">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'production_invoice_counter'); ?></label>
                                <input type="text" class="form-control" name="production_invoice_counter" value="<?= $counters['production_invoice_counter']; ?>" placeholder="<?= print_lang($app_lang,'counter'); ?>">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'sales_invoice_counter'); ?></label>
                                <input type="text" class="form-control" name="sales_invoice_counter" value="<?= $counters['sales_invoice_counter']; ?>" placeholder="<?= print_lang($app_lang,'counter'); ?>">
                            </div>
                        </div>
                    </div>
                    <?php if(check_user_access('edit_invoice_counter') === TRUE){ ?>
                        <div class="row extra-mar-botm">
                            <div class="col-md-12 text-right">
                                <button class="btn btn-w-m btn-primary" type="submit"><?= print_lang($app_lang,'update'); ?></button>
                            </div>
                        </div>
                    <?php } ?>

                </form>
            </div>
        </div>
    </div>

</div>