service po
This commit is contained in:
parent
babadfd8be
commit
914e89a624
@ -18,17 +18,17 @@ class C_test extends BaseController {
|
||||
// Load all views as normal
|
||||
|
||||
|
||||
$PONO = $_GET['PO'];
|
||||
//$PONO = $_GET['PO'];
|
||||
|
||||
$data['PODetail'] = $this->purchaseorder_model->getPurchaseOrder($PONO);
|
||||
$data['POLineItem'] = $this->purchaseorder_model->getPOLineItem($PONO);
|
||||
//$data['PODetail'] = $this->purchaseorder_model->getPurchaseOrder($PONO);
|
||||
//$data['POLineItem'] = $this->purchaseorder_model->getPOLineItem($PONO);
|
||||
//$this->global['pageTitle'] = 'Purchase Order Report';
|
||||
|
||||
// Add header to pdf
|
||||
$this->load->view('includes/pdfheader');
|
||||
|
||||
// Load the pdf page with multiviews
|
||||
$this->load->View("create_pdf", $data, NULL);
|
||||
$this->load->View("create_pdf", NULL);
|
||||
|
||||
// Add header to pdf
|
||||
$this->load->view('includes/pdffooter');
|
||||
|
||||
35
application/logs/log-2017-05-22.php
Normal file
35
application/logs/log-2017-05-22.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||
|
||||
ERROR - 2017-05-22 08:05:22 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-05-22 08:05:22 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-05-22 08:05:22 --> Unable to connect to the database
|
||||
ERROR - 2017-05-22 08:05:31 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-05-22 08:05:31 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-05-22 08:05:31 --> Unable to connect to the database
|
||||
ERROR - 2017-05-22 14:29:59 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-05-22 14:29:59 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-05-22 14:29:59 --> Unable to connect to the database
|
||||
ERROR - 2017-05-22 14:30:06 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-05-22 14:30:06 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-05-22 14:30:06 --> Unable to connect to the database
|
||||
ERROR - 2017-05-22 14:30:14 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-05-22 14:30:14 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-05-22 14:30:14 --> Unable to connect to the database
|
||||
ERROR - 2017-05-22 14:41:32 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'Error' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||
ERROR - 2017-05-22 14:41:47 --> Severity: Notice --> Undefined index: PO C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 21
|
||||
ERROR - 2017-05-22 14:43:09 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
|
||||
ERROR - 2017-05-22 14:43:20 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
|
||||
ERROR - 2017-05-22 14:43:42 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
|
||||
ERROR - 2017-05-22 14:43:47 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
|
||||
ERROR - 2017-05-22 14:44:21 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
|
||||
ERROR - 2017-05-22 14:44:26 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
|
||||
ERROR - 2017-05-22 14:45:27 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
|
||||
ERROR - 2017-05-22 14:45:27 --> Severity: Warning --> Illegal string offset 'Content-Disposition' C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\cpdf_adapter.cls.php 889
|
||||
ERROR - 2017-05-22 14:47:08 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
|
||||
ERROR - 2017-05-22 14:47:08 --> Severity: Notice --> Undefined variable: php C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 43
|
||||
ERROR - 2017-05-22 14:48:20 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
|
||||
ERROR - 2017-05-22 14:48:21 --> Severity: Warning --> Illegal string offset 'Content-Disposition' C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\cpdf_adapter.cls.php 889
|
||||
ERROR - 2017-05-22 14:53:37 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
|
||||
ERROR - 2017-05-22 14:53:38 --> Severity: Warning --> Illegal string offset 'Content-Disposition' C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\cpdf_adapter.cls.php 889
|
||||
ERROR - 2017-05-22 14:54:54 --> Severity: Warning --> Illegal string offset 'Content-Disposition' C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\cpdf_adapter.cls.php 889
|
||||
ERROR - 2017-05-22 14:57:43 --> Severity: Notice --> Undefined index: PO C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 21
|
||||
20
application/third_party/dompdf/lib/fonts/log.htm
vendored
20
application/third_party/dompdf/lib/fonts/log.htm
vendored
@ -1,19 +1 @@
|
||||
<span style='color: #900'>6,144 KB</span> <span style='color: #090'>3,717.6330 ms</span><br /><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||
|
||||
<h4>A PHP Error was encountered</h4>
|
||||
|
||||
<p>Severity: Warning</p>
|
||||
<p>Message: explode() expects parameter 2 to be string, array given</p>
|
||||
<p>Filename: include/style.cls.php</p>
|
||||
<p>Line Number: 948</p>
|
||||
|
||||
</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||
|
||||
<h4>A PHP Error was encountered</h4>
|
||||
|
||||
<p>Severity: Notice</p>
|
||||
<p>Message: Undefined variable: filename</p>
|
||||
<p>Filename: controllers/purchaseorderform.php</p>
|
||||
<p>Line Number: 81</p>
|
||||
|
||||
</div>
|
||||
<span style='color: #900'>4,096 KB</span> <span style='color: #090'>677.2780 ms</span><br />
|
||||
@ -62,20 +62,19 @@ if(!empty($PODetail))
|
||||
<!-- Content Header (Page header) -->
|
||||
<div>
|
||||
<h4>
|
||||
<h3> Siddharth Industries</h3><br/>
|
||||
Survey NO: 168/1C3,<br/>
|
||||
Survey NO: 168/1C3,
|
||||
Pennalur Pet Road,
|
||||
Goonipalyam village,<br/>
|
||||
Goonipalyam village,<br/>
|
||||
Uthukottai Taluk,
|
||||
Tiruvallur Dist,<br/>
|
||||
Tamilnadu,Pin code : 602026.<br/>
|
||||
Tiruvallur Dist,
|
||||
Tamilnadu,Pin code : 602026. <br/>
|
||||
Email: customersupport@sidharthindustries.com
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<section class="content-header">
|
||||
<center>
|
||||
<h1><b>Purchase Order - <?php echo $PONO ?> </b> </h1>
|
||||
<h1><b>Purchase Order - <?php echo $PONO ?> </b> </h1>
|
||||
</center>
|
||||
</section>
|
||||
<section class="content">
|
||||
|
||||
@ -473,6 +473,18 @@ function clearEditTaxField()
|
||||
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.modal
|
||||
{
|
||||
padding-right:25% ! important;
|
||||
}
|
||||
.pagination {
|
||||
margin :0px ! important;
|
||||
}
|
||||
.box-body {
|
||||
padding:0px ! important;
|
||||
}
|
||||
</style>
|
||||
<div class="content-wrapper">
|
||||
<?php
|
||||
$attributes = array('class' => 'form-label-left ServicePO ','name' => 'ServicePO','id' => 'ServicePO');
|
||||
@ -481,12 +493,13 @@ function clearEditTaxField()
|
||||
|
||||
<section class="content">
|
||||
<div id="content"></div>
|
||||
<div>
|
||||
<center><b><h2>Siddharth Industries - Service Purchase Order</h2></b></center></div>
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-10">
|
||||
<center><b><h2>Siddharth Industries - Service Purchase Order</h2></b></center></div>
|
||||
<div class="col-md-2"><a class="btn btn-info" href="C_test/create_pdf"><i class="fa fa-print"></i> <span class="bold">Print</span></a></div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<label>Requistion No</label>
|
||||
@ -509,94 +522,93 @@ function clearEditTaxField()
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label>Purchase Order Date</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'PODate','value' => set_value('PODate'),'id'=>'PODate', 'class' => 'form-control datePicker' ,'required' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4">
|
||||
<label>Supplier</label>
|
||||
<div >
|
||||
<?php
|
||||
$options = array("0"=>'Select Supplier');
|
||||
//print_r( $options);
|
||||
|
||||
if(!empty($Suplist))
|
||||
{
|
||||
foreach ($Suplist as $SID):
|
||||
|
||||
|
||||
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
|
||||
|
||||
endforeach;
|
||||
}
|
||||
|
||||
echo form_dropdown('drpSupplier', $options,set_value('drpSupplier'),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2');
|
||||
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label>Purchase Order Date</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'PODate','value' => set_value('PODate'),'id'=>'PODate', 'class' => 'form-control datePicker' ,'required' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label>Purchase Order Type</label>
|
||||
<div class="form-group">
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'POType','value' => set_value('POType',SERVICE),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<label>Address</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'SupAddress','value' => set_value('SupAddress'),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true','required' => 'true' ,'rows' => '3', 'cols' => '40');
|
||||
echo Form_textarea($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label>Delivery Address</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'DeliveryAddr','value' => set_value('DeliveryAddr'),'id'=>'DeliveryAddr', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
|
||||
echo Form_textarea($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<label>Delivery Date</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Deliverydt','value' => set_value('Deliverydt'),'id'=>'Deliverydt', 'class' => 'form-control datePicker' ,'required' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label>Purchase Order Type</label>
|
||||
<div class="form-group">
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'POType','value' => set_value('POType',SERVICE),'id'=>'POType', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<label>Supplier</label>
|
||||
<div >
|
||||
<?php
|
||||
$options = array("0"=>'Select Supplier');
|
||||
//print_r( $options);
|
||||
|
||||
if(!empty($Suplist))
|
||||
{
|
||||
foreach ($Suplist as $SID):
|
||||
|
||||
|
||||
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
|
||||
|
||||
endforeach;
|
||||
}
|
||||
|
||||
echo form_dropdown('drpSupplier', $options,set_value('drpSupplier'),'id="drpSupplier"' ,'required="true"' ,'class="form-control select2');
|
||||
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label>Address</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'SupAddress','value' => set_value('SupAddress'),'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true',"height" => "10px");
|
||||
echo Form_textarea($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label>Delivery Address</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'DeliveryAddr','value' => set_value('DeliveryAddr'),'id'=>'DeliveryAddr', 'class' => 'form-control' ,'required' => 'true');
|
||||
echo Form_textarea($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<label>Delivery Date</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Deliverydt','value' => set_value('Deliverydt'),'id'=>'Deliverydt', 'class' => 'form-control datePicker' ,'required' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="container-fluid">
|
||||
<table class="table table-bordered" style="border:1px solid #333" id="ServiceTable">
|
||||
<div align="right" style="padding-right:10px">
|
||||
<div align="right">
|
||||
<div align="right">
|
||||
<a data-toggle="modal" ><button type="submit" onclick="myFunction();" class="btn btn-primary" id="abcd" >Select Line Item</button> </a>
|
||||
|
||||
|
||||
<a data-toggle="modal" ><button type="submit" onclick="myFunction();" style="margin: 17px -7px -35px 10px;" class="btn btn-primary" id="abcd" >Select Line Item</button> </a>
|
||||
|
||||
<!-- Model for servicepo -->
|
||||
<div class="modal fade" id="SERVICE" role="dialog">
|
||||
@ -604,8 +616,7 @@ function clearEditTaxField()
|
||||
<!-- Modal content-->
|
||||
<form>
|
||||
<div class="modal-content" style="width:900px;">
|
||||
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
||||
<center><h4>Add Service Purchase Order Item </h4></center>
|
||||
</div>
|
||||
<div align="left">
|
||||
@ -724,115 +735,70 @@ function clearEditTaxField()
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4 col-md-offset-5" align="right">
|
||||
|
||||
Service Tax @14% :
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-12" style="border: 1px solid;">
|
||||
<div class="col-md-4">
|
||||
Service Tax @14% :
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterServiceTax','value' => set_value('AfterServiceTax'),'id'=>'AfterServiceTax', 'class' => 'form-control' ,'placeholder' => 'After Service Tax','readonly' => 'true');
|
||||
$data = array('name' => 'EditAfterServiceTax','value' => set_value('EditAfterServiceTax'),'id'=>'EditAfterServiceTax', 'class' => 'form-control','readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4 col-md-offset-5" align="right">
|
||||
Edu. cess @2% on service Tax :
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
Edu. cess @2% on service Tax :
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterEduCess','value' => set_value('AfterEduCess'),'id'=>'AfterEduCess', 'class' => 'form-control' ,'placeholder' => 'After Edu.','readonly' => 'true');
|
||||
$data = array('name' => 'EditAfterEduCess','value' => set_value('EditAfterEduCess'),'id'=>'EditAfterEduCess', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="col-md-4 col-md-offset-5" align="right">
|
||||
Sec. & Higher Edu. cess @1 % on service Tax :
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
Sec & Higher Edu cess @1 % on service Tax :
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterSecHighTax','value' => set_value('AfterSecHighTax'),'id'=>'AfterSecHighTax', 'class' => 'form-control' ,'placeholder' => 'After High Edu.','readonly' => 'true');
|
||||
$data = array('name' => 'EditAfterSecHighTax','value' => set_value('EditAfterSecHighTax'),'id'=>'EditAfterSecHighTax', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="col-md-4 col-md-offset-5" align="right">
|
||||
Krishi Kalyan tax @.5 % on Basic Amount:
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
Krishi Kalyan tax @.5 % on Basic Amount:
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterKrishiTax','value' => set_value('AfterKrishiTax'),'id'=>'AfterKrishiTax', 'class' => 'form-control' ,'placeholder' => 'After Krishi Kalyan tax.','readonly' => 'true');
|
||||
$data = array('name' => 'EditAfterKrishiTax','value' => set_value('EditAfterKrishiTax'),'id'=>'EditAfterKrishiTax', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="col-md-4 col-md-offset-5" align="right">
|
||||
Swachh Bharat tax @.5 % on Basic Amount:
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
Swachh Bharat tax @.5 % on Basic Amount:
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'AfterSwachhTax','value' => set_value('AfterSwachhTax'),'id'=>'AfterSwachhTax', 'class' => 'form-control' ,'placeholder' => 'After High Edu.','readonly' => 'true');
|
||||
$data = array('name' => 'EditAfterSwachhTax','value' => set_value('EditAfterSwachhTax'),'id'=>'EditAfterSwachhTax', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4 col-md-offset-5" align="right">
|
||||
Total Order value :
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
Total Order value :
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'TotalOrderValue','value' => set_value('TotalOrderValue'),'id'=>'TotalOrderValue', 'class' => 'form-control' ,'placeholder' => 'Total value','readonly' => 'true');
|
||||
$data = array('name' => 'EditTotalOrderValue','value' => set_value('EditTotalOrderValue'),'id'=>'EditTotalOrderValue', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
<div class="modal-footer">
|
||||
<br/><br/>
|
||||
<a class="btn btn-primary font AddService" ID="AddService" ><i class="fa fa-plus"></i> <span class="bold">Add Service</span></a>
|
||||
<a class="btn btn-primary" data-dismiss="modal" style="margin-top: -24px;" value="Cancel">Cancel</a>
|
||||
<a class="btn btn-primary" data-dismiss="modal" value="Cancel">Cancel</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -956,7 +922,7 @@ function clearEditTaxField()
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4 col-md-offset-5" align="right">
|
||||
|
||||
@ -1025,8 +991,7 @@ function clearEditTaxField()
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4 col-md-offset-5" align="right">
|
||||
Swachh Bharat tax @.5 % on Basic Amount:
|
||||
|
||||
@ -1041,8 +1006,7 @@ function clearEditTaxField()
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4 col-md-offset-5" align="right">
|
||||
Total Order value :
|
||||
@ -1057,7 +1021,7 @@ function clearEditTaxField()
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<br/>
|
||||
@ -1080,153 +1044,157 @@ function clearEditTaxField()
|
||||
|
||||
<br/>
|
||||
|
||||
<thead style="background-color:#fff">
|
||||
<tr>
|
||||
<th>SNo</th>
|
||||
<th>Requisition No</th>
|
||||
<th>Item Name</th>
|
||||
<th>Quantity</th>
|
||||
<th>UOM</th>
|
||||
<th>Rate</th>
|
||||
<th>Basic Amount</th>
|
||||
<th>Tax Amount</th>
|
||||
<th>Total Order Amount</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<div class="box-body" style="margin-top: -5%;">
|
||||
<table id="example2" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
|
||||
<thead style="background-color:#ddf">
|
||||
<tr>
|
||||
<th>SNo</th>
|
||||
<th>Requisition No</th>
|
||||
<th>Item Name</th>
|
||||
<th>Quantity</th>
|
||||
<th>UOM</th>
|
||||
<th>Rate</th>
|
||||
<th>Basic Amount</th>
|
||||
<th>Tax Amount</th>
|
||||
<th>Total Order Amount</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--- Sample static data -->
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>Req0004</td>
|
||||
<td>Sand</td>
|
||||
<td>100</td>
|
||||
<td>kgs</td>
|
||||
<td>100</td>
|
||||
<td>10000</td>
|
||||
<td>1000</td>
|
||||
<td>11000</td>
|
||||
<td>Edit</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>Req0008</td>
|
||||
<td>Sand</td>
|
||||
<td>150</td>
|
||||
<td>kgs</td>
|
||||
<td>100</td>
|
||||
<td>15000</td>
|
||||
<td>1000</td>
|
||||
<td>16000</td>
|
||||
<td>Edit</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td>3</td>
|
||||
<td>Req0016</td>
|
||||
<td>Resin</td>
|
||||
<td>100</td>
|
||||
<td>liter</td>
|
||||
<td>100</td>
|
||||
<td>10000</td>
|
||||
<td>500</td>
|
||||
<td>10500</td>
|
||||
<td>Edit</td>
|
||||
</tr>
|
||||
<!--- /Sample static data -->
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<tbody id='ServiceAppend'>
|
||||
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>Comments Of Special Instructions :</label> <?php
|
||||
$data = array('name' => 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control' );
|
||||
echo form_textarea($data);
|
||||
?>
|
||||
</div></div>
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6" align="right"> <label >Basic Amount :</label></div>
|
||||
<div class="col-md-6">
|
||||
|
||||
<div class="container">
|
||||
<div class="row" style="border:1px solid;">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4">
|
||||
<label >Basic Amount :</label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'txtTotBasicAmount','value' => set_value('txtTotBasicAmount'),'id'=>'txtTotBasicAmount', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label > Total Service Tax @14% :</label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'txtTotBasicAmount','value' => set_value('txtTotBasicAmount'),'id'=>'txtTotBasicAmount', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
|
||||
<div class="col-md-6" align="right"> <label >Total Service Tax @14% :</label></div>
|
||||
<div class="col-md-6">
|
||||
|
||||
$data = array('name' => 'txtTotalServiceTax','value' => set_value('txtTotalServiceTax'),'id'=>'txtTotalServiceTax', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
<div class="col-md-4" id="TotVat">
|
||||
<label >Total Edu. cess @2% on service Tax :</label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'txtTotalServiceTax','value' => set_value('txtTotalServiceTax'),'id'=>'txtTotalServiceTax', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-md-12" >
|
||||
|
||||
<div class="col-md-6" align="right"> <label >Total Edu. cess @2% on service Tax :</label></div>
|
||||
<div class="col-md-6">
|
||||
|
||||
$data = array('name' => 'txtTotalEducess','value' => set_value('txtTotalEducess'),'id'=>'txtTotalEducess', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4">
|
||||
<label >Total Sec. & Higher Edu. cess @1 % on service Tax :</label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'txtTotalEducess','value' => set_value('txtTotalEducess'),'id'=>'txtTotalEducess', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><br>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
|
||||
<div class="col-md-6" align="right"> <label >Total Sec. & Higher Edu. cess @1 % on service Tax :</label></div>
|
||||
<div class="col-md-6">
|
||||
|
||||
$data = array('name' => 'txtTotHigherEdu','value' => set_value('txtTotHigherEdu'),'id'=>'txtTotHigherEdu', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label >Total Krishi Kalyan tax @.5 % on Basic Amount :</label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'txtTotHigherEdu','value' => set_value('txtTotHigherEdu'),'id'=>'txtTotHigherEdu', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
|
||||
<div class="col-md-6" align="right"> <label >Total Krishi Kalyan tax @.5 % on Basic Amount :</label></div>
|
||||
<div class="col-md-6">
|
||||
|
||||
$data = array('name' => 'txtTotalKrishiKalyan','value' => set_value('txtTotalKrishiKalyan'),'id'=>'txtTotalKrishiKalyan', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label >Total Swachh Bharat tax @.5 % on Basic Amount:</label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'txtTotalKrishiKalyan','value' => set_value('txtTotalKrishiKalyan'),'id'=>'txtTotalKrishiKalyan', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
|
||||
<div class="col-md-6" align="right"> <label >Total Swachh Bharat tax @.5 % on Basic Amount:</label></div>
|
||||
<div class="col-md-6">
|
||||
|
||||
$data = array('name' => 'txtTotSwachhBharat','value' => set_value('txtTotSwachhBharat'),'id'=>'txtTotSwachhBharat', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-offset-8 col-md-4">
|
||||
<label >Total Order Value :</label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'txtTotSwachhBharat','value' => set_value('txtTotSwachhBharat'),'id'=>'txtTotSwachhBharat', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
|
||||
<div class="col-md-6" align="right"> <label >Total Order Value :</label></div>
|
||||
<div class="col-md-6">
|
||||
|
||||
$data = array('name' => 'txtTotalOrderValueSummary','value' => set_value('txtTotalOrderValueSummary'),'id'=>'txtTotalOrderValueSummary', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12">
|
||||
<label>Comments Of Special Instructions :</label>
|
||||
<?php
|
||||
$data = array('name' => 'txtTotalOrderValueSummary','value' => set_value('txtTotalOrderValueSummary'),'id'=>'txtTotalOrderValueSummary', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="row">
|
||||
<div align="right" style="padding-right:10px">
|
||||
$data = array('name' => 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40' );
|
||||
echo form_textarea($data);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="padding: 2% 0%">
|
||||
<div class="col-md-3 col-md-offset-9"><br/>
|
||||
<input type="hidden" name="txtPoRange" id="txtPoRange" />
|
||||
<input type="hidden" name="txtStatus" id="txtStatus" />
|
||||
<input type="hidden" name="txtRowCount" id="txtRowCount" />
|
||||
<input type="hidden" name="txtDeletedRow" id="txtDeletedRow" />
|
||||
<a class="btn btn-primary Save" ID="Save" onclick="Save()" > <span class="bold">Save</span></a>
|
||||
<a class="btn btn-primary Save" ID="Save" onclick="Save()" > <span class="bold">Save</span></a>
|
||||
|
||||
<input type="submit" class="btn btn-primary" >
|
||||
<input type="reset" class="btn btn-primary">
|
||||
@ -1234,12 +1202,8 @@ function clearEditTaxField()
|
||||
|
||||
</div><br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -1738,6 +1702,19 @@ $('#txtStatus').val('<?php echo PO_DRAFT;?>');
|
||||
}
|
||||
}
|
||||
|
||||
$(function () {
|
||||
|
||||
$('#example2').DataTable({
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user