From 6ea9f0cd23549d9b4e387cfcf823cf683800589f Mon Sep 17 00:00:00 2001
From: saravanakumar_kandasami
Date: Fri, 9 Jun 2017 11:15:22 +0530
Subject: [PATCH] pdf added for po and IGR screen
---
.../controllers/inwardgateregister.php | 56 ++++
application/controllers/purchaseorder.php | 25 +-
application/views/capitalpopdf.php | 102 ++++--
application/views/capitalpurchaseorder.php | 9 +-
application/views/importpo.php | 11 +-
application/views/importpopdf.php | 88 +++--
application/views/includes/header.php | 6 +
application/views/inwardgateregister.php | 302 ++++++++++++++++++
8 files changed, 541 insertions(+), 58 deletions(-)
create mode 100644 application/controllers/inwardgateregister.php
create mode 100644 application/views/inwardgateregister.php
diff --git a/application/controllers/inwardgateregister.php b/application/controllers/inwardgateregister.php
new file mode 100644
index 00000000..5239ffac
--- /dev/null
+++ b/application/controllers/inwardgateregister.php
@@ -0,0 +1,56 @@
+load->model('supplier_model');
+ $this->load->library('session');
+ $this->load->library('form_validation');
+ $this->isLoggedIn();
+ }
+ /**
+ * This function used to load the first screen of the user
+ */
+ public function index()
+ {
+ $this->global['pageTitle'] = 'Siddharth : Inward Gate Register';
+
+ $this->loadViews("inwardgateregister", $this->global, NULL , NULL);
+ }
+ function inwardgateregister()
+ {
+ $this->global['pageTitle'] = 'Siddharth : Inward Gate Register';
+
+ $this->loadViews("inwardgateregister", $this->global, NULL , NULL);
+ }
+ function inwardgateposhow()
+ {
+ $this->global['pageTitle'] = 'Siddharth : Inward PO Show';
+
+ $this->loadViews("inwardgateposhow", $this->global, NULL , NULL);
+ }
+
+
+ function pageNotFound()
+ {
+ $this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
+
+ $this->loadViews("404", $this->global, NULL, NULL);
+ }
+}
+
+?>
\ No newline at end of file
diff --git a/application/controllers/purchaseorder.php b/application/controllers/purchaseorder.php
index d99ee2fb..c746ad38 100755
--- a/application/controllers/purchaseorder.php
+++ b/application/controllers/purchaseorder.php
@@ -164,7 +164,11 @@ class purchaseorder extends BaseController
else if($ReqType == IMPORT)
{
$ViewName = 'importpo';
- }
+ }
+ else if($ReqType == CAPITAL)
+ {
+ $ViewName = 'capitalpurchaseorder';
+ }
$this->loadViews($ViewName, $this->global,$data, NULL);
}
}
@@ -184,7 +188,24 @@ class purchaseorder extends BaseController
$this ->revenuepoprint($PONO);
}
- }
+ }
+
+ function CreaterevenuePOPrint()
+ {
+ $this->load->View("revenuepopdf", NULL);
+ }
+ function CreateservicePOPrint()
+ {
+ $this->load->View("servicepopdf", NULL);
+ }
+ function CreateimportPOPrint()
+ {
+ $this->load->View("importpopdf", NULL);
+ }
+ function CreatecapitalPOPrint()
+ {
+ $this->load->View("capitalpopdf", NULL);
+ }
//To View/Update Purchase Order
function EditPurchaseOrder()
{
diff --git a/application/views/capitalpopdf.php b/application/views/capitalpopdf.php
index 7dde224f..0e87ef12 100755
--- a/application/views/capitalpopdf.php
+++ b/application/views/capitalpopdf.php
@@ -6,26 +6,50 @@
Siddharth Industries
Survey No: 168/1C3,Pennalur Pet Road,
Goonipalyam village,Uthukottai Taluk,
Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026.
-|
- Vendor Address DR Enterprices Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026. |
- Delivery To Siddharth Industries Survey No: 168/1C3,Pennalur Pet Road, Goonipalyam village, Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026. |
-
-
-
Purchase Order Date :2/5/2017 , Delivery Date :10/5/2017
-
-
-
+
+
+|
+ Vendor Address DR Enterprices Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026. |
+
+ Delivery To Siddharth Industries Survey No: 168/1C3,Pennalur Pet Road, Goonipalyam village, Uthukottai Taluk,Tiruvallur Dist, Chennai,Tamilnadu,Pin code : 602026. |
+Purchase Order Date :2/5/2017 , Delivery Date :10/5/2017 |
+
+
+
+
+| Service Tax |
+Educess Tax |
+Sec Higher Educess Tax |
+Krishi Kalyan tax |
+Swachh Bharat tax |
+
+
+ | 100 |
+120 |
+500 |
+200 |
+100 |
+
+
+
| # |
Item and Description |
Qty |
Rate per unit |
-Excise Duty |
-Vat |
-GST |
-CST |
-Other Taxes |
-Amount (Rs) |
+Landing Charge |
+High Seas Sales charge |
+Custom duty |
+Custom duty- Edu.cess |
+Custom duty-Sec & Hig Edu cess |
+Excise duty |
+Excise duty- Edu.cess |
+Excise duty-Sec & Hig Edu cess |
+Additional Excise duty |
+Gross duty payable |
+Available Modvat -set-off on import |
+Gross expenses due to custom duty |
+Total Amount(INR) |
| 1 |
@@ -35,7 +59,14 @@
500 |
1000 |
1300 |
+100 |
+120 |
+500 |
+1000 |
+1300 |
700 |
+1300 |
+7000 |
200 |
1,23,800 |
@@ -47,25 +78,44 @@
5000 |
10000 |
13000 |
+100 |
+120 |
+500 |
+1000 |
+1300 |
+7000 |
+1300 |
7000 |
2000 |
12,38,000 |
-
-
Sub Total (Rs):13,61,800
-
-
|
- Excise Duty (Rs):5500 |
- Vat (Rs):11000 |
- GST (Rs):14300 |
-|
- CST (Rs) :7700 |
- Other Taxes (Rs) :2200 |
- Total Amount (Rs):13,61,800 |
+
+
+ Landing Charge (Rs):5500 |
+ High Seas Sales charge (Rs):11000 |
+ Custom duty (Rs):14300 |
+ Custom duty- Edu.cess (Rs):14300 |
+
+
+ Custom duty-Sec & Hig Edu cess (Rs) :7700 |
+ Excise duty (Rs) :2200 |
+ Excise duty- Edu.cess (Rs):1300 |
+ Excise duty-Sec & Hig Edu cess (Rs):14300 |
+
+
+ Additional Excise duty (Rs) :7700 |
+ Gross duty payable (Rs) :2200 |
+ Available Modvat -set-off on import (Rs):1300 |
+ Gross expenses due to custom duty (Rs):14300 |
+
+
+
+
Sub Total (INR):13,61,800
+
\ No newline at end of file
diff --git a/application/views/capitalpurchaseorder.php b/application/views/capitalpurchaseorder.php
index 49e7894d..323fea22 100755
--- a/application/views/capitalpurchaseorder.php
+++ b/application/views/capitalpurchaseorder.php
@@ -46,7 +46,14 @@
-
Siddharth Industries - Capital Purchase Order
+
+
+
Siddharth Industries - Capital Purchase Order
+
+
+
diff --git a/application/views/importpo.php b/application/views/importpo.php
index 0d13a393..d5591af6 100755
--- a/application/views/importpo.php
+++ b/application/views/importpo.php
@@ -73,7 +73,14 @@ if(!empty($MaxPODate))
-
Siddharth Industries - Import Purchase Order
+
+
+
Siddharth Industries - Import Purchase Order
+
+
+
@@ -1347,7 +1354,7 @@ if(!empty($MaxPODate))
+
+
+
+
+
+
+
+
+
+
+
+
+ | Documentation No |
+ S.NO |
+ Date |
+ PO NO |
+ Supplier name |
+ Invoice No |
+ Date of Invoice |
+ Item Code |
+ Material |
+ Quantity |
+ Vechicle No |
+ Signature |
+
+
+
+
+ | DOC0001 |
+ 1 |
+ 2/6/2017 |
+ PO0034 |
+ DR Enterprises |
+ Inv123232 |
+ 8/6/2017 |
+ Sand12 |
+ wast sand |
+ 1000kgs |
+ TN 34 G 5434 |
+ DREN |
+
+
+ | DOC0002 |
+ 2 |
+ 6/6/2017 |
+ PO0035 |
+ DR Enterprises |
+ Inv123255 |
+ 15/6/2017 |
+ Sand12 |
+ wast sand |
+ 1000kgs |
+ TN 34 G 5434 |
+ DREN |
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file