po pdf
This commit is contained in:
parent
914e89a624
commit
d72d407ed3
@ -107,10 +107,14 @@ class purchaseorder extends BaseController
|
||||
{
|
||||
$ViewName = 'Purchaseorder';
|
||||
}
|
||||
else //if($ReqType == SERVICE)
|
||||
else if($ReqType == SERVICE)
|
||||
{
|
||||
$ViewName = 'servicePurchaseorder';
|
||||
}
|
||||
}
|
||||
else //if($ReqType == IMPORT)
|
||||
{
|
||||
$ViewName = 'importpo';
|
||||
}
|
||||
$this->loadViews($ViewName, $this->global,$data, NULL);
|
||||
|
||||
}
|
||||
@ -611,6 +615,134 @@ class purchaseorder extends BaseController
|
||||
|
||||
|
||||
}
|
||||
public function revenuepoprint() {
|
||||
// Load all views as normal
|
||||
|
||||
|
||||
//$PONO = $_GET['PO'];
|
||||
|
||||
//$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("revenuepopdf", NULL);
|
||||
|
||||
// Add header to pdf
|
||||
$this->load->view('includes/pdffooter');
|
||||
|
||||
// Get output html
|
||||
$php = $this->output->get_output();
|
||||
|
||||
// Load library
|
||||
$this->load->library('dompdf_gen');
|
||||
|
||||
// Convert to PDF
|
||||
$this->dompdf->load_html($php);
|
||||
$this->dompdf->render();
|
||||
$data['Attachment'] = FALSE;
|
||||
$this->dompdf->stream("RevenuePOReport.pdf",$data,$php);
|
||||
|
||||
}
|
||||
public function servicepoprint() {
|
||||
// Load all views as normal
|
||||
|
||||
|
||||
//$PONO = $_GET['PO'];
|
||||
|
||||
//$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("servicepopdf", NULL);
|
||||
|
||||
// Add header to pdf
|
||||
$this->load->view('includes/pdffooter');
|
||||
|
||||
// Get output html
|
||||
$php = $this->output->get_output();
|
||||
|
||||
// Load library
|
||||
$this->load->library('dompdf_gen');
|
||||
|
||||
// Convert to PDF
|
||||
$this->dompdf->load_html($php);
|
||||
$this->dompdf->render();
|
||||
$data['Attachment'] = FALSE;
|
||||
$this->dompdf->stream("ServicePOReport.pdf",$data,$php);
|
||||
|
||||
}
|
||||
public function importpoprint() {
|
||||
// Load all views as normal
|
||||
|
||||
|
||||
//$PONO = $_GET['PO'];
|
||||
|
||||
//$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("importpopdf", NULL);
|
||||
|
||||
// Add header to pdf
|
||||
$this->load->view('includes/pdffooter');
|
||||
|
||||
// Get output html
|
||||
$php = $this->output->get_output();
|
||||
|
||||
// Load library
|
||||
$this->load->library('dompdf_gen');
|
||||
|
||||
// Convert to PDF
|
||||
$this->dompdf->load_html($php);
|
||||
$this->dompdf->render();
|
||||
$data['Attachment'] = FALSE;
|
||||
$this->dompdf->stream("ImportPOReport.pdf",$data,$php);
|
||||
|
||||
}
|
||||
public function capitalpoprint() {
|
||||
// Load all views as normal
|
||||
|
||||
|
||||
//$PONO = $_GET['PO'];
|
||||
|
||||
//$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("capitalpopdf", NULL);
|
||||
|
||||
// Add header to pdf
|
||||
$this->load->view('includes/pdffooter');
|
||||
|
||||
// Get output html
|
||||
$php = $this->output->get_output();
|
||||
|
||||
// Load library
|
||||
$this->load->library('dompdf_gen');
|
||||
|
||||
// Convert to PDF
|
||||
$this->dompdf->load_html($php);
|
||||
$this->dompdf->render();
|
||||
$data['Attachment'] = FALSE;
|
||||
$this->dompdf->stream("CapitalPOReport.pdf",$data,$php);
|
||||
|
||||
}
|
||||
function pageNotFound()
|
||||
{
|
||||
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||
|
||||
67
application/logs/log-2017-05-23.php
Normal file
67
application/logs/log-2017-05-23.php
Normal file
@ -0,0 +1,67 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||
|
||||
ERROR - 2017-05-23 08:56:51 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:15:03 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:18:52 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:25:20 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:30:45 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:33:14 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:35:56 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:44:38 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:51:39 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:51:39 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:51:39 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:54:34 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:54:51 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:55:11 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 09:57:56 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 10:00:07 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 10:00:48 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 10:01:25 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 10:57:35 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 10:58:22 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 10:59:23 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:00:30 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:01:04 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:02:08 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:17:38 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:17:48 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:20:50 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:21:19 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:23:58 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:26:14 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:28:52 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:29:34 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:29:41 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:31:02 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:31:28 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:34:24 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:35:26 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:35:49 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:36:11 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:37:00 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:37:49 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:38:19 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:39:08 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:39:40 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:40:12 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:40:38 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:40:54 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:45:28 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:45:41 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:50:35 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:57:40 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 11:58:42 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:00:42 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:01:11 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:02:13 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:04:07 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:05:03 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:05:34 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:08:37 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:09:38 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:09:50 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:11:15 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:13:47 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:15:12 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
ERROR - 2017-05-23 12:15:55 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
|
||||
11
application/third_party/dompdf/lib/fonts/log.htm
vendored
11
application/third_party/dompdf/lib/fonts/log.htm
vendored
@ -1 +1,10 @@
|
||||
<span style='color: #900'>4,096 KB</span> <span style='color: #090'>677.2780 ms</span><br />
|
||||
<span style='color: #900'>2,048 KB</span> <span style='color: #090'>474.9031 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>
|
||||
71
application/views/capitalpopdf.php
Normal file
71
application/views/capitalpopdf.php
Normal file
@ -0,0 +1,71 @@
|
||||
|
||||
<div><center>
|
||||
<h2>CAPITAL PURCHASE ORDER</h2>
|
||||
<a style="color:#515151">#PO0001</a></center>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<b style="color:#3c8dbc">Siddharth Industries</b><br/> Survey No: 168/1C3,Pennalur Pet Road,<br/>Goonipalyam village,Uthukottai Taluk,<br/>Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.</p>
|
||||
<table><tr><td>
|
||||
<p><a style="color:#3c8dbc">Vendor Address</a> <br/> DR Enterprices <br/>Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.</p></td><td>
|
||||
<p><a style="color:#3c8dbc">Delivery To</a><br/> Siddharth Industries<br/> Survey No: 168/1C3,Pennalur Pet Road, Goonipalyam village, Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.<p></td>
|
||||
</tr></table>
|
||||
<p>
|
||||
<div align="right">Purchase Order Date :2/5/2017 , Delivery Date :10/5/2017</div></p>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="105%">
|
||||
<tr style="background:#000;color:#fff;">
|
||||
<th>#</th>
|
||||
<th>Item and Description</th>
|
||||
<th>Qty</th>
|
||||
<th>Rate per unit</th>
|
||||
<th>Excise Duty</th>
|
||||
<th>Vat</th>
|
||||
<th>GST</th>
|
||||
<th>CST</th>
|
||||
<th>Other Taxes</th>
|
||||
<th>Amount (Rs)</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>Resin - (A grade)</td>
|
||||
<td align="right">100</td>
|
||||
<td align="right">120</td>
|
||||
<td align="right">500</td>
|
||||
<td align="right">1000</td>
|
||||
<td align="right">1300</td>
|
||||
<td align="right">700</td>
|
||||
<td align="right">200</td>
|
||||
<td align="right">1,23,800</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>Dry Sand - (A grade)</td>
|
||||
<td align="right">1000</td>
|
||||
<td align="right">1200</td>
|
||||
<td align="right">5000</td>
|
||||
<td align="right">10000</td>
|
||||
<td align="right">13000</td>
|
||||
<td align="right">7000</td>
|
||||
<td align="right">2000</td>
|
||||
<td align="right">12,38,000</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align="right">
|
||||
|
||||
<p>Sub Total (Rs):13,61,800</p>
|
||||
<hr/>
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="105%"><tr><td align="center">
|
||||
<p>Excise Duty (Rs):5500</p></td><td align="center">
|
||||
<p>Vat (Rs):11000</p></td><td align="center">
|
||||
<p>GST (Rs):14300</p></td></tr>
|
||||
<tr><td align="center">
|
||||
<p>CST (Rs) :7700</p></td><td align="center">
|
||||
<p>Other Taxes (Rs) :2200</p></td><td align="center">
|
||||
<p>Total Amount (Rs):13,61,800 </p></td></tr>
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
</div>
|
||||
@ -1,6 +1,8 @@
|
||||
<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>
|
||||
.modal{
|
||||
padding-right: 25% ! important;
|
||||
}
|
||||
</style>
|
||||
<div class="content-wrapper">
|
||||
|
||||
|
||||
@ -11,30 +13,29 @@
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-3">
|
||||
<label>Requistion No</label>
|
||||
<div class="form-control">
|
||||
<?php
|
||||
$options = array("0"=>'Requistion No');
|
||||
//print_r( $options);
|
||||
<div class="col-md-3">
|
||||
<label>Requistion No</label>
|
||||
<div>
|
||||
|
||||
if(!empty($POType))
|
||||
<?php
|
||||
|
||||
$options = array("0"=>'Selected Requisition Numbers');
|
||||
if(!empty($ReqList))
|
||||
{
|
||||
foreach ($SupplierName as $SID):
|
||||
foreach ($ReqList as $SID):
|
||||
|
||||
|
||||
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
|
||||
|
||||
// print_r($SID->ReqNo);
|
||||
$options[$SID->ReqNo] = $SID->ReqNo ."-". $SID->ReqBy;
|
||||
$ReqType = $SID->ReqType;
|
||||
endforeach;
|
||||
}
|
||||
|
||||
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control required"','required="true"');
|
||||
}
|
||||
echo form_multiselect('RequistionNo', $options,set_value('RequistionNo'),'id="RequistionNo"' , 'required="true"');
|
||||
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label>PO Date</label>
|
||||
?>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<label>Purchase Order Date</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
||||
@ -42,7 +43,32 @@
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<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 Type</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
@ -51,10 +77,9 @@
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label>Select Currency Type</label>
|
||||
<div class="form-control">
|
||||
<div class="col-md-2">
|
||||
<label>Select Currency</label>
|
||||
|
||||
<?php
|
||||
$options = array("0"=>'Select Currency Type');
|
||||
//print_r( $options);
|
||||
@ -72,11 +97,9 @@
|
||||
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control required"','required="true"');
|
||||
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-2">
|
||||
<label>Exchange Rate</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
@ -85,71 +108,69 @@
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label>Supplier</label>
|
||||
<div class="form-control">
|
||||
<?php
|
||||
$options = array("0"=>'Supplier');
|
||||
//print_r( $options);
|
||||
|
||||
if(!empty($POType))
|
||||
{
|
||||
foreach ($SupplierName as $SID):
|
||||
|
||||
|
||||
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
|
||||
|
||||
endforeach;
|
||||
}
|
||||
|
||||
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control required"','required="true"');
|
||||
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
|
||||
<div class="col-md-4">
|
||||
<label>Address</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
$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-3">
|
||||
<label>Country</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</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>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container-fluid">
|
||||
<table class="table table-bordered" style="border:1px solid #333">
|
||||
<div align="right" style="padding-right:10px">
|
||||
<div align="right">
|
||||
<div align="right">
|
||||
<a data-toggle="modal" data-target="#myModal1"><button type="button" class="btn btn-primary" data-dismiss="modal" >Add Line Item</button> </a>
|
||||
<a data-toggle="modal" data-target="#myModal"><button type="button" style="margin: 0px 0px -30px 0px;" class="btn btn-primary" data-dismiss="modal" >Add Line Item</button> </a>
|
||||
|
||||
<div class="modal fade" id="myModal1" role="dialog">
|
||||
<div class="modal fade" id="myModal" role="dialog">
|
||||
<div class="modal-dialog">
|
||||
<!-- Modal content-->
|
||||
<form>
|
||||
<center>
|
||||
<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>
|
||||
<center><h4>Add Item </h4></center>
|
||||
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
||||
<center><h4>Add Import Purchase Order Item</h4></center>
|
||||
</div>
|
||||
<div align="left">
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-3">
|
||||
<label>Req No</label>
|
||||
<div class="form-control">
|
||||
|
||||
<?php
|
||||
$options = array("0"=>'Req No');
|
||||
//print_r( $options);
|
||||
@ -167,7 +188,7 @@
|
||||
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'required="true"');
|
||||
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
@ -201,7 +222,7 @@
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-2">
|
||||
<label>Item Code</label>
|
||||
<div class="form-control">
|
||||
|
||||
<?php
|
||||
$options = array("0"=>'Item Code');
|
||||
//print_r( $options);
|
||||
@ -219,7 +240,7 @@
|
||||
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control required"','required="true"');
|
||||
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-2">
|
||||
@ -272,8 +293,7 @@
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-6">
|
||||
Basic Price in US $ per Ton :
|
||||
|
||||
Basic Price in US $ per Ton :
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
@ -322,10 +342,11 @@
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-12" style="border:1px solid #000;">
|
||||
<br/>
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6" style="padding:0%">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
Basic Price:
|
||||
</div>
|
||||
@ -346,7 +367,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
Landing charge
|
||||
</div>
|
||||
@ -367,7 +388,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
High seas sales charge
|
||||
</div>
|
||||
@ -388,7 +409,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
Custom duty : (a)
|
||||
</div>
|
||||
@ -409,7 +430,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
Excise duty : (b)
|
||||
</div>
|
||||
@ -430,7 +451,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
Excise duty ED_cess : (C)
|
||||
</div>
|
||||
@ -451,7 +472,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
Excise duty S & H cess :(d)
|
||||
</div>
|
||||
@ -472,7 +493,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
Custom ED_cess : (e)
|
||||
</div>
|
||||
@ -493,7 +514,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
Custom S & H cess : (f)
|
||||
</div>
|
||||
@ -515,8 +536,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-6" style="padding:0%">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
Additional Excise duty : (g)
|
||||
</div>
|
||||
@ -537,7 +558,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-8">
|
||||
Gross duty payable
|
||||
</div>
|
||||
@ -550,7 +571,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-8">
|
||||
Available Modvat set-off on import :
|
||||
</div>
|
||||
@ -564,7 +585,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
|
||||
<div class="col-md-8">
|
||||
Gross expenses due to custom duty:
|
||||
@ -583,7 +604,7 @@
|
||||
<center> <label>Cost of the product Per KG</label></center>
|
||||
<hr/>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
purchase rate [Basic]
|
||||
</div>
|
||||
@ -606,7 +627,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
|
||||
<div class="col-md-4">
|
||||
Custom Duty Expenses
|
||||
@ -621,7 +642,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12" style="padding:0%">
|
||||
<div class="col-md-4">
|
||||
RMC Including Customers
|
||||
</div>
|
||||
@ -644,11 +665,12 @@
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" value="submit">Add</button>
|
||||
<button type="button" class="btn btn-default" value="submit" data-dismiss="modal">Cancel</button>
|
||||
<button type="button" class="btn btn-primary" value="submit">Add</button>
|
||||
<button type="button" class="btn btn-primary" value="submit" data-dismiss="modal">Cancel</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
@ -658,50 +680,67 @@
|
||||
|
||||
|
||||
<br/>
|
||||
<thead style="background-color:#fff">
|
||||
<tr>
|
||||
<th><input type="checkbox" name="name1" /> </th>
|
||||
<th>R No</th>
|
||||
<th>Item Name</th>
|
||||
<th>Quantity</th>
|
||||
<th>UOM</th>
|
||||
<th>Rate</th>
|
||||
<th>Tax %</th>
|
||||
<th>Total</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="name2" /> </td>
|
||||
<td>1</td>
|
||||
<td>001</td>
|
||||
<td>Waste Sand</td>
|
||||
<td>Ton</td>
|
||||
<td>100</td>
|
||||
<td>High</td>
|
||||
<td>No Change</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="name2" /> </td>
|
||||
<td>2</td>
|
||||
<td>002</td>
|
||||
<td>Resin</td>
|
||||
<td>Litre</td>
|
||||
<td>50</td>
|
||||
<td>High</td>
|
||||
<td>Change</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="name2" /> </td>
|
||||
<td>3</td>
|
||||
<td>003</td>
|
||||
<td>Resin</td>
|
||||
<td>Litre</td>
|
||||
<td>100</td>
|
||||
<td>High</td>
|
||||
<td>Change</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<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>
|
||||
|
||||
</table>
|
||||
<div class="col-md-3 col-md-offset-9">
|
||||
@ -722,4 +761,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function () {
|
||||
|
||||
$('#example2').DataTable({
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
});
|
||||
});
|
||||
</script>
|
||||
72
application/views/importpopdf.php
Normal file
72
application/views/importpopdf.php
Normal file
@ -0,0 +1,72 @@
|
||||
|
||||
<div><center>
|
||||
<h2>IMPORT PURCHASE ORDER</h2>
|
||||
<a style="color:#515151">#PO0001</a></center>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<b style="color:#3c8dbc">Siddharth Industries</b><br/> Survey No: 168/1C3,Pennalur Pet Road,<br/>Goonipalyam village,Uthukottai Taluk,<br/>Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.</p>
|
||||
<table><tr><td>
|
||||
<p><a style="color:#3c8dbc">Vendor Address</a> <br/> DR Enterprices <br/>Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.</p></td><td>
|
||||
<p><a style="color:#3c8dbc">Delivery To</a><br/> Siddharth Industries<br/> Survey No: 168/1C3,Pennalur Pet Road, Goonipalyam village, Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.<p></td>
|
||||
</tr></table>
|
||||
<p>
|
||||
<div align="right">Purchase Order Date :2/5/2017 , Delivery Date :10/5/2017</div></p>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="105%">
|
||||
<tr style="background:#000;color:#fff;">
|
||||
<th>#</th>
|
||||
<th>Item and Description</th>
|
||||
<th>Qty</th>
|
||||
<th>Rate per unit</th>
|
||||
<th>Excise Duty</th>
|
||||
<th>Vat</th>
|
||||
<th>GST</th>
|
||||
<th>CST</th>
|
||||
<th>Other Taxes</th>
|
||||
<th>Amount (Rs)</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>Resin - (A grade)</td>
|
||||
<td align="right">100</td>
|
||||
<td align="right">120</td>
|
||||
<td align="right">500</td>
|
||||
<td align="right">1000</td>
|
||||
<td align="right">1300</td>
|
||||
<td align="right">700</td>
|
||||
<td align="right">200</td>
|
||||
<td align="right">1,23,800</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>Dry Sand - (A grade)</td>
|
||||
<td align="right">1000</td>
|
||||
<td align="right">1200</td>
|
||||
<td align="right">5000</td>
|
||||
<td align="right">10000</td>
|
||||
<td align="right">13000</td>
|
||||
<td align="right">7000</td>
|
||||
<td align="right">2000</td>
|
||||
<td align="right">12,38,000</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align="right">
|
||||
|
||||
<p>Sub Total (Rs):13,61,800</p>
|
||||
<hr/>
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="105%"><tr><td align="center"><tr><td align="center">
|
||||
<p>Excise Duty (Rs):5500</p></td><td align="center">
|
||||
<p>Vat (Rs):11000</p></td><td align="center">
|
||||
<p>GST (Rs):14300</p></td></tr>
|
||||
<tr><td align="center">
|
||||
<p>CST (Rs) :7700</p></td><td align="center">
|
||||
<p>Other Taxes (Rs) :2200</p></td><td align="center">
|
||||
<p>Total Amount (Rs):13,61,800 </p></td></tr>
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
||||
</div>
|
||||
@ -1,5 +1,5 @@
|
||||
<div style="border:1px solid #000;">Amount chargable (in words)<br/><br/><br/><br/></div>
|
||||
<div style="text-align:right;border:1px solid #000;"> for Siddharth Industries <br/><br/><br/>Authorised Signature</div>
|
||||
<div style="border:1px solid #000;">Amount chargable (in words)<br/><br/></div>
|
||||
<div style="text-align:right;border:1px solid #000;"> for Siddharth Industries <br/><br/>Authorised Signature</div>
|
||||
<div><center>
|
||||
This is Computer Generated Document</center>
|
||||
</div>
|
||||
@ -1,4 +1,9 @@
|
||||
<div>
|
||||
<center><h2>SIDDHARTH INDUSTRIES - PURCHASE ORDER</h2></center>
|
||||
<br/><span style="text-align:right;"><?php echo "Date : " . date("d/m/y"); ?> </span><!--<span style="margin-left:700px;"> <?php echo "Day: ". date("l"); ?></span>--><br/>
|
||||
<table>
|
||||
<tr>
|
||||
<td><img width="50" height="50" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA11JREFUeNrsnT9IHEEYxWfFw8rgpUhlo5URi2gTbIUUSrq1ui4oRLRIY9JIKrGKTQrBgJLuuutEi4CtSSOpPIuATdIEcid2YpN9C3sc8c6bf7uZmX0P7k7ultm7337zzXxvZjGaiaIfQoiqoHTUHk6eniSPUbLQUmUoebojB23dDZGBmQiQAAmQAAmQIkACJEACpAiweA3bbvDV5mb6+iKOxfTc3MDjf15dicbBQfr3591d7wBGM1H0J3l9bNLI84UFsby6mkIzFWACJMCafJ9PJyfSx29vbHQuoqJaxl34zc5O+mVtwIPi5EIcXV52IjnoLvx+by/9wXkIF8aHbq0dgYi4vOB1Q7QV2c4BXM4Z3r+RGBTAR9VqmqhVBoZnIyOdx9taTXqQGJ+YUDqXFwBV4WGU69aXRkNsr69LtyEzHfIKIKJCVl9PT3u+/63P+6bnC64SuWm3jdsYn5xkKcdamCJAAiwjQJcHAC8ATs/OBg1Qy0y4ub6WPhb1cuPwUFycn9/77OPWlvXzeQGw2QPGQ9o/PhZrS0v3IPpooFrpwgChYniidq6fnTnvrBSaA3Uc3A/1uvPuSmEA0f0uFLsyBKcZDjaisvSj8DsFW6pbcHPQpV12WQoBCHhri4taEOGwhJAXjeeBgFebn1eyp0LKi1Ym0rCsXieRqLk06HVetFqJwHmWnRz3yotHzabT9n0hpRxGZ0SjjpGKCEQkxgUtWDlbCyMfIi/qTHMgrDf7srCem5mQDS5YQNKRD2vCuQLMhCVM3bwIiK4PLIUYqrp5EXPFeGWFALO8CEdGddId7NYOHWFQUa1cUO4Fty78/fZW6tFrjx7gqfqAT0PbmWAqVCwq+bDUOxMeyokh6L8B1J1kE2BgIkACJMDyAbSx56/cACV3CoyOjfX9rNSrcrI7E/qVYYCnYhKY3LXkJECVOdx+Us51m6Nwm7HVQyUCf4UGEJuFZPMgIhC+XlYfw21WWQ/GxXJ50q09iBS1MSjYW73ww3SXMVXOobsk4MU80GQZc5DQbl5tOzWRRpS8nJqy1tUAzWZ7ecvKDdfdggWfTV0GbdnA4JB1UdhbHjo0LesAS6YWa2GaCQRIgARIESABEiABUgRIgARYRoAVYtBWBfcL/xb8hwS6av8VYADVjF2M5sTWJAAAAABJRU5ErkJggg=="></td>
|
||||
<td> <h2>SIDDHARTH INDUSTRIES</h2> </td><td></td><td></td>
|
||||
<td><span style="text-align:right;"><?php echo "Date : " . date("d/m/y"); ?></span><!--<span> <?php echo "Day: ". date("l"); ?></span>--></td>
|
||||
</tr>
|
||||
</table><br/>
|
||||
</div>
|
||||
76
application/views/revenuepopdf.php
Normal file
76
application/views/revenuepopdf.php
Normal file
@ -0,0 +1,76 @@
|
||||
|
||||
<div><center>
|
||||
<h2>REVENUE PURCHASE ORDER</h2>
|
||||
<a style="color:#515151">#PO0001</a></center>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<b style="color:#3c8dbc">Siddharth Industries</b><br/> Survey No: 168/1C3,Pennalur Pet Road,<br/>Goonipalyam village,Uthukottai Taluk,<br/>Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.</p>
|
||||
<table><tr><td>
|
||||
<p><a style="color:#3c8dbc">Vendor Address</a> <br/> DR Enterprices <br/>Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.</p></td><td>
|
||||
<p><a style="color:#3c8dbc">Delivery To</a><br/> Siddharth Industries<br/> Survey No: 168/1C3,Pennalur Pet Road, Goonipalyam village, Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.<p></td>
|
||||
</tr></table>
|
||||
<p>
|
||||
<div align="right">Purchase Order Date :2/5/2017 , Delivery Date :10/5/2017</div></p>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="105%">
|
||||
<tr style="background:#000;color:#fff;">
|
||||
<th>#</th>
|
||||
<th>Item and Description</th>
|
||||
<th>Qty</th>
|
||||
<th>Rate per unit</th>
|
||||
<th>Excise Duty</th>
|
||||
<th>Vat</th>
|
||||
<th>GST</th>
|
||||
<th>CST</th>
|
||||
<th>Other Taxes</th>
|
||||
<th>Amount (Rs)</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>Resin - (A grade)</td>
|
||||
<td align="right">100</td>
|
||||
<td align="right">120</td>
|
||||
<td align="right">500</td>
|
||||
<td align="right">1000</td>
|
||||
<td align="right">1300</td>
|
||||
<td align="right">700</td>
|
||||
<td align="right">200</td>
|
||||
<td align="right">1,23,800</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>Dry Sand - (A grade)</td>
|
||||
<td align="right">1000</td>
|
||||
<td align="right">1200</td>
|
||||
<td align="right">5000</td>
|
||||
<td align="right">10000</td>
|
||||
<td align="right">13000</td>
|
||||
<td align="right">7000</td>
|
||||
<td align="right">2000</td>
|
||||
<td align="right">12,38,000</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align="right">
|
||||
|
||||
<p>Sub Total (Rs):13,61,800</p>
|
||||
<hr/>
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="105%"><tr><td align="center">
|
||||
<p>Discount (Rs):5500</p></td><td align="center">
|
||||
<p>Vat (Rs):11000</p></td><td align="center">
|
||||
<p>Packaging (Rs):14300</p></td></tr>
|
||||
<tr><td align="center">
|
||||
<p>Execise Duty (Rs) :7700</p></td><td align="center">
|
||||
<p>GST (RS) :1233</p></td><td align="center">
|
||||
<p>Insurance (Rs) : 2343</p></td></tr>
|
||||
<tr><td align="center">
|
||||
<p>Freight (Rs) :344</p></td><td align="center">
|
||||
<p>Revenue Tax (Rs): 458</p></td><td align="center">
|
||||
<p>Other Taxes (Rs) :2200</p></td ></tr>
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<p>Total Amount (Rs):13,61,800 </p>
|
||||
</div>
|
||||
@ -496,7 +496,10 @@ function clearEditTaxField()
|
||||
<div class="row">
|
||||
<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 class="col-md-2"><a class="btn btn-info" href="purchaseorder/servicepoprint" target="_blank"><i class="fa fa-print"></i> <span class="bold">Print</span></a>
|
||||
<a class="btn btn-info" href="purchaseorder/revenuepoprint" target="_blank"><i class="fa fa-print"></i> <span class="bold">Print</span></a>
|
||||
<a class="btn btn-info" href="purchaseorder/importpoprint" target="_blank"><i class="fa fa-print"></i> <span class="bold">Print</span></a>
|
||||
<a class="btn btn-info" href="purchaseorder/capitalpoprint" target="_blank"><i class="fa fa-print"></i> <span class="bold">Print</span></a></div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
|
||||
|
||||
73
application/views/servicepopdf.php
Normal file
73
application/views/servicepopdf.php
Normal file
@ -0,0 +1,73 @@
|
||||
|
||||
<div><center>
|
||||
<h2>SERVICE PURCHASE ORDER</h2>
|
||||
<a style="color:#515151">#PO0001</a></center>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<b style="color:#3c8dbc">Siddharth Industries</b><br/> Survey No: 168/1C3,Pennalur Pet Road,<br/>Goonipalyam village,Uthukottai Taluk,<br/>Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.</p>
|
||||
<table><tr><td>
|
||||
<p><a style="color:#3c8dbc">Vendor Address</a> <br/> DR Enterprices <br/>Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.</p></td><td>
|
||||
<p><a style="color:#3c8dbc">Delivery To</a><br/> Siddharth Industries<br/> Survey No: 168/1C3,Pennalur Pet Road, Goonipalyam village, Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.<p></td>
|
||||
</tr></table>
|
||||
<p>
|
||||
<div align="right">Purchase Order Date :2/5/2017 , Delivery Date :10/5/2017</div></p>
|
||||
|
||||
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="105%">
|
||||
<tr style="background:#000;color:#fff;">
|
||||
<th>#</th>
|
||||
<th>Item and Description</th>
|
||||
<th>Qty</th>
|
||||
<th>Rate per unit</th>
|
||||
<th>Excide Duty</th>
|
||||
<th>Vat</th>
|
||||
<th>GST</th>
|
||||
<th>CST</th>
|
||||
<th>Other Taxes</th>
|
||||
<th>Amount (Rs)</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>Resin - (A grade)</td>
|
||||
<td align="right">100</td>
|
||||
<td align="right">120</td>
|
||||
<td align="right">500</td>
|
||||
<td align="right">1000</td>
|
||||
<td align="right">1300</td>
|
||||
<td align="right">700</td>
|
||||
<td align="right">200</td>
|
||||
<td align="right">1,23,800</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>Dry Sand - (A grade)</td>
|
||||
<td align="right">1000</td>
|
||||
<td align="right">1200</td>
|
||||
<td align="right">5000</td>
|
||||
<td align="right">10000</td>
|
||||
<td align="right">13000</td>
|
||||
<td align="right">7000</td>
|
||||
<td align="right">2000</td>
|
||||
<td align="right">12,38,000</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align="right">
|
||||
|
||||
<p>Sub Total (Rs):13,61,800</p>
|
||||
<hr/>
|
||||
<table style="border-collapse: collapse;" cellpadding="0" cellspacing="0" border="1" width="105%"><tr><td align="center">
|
||||
<p>Service Tax @14% (RS):190653</p></td><td align="center">
|
||||
<p>Edu. cess @2%(Rs) :27236</p></td><td align="center">
|
||||
<p>Sec & Higher cess @1% (Rs) :13618</p></td></tr>
|
||||
<tr><td align="center">
|
||||
<p>Krishi kalyan Tax @5% (Rs) :68090</p></td><td align ="center">
|
||||
<p>Swachh Barath Tax @5% (Rs) :68090</p></td><td align ="center">
|
||||
<p>Total Amount (Rs):13,61,800 </p></td></tr>
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user