BBnepal-Accounts/application/views/inventory/view-invoice.php
Sampanna Rimal 9cd05ef3cb commitall
2024-07-10 18:28:19 +05:45

169 lines
5.7 KiB
PHP

<style>
.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active {
height: 38px;
}
.bootstrap-select .dropdown-toggle .filter-option-inner {
margin-top: 4px;
margin-left: 4px;
}
.form-group .bootstrap-select>.dropdown-toggle {
height: 38px;
}
label .error {
top: 2.5rem !important;
color: red;
left: 0em;
}
.display tr {
font-size: 12.5px;
}
table.dataTable thead th,
table.dataTable thead td {
padding: 4px 8px;
}
</style>
<div class="wraper responsive-width">
<main>
<div class="admin_tempblock">
<div class="admin_tempsec">
<div class="admin_sec">
<div class="subsec_sec">
<div class="subject_r subject_r_lng">
<div class="subject_lsec">
<div class="mb-4">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<?= base_url() . 'admin/inventory/dashboard' ?>">Dashboard</a></li>
<li class="breadcrumb-item"><a href="<?= base_url() . 'admin/inventory/item-sales' ?>">Sales</a></li>
<li class="breadcrumb-item active" aria-current="page"><?= $title ?></li>
</ol>
</nav>
</div>
<?php if ($this->session->flashdata('success')) { ?>
<div class="alert alert-success alert-dismissible fade show" role="alert">
<p><b> Success !</b> <?php echo $this->session->flashdata('success') ?></p>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<?php } ?>
<?php if ($this->session->flashdata('danger')) { ?>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<p><b> Error !</b> <?php echo $this->session->flashdata('danger') ?></p>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<?php } ?>
<div class="row justify-content-center ">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<div class="text-right">
<h6 id="available-stock"> </h6>
</div>
<div class="h6">Student Details</div>
<div class="row mt-3">
<div class="col">
<div class="form-group">
<label class="has-float-label">
<input type="text" name="s_name" value="<?= $sales_detail['name'] ?>" class="form-control bg-white" id="s_name" placeholder="Class" readonly>
<span>Student</span>
</label>
</div>
</div>
<div class="col">
<div class="form-group">
<label class="has-float-label">
<input type="text" name="s_class" value="<?= $sales_detail['course_name'] ?>" class="form-control bg-white" id="s_class" placeholder="Class" readonly>
<span>Class</span>
</label>
</div>
</div>
<div class="col">
<div class="form-group">
<label class="has-float-label">
<input type="text" name="s_section" value="<?= $sales_detail['section_name'] ?>" class="form-control bg-white" id="s_section" placeholder="Class" readonly>
<span>Section</span>
</label>
</div>
</div>
</div>
<hr>
<div class="h6">Item Details</div>
<div class="form-group mt-3">
<div class="form-group">
<label class="has-float-label">
<input type="text" name="i_title" value="<?= $sales_detail['title'] ?>" class="form-control bg-white" id="i_title" placeholder="Item" readonly>
<span>Item</span>
</label>
</div>
</div>
<div class="row mt-3">
<div class="col">
<div class="form-group">
<label class="has-float-label">
<input type="text" name="i_qty" value="<?= $sales_detail['qty'] ?>" class="form-control bg-white" id="i_qty" placeholder="Quantity" readonly>
<span>Quantity</span>
</label>
</div>
</div>
<div class="col">
<div class="form-group">
<label class="has-float-label">
<input type="text" name="i_price" value="<?= $sales_detail['unit_price'] ?>" class="form-control bg-white" id="i_price" placeholder="Price" readonly>
<span>Price</span>
</label>
</div>
</div>
<div class="col">
<div class="form-group">
<label class="has-float-label">
<input type="text" name="i_total_amt" value="<?= $sales_detail['total_amount'] ?>" class="form-control bg-white" id="i_total_amt" placeholder="Total Amount" readonly>
<span>Total Amount</span>
</label>
</div>
</div>
</div>
<!-- <button type="submit" id="itemAddBtn" class="btn btn-sm btn-outline-primary w-100 mt-4">Add</button> -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
<script defer src="<?php echo base_url(); ?>assets_admin/js/bootstrap-select.min.js"></script>
<!--End right-top side-->
<!-- <script src="<?php echo base_url(); ?>assets-bustracking/js/jquery-3.2.1.slim.min.js"></script> -->