<?php ?>
<div align="center" class="col-md-12">
    <button type="button" class="btn btn-labeled btn-default " name='Previous' value='Previous'  onClick="window.location.href = '<?= $file . "?mode=edit&code=$prevvouch" ?>'" <?= $pdisabled ?>>
        <span class="btn-label"><i class="glyphicon glyphicon-chevron-left"></i></span> Previous</button>

    <button type="button" class="btn btn-labeled btn-default " name='Next' value='Next' onClick="window.location.href = '<?= $file . "??mode=edit&code=$nextvouch" ?>'" <?= $ndisabled ?>>
        <span class="btn-label"><i class="glyphicon glyphicon-chevron-right"></i></span>Next</button>

    <button type="button" class="btn btn-labeled  " data-toggle="modal" data-target=".slacker-modal" <?= $searchdisabled ?>>
        <span class="btn-label"><i class="glyphicon glyphicon-search"></i></span>Search</button>

    <button type="button" class="btn btn-labeled btn-info" value='Print' onclick="window.open('invoice.php?code=<?= $get['code'] ?>', 'popUponclickWindow', 'height=600,width=970,left=20,top=20, resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no, status=yes');" <?= $printdisabled ?>>
        <span class="btn-label"><i class="glyphicon glyphicon-file"></i></span>Print</button>

    <button type="button" value='Add' onclick="window.location.href = '<?= $file . "?mode=true" ?>'" class="btn btn-labeled btn-success " <?= $adddisabled ?>>
        <span class="btn-label"><i class="glyphicon glyphicon-plus"></i></span>Add</button>

    <button type="button" id='edit' class="btn btn-labeled btn-warning "  <?= $editdisabled ?>>
        <span class="btn-label"><i class="glyphicon glyphicon-pencil"></i></span>Edit</button>

    <button type="button" class="btn btn-labeled btn-danger " href="?delete&code=<?= $_GET[code] ?>"  onClick="return confirm('Confrim Delete?');"  <?= $deletedisabled ?>>
        <span class="btn-label"><i class="glyphicon glyphicon-trash"></i></span>Delete</button>

    <button id="submit" type='submit'  name='submit' value='<?php echo ($addflag == 0) ? "Update" : "Save"; ?>' type="button" class="btn btn-labeled btn-primary"  <?= $savedisabled ?>>
        <span class="btn-label"><i class="glyphicon glyphicon-floppy-save"></i></span>Save</button>

    <button type="button" name='exit' value='Exit'  onClick="window.location.href = '<?= $file . "?mode=last" ?>'" class="btn btn-labeled btn-danger"  <?= $canceldisabled ?>>
        <span class="btn-label"><i class="glyphicon glyphicon-off"></i></span>Cancel</button>

</div>