listing screens UI

This commit is contained in:
saravanakumar_kandasami 2017-07-27 10:37:45 +05:30
parent e1e93c875b
commit 702f01d718
8 changed files with 109 additions and 176 deletions

View File

@ -0,0 +1,4 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2017-07-27 06:56:41 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_result.php 38
ERROR - 2017-07-27 06:57:51 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_result.php 38

View File

@ -1,5 +1,4 @@
<!-- In this purchase order listing , datatable is used for sorting , pagination and etc.. , new design is used for table fro the theme-->
<style>
.pagination {
margin:0px !important;

View File

@ -8,19 +8,17 @@
<section class="content">
<div>
<center><b><h2>Store Requisition Approval List </h2></b></center>
<div class="box">
<div class="box-header">
<center><h3 class="box-title">Siddharth Industries - Store Requisition Approval List</h3></center>
</div>
<?php
$attributes = array('class' => 'form-label-left Approve ','name' => 'Approve','id' => 'Approve');
echo form_open($this->config->base_url().'storerequisitionlist/SearchRequistLists',$attributes); ?>
<div class="container-fluid">
<br/>
<!-- popup for view store requisition detail -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">

View File

@ -2,37 +2,31 @@
<script>
</script>
<style>
#ImportPOCheck {
margin-top:200px;
z-index: 1080 !important;
}
<style>
#ImportPOCheck {
margin-top:200px;
z-index: 1080 !important;
}
.modal
{
padding-right:30% ! important;
}
</style>
<style>
.modal
{
padding-right:30% ! important;
}
.dataTables_paginate
{
margin-top: -5%;
}
.dataTables_wrapper
{
padding-bottom: 0px;
margin-top: -3%;
}
.content-wrapper
{
min-height: 733px;
}
</style>
.dataTables_paginate
{
margin-top: -5%;
}
.dataTables_wrapper
{
padding-bottom: 0px;
margin-top: -3%;
}
.content-wrapper
{
min-height: 733px;
}
</style>
<div class="content-wrapper">
<?php
$attributes = array('class' => 'form-label-left CreatePO ','name' => 'CreatePO','id' => 'CreatePO','method' => 'post','role' => 'form' );
@ -41,28 +35,17 @@
<section class="content">
<div>
<center><b><h2> Siddharth Industries - Create Purchase Order from Requistion </h2></b></center><br/><br/>
<div class="box">
<div class="box-header">
<center><h3 class="box-title">Siddharth Industries - Create Purchase Order from Requistion</h3></center>
</div>
<div class="container-fluid">
<div id="content"></div>
<div class="row">
<div class="col-md-12">
<div class="col-md-3">
</div>
<div class="col-md-3">
</div>
<div class="col-md-3">
<!-- Date range -->
</div>
<div class="col-md-3" >
<br/>
<p>
<div class="col-md-12">
<div class="col-md-3 col-md-offset-9" >
<p>
<div align="right" style="padding-right:10px">
<!--<a href="<?php echo base_url(); ?>purchaseorderform/purchaseorder">
<button type="button" class="btn btn-primary">Create PO</button></a> -->
@ -190,7 +173,7 @@
</div>
</div>
</div>
</form>
</div>
</div>

View File

@ -9,47 +9,36 @@ if(empty($Status))
?>
<style>
.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {border: 1px solid #333;}
.modal-content {
width:1000px ! important;
}
.modal
.modal-content {
width:1000px ! important;
}
.modal
{
padding-right:25% ! important;
}
</style>
</style>
<div class="content-wrapper">
<section class="content">
<div>
<center><b><h2>Purchase Order Approval List </h2></b></center>
<table id="Requisition" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;" >
<section class="content">
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title">Siddharth Industries - Purchase Order Approval List</h3></CENTER>
</div>
<table id="Requisition" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
<div align="right" style="padding-right:10px">
<div id="content" > </div>
<div class="modal fade" role="dialog">
<thead style="background-color:#ddf">
<tr>
<tr>
<th>Purchase Order Number</th>
<th>Purchase Order Type</th>
<th>Cost Center Name</th>
<th>Cost Center Code</th>
<th>Created By</th>
<th>Department</th>
<th>Created Date</th>
<th>Available Budget Amount</th>
<th>Total Order Value</th>
<th>Created By</th>
<th>Created Date</th>
<th>Status</th>
<th>Action</th>
<th>Remarks</th>
@ -65,33 +54,27 @@ if(empty($Status))
{
$index = $index +1;
//echo $index;
?>
<tr id="<?php echo $index ?>" >
<td><a target="_blank" href="<?php echo base_url() ?>purchaseorder/CreatePOPrint?PONO=<?php echo $record->PONO ?>&ReqType=<?php echo $record->ReqType ?>" data-id="<%=index%>" data-userid="<?php echo $record->PONO ?>" ><u><?php echo $record->PONO ?> </td>
<td><?php echo $record->ReqType ?> </td>
<td><?php echo $record->CostCenterName ?> </td>
<td><?php echo $record->CostCenterCode?></td>
<td align="right"><?php echo $record->BudgetAmount ?> </td>
<td align="right"><?php echo $record->TotalOrderValue ?></td>
<td><?php echo $record->FirstName ?></td>
<td><?php echo $record->DepartmentName?></td>
<td align="right"><?php $Cdt = new DateTime($record->CreatedDate);
$CreatedDate = $Cdt->format('d-m-Y');
echo $CreatedDate;
?></td>
<td align="right"><?php echo $record->BudgetAmount ?> </td>
<td align="right"><?php echo $record->TotalOrderValue ?></td>
<td><?php echo $record->StatusName ?></td>
<td><?php if($record->StatusCode ==PO_CREATED or $record->StatusCode == PO_ONHOLD or $record->StatusCode == REQITEM_Emergency_PO_CREATED ){ ?>
<td><?php if($record->StatusCode == PO_ONHOLD or $record->StatusCode == PO_CREATED or $record->StatusCode == REQITEM_Emergency_PO_CREATED ){ ?>
<select name="selectId" id="selectId" title="Select Your Option" onchange="showvalue('<?php echo $record->PONO ?>','<?php echo $index ; ?>',this.options[this.selectedIndex].value,'<?php echo $record->Remarks ?>');">
<option value="-1" >Select Option</option>
@ -105,7 +88,7 @@ if(empty($Status))
{
?>
-
<?php } ?>
</td>
@ -130,7 +113,8 @@ if(empty($Status))
</tbody>
</div>
</div>
</table>
<script>
function showvalue(PONO,value,Status,Remark)
@ -225,9 +209,9 @@ alert('please Select Status!');
</script>
<br>
</div>
</div>
</section>
</div>
@ -375,24 +359,14 @@ function(start, end, label) {
});
$(function () {
$('#Items').DataTable({
"paging": false,
"lengthChange": true,
"searching": false,
"ordering": false,
"info": false,
"autoWidth": false
});
$('#Requisition').DataTable({
"paging": true,
"lengthChange": true,
"searching": true,
"ordering": false,
"ordering": true,
"info": true,
"autoWidth": true,
//"data-sort-name":Status
"autoWidth": true
});
});

View File

@ -1,19 +1,16 @@
<?php
//print_r($AppList);
?>
<style>
.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {border: 1px solid #333;}
</style>
<div class="content-wrapper">
<section class="content">
<div>
<center><b><h2>Requisition Approval List </h2></b></center>
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title">Siddharth Industries - Requisition Approval List</h3></CENTER>
</div>
<?php
$attributes = array('class' => 'form-label-left Approve ','name' => 'Approve','id' => 'Approve');
@ -278,7 +275,8 @@
</div>
</div>
</section>
</div>
</div> </section>
</div>
<script>

View File

@ -55,16 +55,21 @@ span.highlight {
}
</style>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<CENTER>Siddharth Industries Requisition Listing</CENTER>
</h1>
</section>
<section class="content">
<div class="row">
<div class="col-xs-12 text-right">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title">Siddharth Industries - Requisition Listing</h3></CENTER>
</div><!-- /.box-header -->
<?php if($DraftCount > 0 ) {?><p>
<span class="highlight">The Requisition No <b><?php echo $ReqNo;?></b> is in Draft status.</span> Please act on the requisition.<span class="highlight">Then only you can raise New Requisition. </span>
</p> <?php } ?>
<div class="row">
<div class="col-md-12 text-right" style="margin-bottom:-3%;">
<div class="form-group">
<?php if($DraftCount == 0)
{ ?>
@ -73,20 +78,6 @@ span.highlight {
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title"></h3></CENTER>
<div class="box-tools">
</form>
</div>
</div><!-- /.box-header -->
<?php if($DraftCount > 0 ) {?><p>
<span class="highlight">The Requisition No <b><?php echo $ReqNo;?></b> is in Draft status.</span> Please act on the requisition.<span class="highlight">Then only you can raise New Requisition. </span>
</p> <?php } ?>
<table id="Requisition" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
<thead style="background-color:#ddf">
<tr>

View File

@ -26,43 +26,29 @@ span.highlight {
}
</style>
<div class="content-wrapper">
<section class="content-header">
<h1>
<CENTER>Siddharth Industries - Requisition Listing</CENTER>
</h1>
</section>
<section class="content">
<div class="row">
<div class="col-xs-12 text-right">
<div class="form-group">
<?php if($DraftCount == 0)
{ ?>
<a class="btn btn-primary" href="<?php echo base_url(); ?>storerequisitionlist/addstores"/>Raise Store Requisition</a><?php
}?>
</div>
</div>
</div>
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title"></h3></CENTER>
<div class="box-tools"></div>
<CENTER><h3 class="box-title">Siddharth Industries - Requisition Listing</h3></CENTER>
</div>
<?php if($DraftCount > 0 ) {?><p>
<span class="highlight">The Store Requisition No <b><?php echo $StoreReqNo;?></b> is in Draft status.</span> Please act on the requisition.<span class="highlight">Then only you can raise New StoreRequisition. </span>
</p> <?php } ?>
<div class="row">
<div class="col-xs-12 text-right" style="margin-bottom:-3%;">
<div class="form-group">
<?php if($DraftCount == 0)
{ ?>
<a class="btn btn-primary" href="<?php echo base_url(); ?>storerequisitionlist/addstores"/>Raise Store Requisition</a><?php
}?>
</div>
</div>
</div>
<table id="Requisition" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
<thead style="background-color:#ddf">
<tr>