├── LICENSE ├── README.md ├── Untitled Document.txt ├── add_custom_row.php ├── add_editpro.php ├── add_row.php ├── add_sell_price.php ├── add_seller_row.php ├── assets.zip ├── background.jpg ├── bill.php ├── billing.php ├── cat.php ├── cat_add.php ├── chosen.css ├── chosen.html ├── chosen.min.css ├── config.php ├── conversion.php ├── custom.css ├── custom_bill_entry.php ├── custom_billing.php ├── dash.php ├── edit_pro.php ├── fill_chrg.php ├── fill_gst.php ├── fill_tno.php ├── firm.php ├── firm_add.php ├── footer.php ├── get_bcat.php ├── get_bsize.php ├── get_pde.php ├── get_price_list.php ├── get_pro_grp.php ├── get_seller_bcat.php ├── get_seller_bsize.php ├── get_seller_pde.php ├── header.php ├── img ├── 140x140.png ├── 404-bg.png ├── avatar-150.png ├── avatar.png ├── avatar1.png ├── avatar2.png ├── avatar3.png ├── avatar4.png ├── avatar5.png ├── avatar6.png ├── bitbucket.png ├── db-icon.png ├── dribbble.png ├── dropbox.png ├── fb-icon.png ├── fl-icon.png ├── gallery │ ├── img1.jpg │ ├── img10.jpg │ ├── img11.jpg │ ├── img12.jpg │ ├── img2.jpg │ ├── img3.jpg │ ├── img4.jpg │ ├── img5.jpg │ ├── img6.jpg │ ├── img7.jpg │ ├── img8.jpg │ └── img9.jpg ├── gh-icon.png ├── github.png ├── gp-icon.png ├── in-icon.png ├── licenses │ ├── license-character-faces-icons-777192.pdf │ └── license-pricing-tables-icons.pdf ├── logo-fav.png ├── logo-symbol.png ├── logo-white-xx.png ├── logo-white.png ├── logo-xx.png ├── logo.png ├── mail_chimp.png ├── pi-icon.png ├── slack.png ├── slack_logo.png ├── tu-icon.png ├── tw-icon.png ├── user-profile-display.png └── yt-icon.png ├── index.html ├── index.php ├── ip to access online.txt ├── js ├── jquery.js ├── main.js └── main.min.js ├── login.php ├── logout.php ├── nav.php ├── nav_seller.php ├── pro.php ├── pro_add.php ├── pro_list.php ├── register.php ├── sb.php ├── sbill.php ├── seller_billing.php ├── sfill_chrg.php ├── sfill_gst.php ├── sfill_tno.php ├── show_seller_bill.php ├── showbill.php ├── srch_bill.php ├── srch_cat.php ├── srch_firm ├── srch_firm.php ├── srch_pro.php ├── srch_showbill.php ├── srch_ty.php ├── ssrch_showbill.php ├── stock_billing.php ├── stock_details.php ├── ty.php ├── ty_add.php ├── view_bill.php ├── view_custom_bill.php ├── view_seller_bill.php ├── vks (2).sql └── vks.sql /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Swapnil Sahu 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Stock-Inventory-Management-System 2 | This application is built using HTML,CSS,JS,Materialize CSS,AJAX,PHP and SQL 3 | -------------------------------------------------------------------------------- /Untitled Document.txt: -------------------------------------------------------------------------------- 1 | 11 | 12 | -------------------------------------------------------------------------------- /add_custom_row.php: -------------------------------------------------------------------------------- 1 | query($firm); 8 | 9 | $sql = "SELECT cat_id,cat_name FROM product p inner join category c on c.cat_id=p.pro_grpid inner join type t on t.ty_id=p.pro_typeid inner join firm f on f.firm_id = p.pro_firmid 10 | ORDER BY cat_name ASC"; 11 | $data = $conn->query($sql); 12 | 13 | ?> 14 | 15 |
16 | 17 | 18 | 19 | 27 | 32 | 33 | 34 | 35 | 36 | 37 | 38 |
39 | 40 | 41 |
42 | 43 | -------------------------------------------------------------------------------- /add_editpro.php: -------------------------------------------------------------------------------- 1 | query($pro_info); 21 | // print_r($inf); 22 | // die; 23 | 24 | $sql = "SELECT * FROM product p inner join category c on c.cat_id=p.pro_grpid inner join type t on t.ty_id=p.pro_typeid inner join firm f on f.firm_id=p.pro_firmid 25 | WHERE 0=0 ORDER BY cat_name ASC"; 26 | $data = $conn->query($sql); 27 | $conn=null; 28 | 29 | ?> 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 71 | 72 | 73 | 74 | 75 |
S. no.
Firm
Category
Type
Price
CGST
IGST
SGST
Quantity
Status
Edit
0) { 66 | echo "Available"; 67 | }else{ 68 | echo "Out of stock"; 69 | } 70 | ?>
-------------------------------------------------------------------------------- /add_row.php: -------------------------------------------------------------------------------- 1 | query($firm); 8 | 9 | $sql = "SELECT cat_id,cat_name FROM product p inner join category c on c.cat_id=p.pro_grpid inner join type t on t.ty_id=p.pro_typeid inner join firm f on f.firm_id = p.pro_firmid 10 | ORDER BY cat_name ASC"; 11 | $data = $conn->query($sql); 12 | 13 | ?> 14 | 15 |
16 | 17 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 |
45 | 46 | 47 |
48 | 49 | -------------------------------------------------------------------------------- /add_sell_price.php: -------------------------------------------------------------------------------- 1 | query($sql); 12 | 13 | $conn = null; 14 | ?> -------------------------------------------------------------------------------- /add_seller_row.php: -------------------------------------------------------------------------------- 1 | query($firm); 8 | 9 | $sql = "SELECT cat_id,cat_name FROM product p inner join category c on c.cat_id=p.pro_grpid inner join type t on t.ty_id=p.pro_typeid inner join firm f on f.firm_id = p.pro_firmid 10 | ORDER BY cat_name ASC"; 11 | $data = $conn->query($sql); 12 | 13 | ?> 14 | 15 |
16 | 17 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 |
45 | 46 | 47 |
48 | 49 | -------------------------------------------------------------------------------- /assets.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/assets.zip -------------------------------------------------------------------------------- /background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/background.jpg -------------------------------------------------------------------------------- /bill.php: -------------------------------------------------------------------------------- 1 | query($sql); 6 | $data1 = $conn->query($sql); 7 | $conn=null; 8 | ?> 9 | 10 |
11 |
12 |
13 |
STOCK BILLING 14 |
15 |
16 |
17 |
18 | 19 |
20 |
21 |
22 |
23 | 24 |
25 |
26 | 27 |
28 |
29 | 30 |
31 |
32 |
33 |
34 | 35 |
36 |
37 | 42 |
43 |
44 | 47 |
48 |
49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 |
S. no.
Firm
Description
Size
Qty Req.
Rate
Amount
69 | 70 |   71 | 72 |
73 | 84 |
85 | 86 | 87 | 88 |
89 |
90 |
91 | 92 |
93 |
94 | 95 |
96 |
97 |
98 |  ADD PRODUCT 99 |
100 |
101 | 102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /billing.php: -------------------------------------------------------------------------------- 1 | query($record); 29 | 30 | // code to insert the product in billing product table 31 | 32 | $count = $_REQUEST['count']; 33 | for ($i=0; $i < $count; $i++) { 34 | $firm = $_REQUEST['bill_f_'.$i]; 35 | $cat = $_REQUEST['bill_p_'.$i]; 36 | $size = $_REQUEST['bill_s_'.$i]; 37 | $qty = $_REQUEST['bill_q_'.$i]; 38 | 39 | // This query fetch the product id on the basis of cat and type 40 | 41 | $sql = "SELECT pro_id, pro_price, pro_qty FROM product p INNER JOIN category c ON cat_id=pro_grpid INNER JOIN type t ON pro_typeid=ty_id WHERE pro_firmid = $firm AND pro_grpid = $cat AND pro_typeid = $size"; 42 | $pro_id = $conn->query($sql); 43 | 44 | foreach ($pro_id as $key => $value) { 45 | $pid = $value['pro_id']; //final product id 46 | $price = $value['pro_price']; //product price 47 | $sqty = $value['pro_qty']; //product quantity in stock 48 | // Add the stock when bill type is 1 and Remove the stock when bill type is 2 49 | 50 | if ($type == 1) { 51 | $remain = $qty + $sqty; 52 | } 53 | else{ 54 | $remain = $sqty - $qty; 55 | } 56 | 57 | 58 | $update_stock = "UPDATE product SET pro_qty = $remain WHERE pro_id = $pid"; 59 | $conn->query($update_stock); 60 | 61 | 62 | // query to insert all product of this perticular bill 63 | 64 | $produts = "INSERT INTO bill_products (bp_uid, bp_pid, bp_qty, bp_price) VALUES ('$uid', $pid, $qty, $price)"; 65 | $conn->query($produts); 66 | 67 | } 68 | } 69 | 70 | $query = "SELECT * FROM `bill_records` WHERE `bill_uid` = '$uid'"; 71 | $rec = $conn->query($query); 72 | $pro = "SELECT f.firm_name,c.cat_name,t.ty_name,bp.bp_qty,bp.bp_price,p.pro_price FROM `bill_products` bp INNER JOIN product p ON p.pro_id = bp.bp_pid INNER JOIN category c ON c.cat_id=p.pro_grpid INNER JOIN type t ON t.ty_id=p.pro_typeid INNER JOIN firm f ON f.firm_id= p.pro_firmid WHERE bp.bp_uid = '$uid'"; 73 | $detail = $conn->query($pro); 74 | ?> 75 | 76 | $value) { 79 | // echo $value['bill_id']; die; 80 | } 81 | 82 | ?> 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 |
92 |

ESTIMATE

94 |
95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | $row) { $s++; ?> 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 |
 Bill No. :   M/S :  Date : 
 
S. No.
FIRM
DESCRIPTION
SIZE
QUANTITY
RATE
AMOUNT
  
 Rupees In Words :  Total : 
 GSTIN :   Transport Charge :  Transport no : 
-------------------------------------------------------------------------------- /cat.php: -------------------------------------------------------------------------------- 1 | query($sql); 6 | $conn=null; 7 | ?> 8 | 9 | 10 | 36 | 37 |
38 |
39 |
40 |
CATEGORY DETAILS 41 |
42 |
43 |
44 |
45 | 46 | 47 |
48 |
49 | 50 | 51 |
52 |
53 |
54 |
55 | 56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
CATEGORY TABLE 64 |
65 |
66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 |
S. no.
Name
Description
89 |
90 |
91 |
92 |
93 |
94 | 95 | 96 | 112 | 128 | -------------------------------------------------------------------------------- /cat_add.php: -------------------------------------------------------------------------------- 1 | query($check); 11 | //echo count($check); die; 12 | if ($check->rowCount() > 0) { 13 | echo "Category already exist.
"; 14 | $conn=null; 15 | }else{ 16 | $sql = "INSERT INTO category (cat_name, cat_des) 17 | VALUES ('$name', '$des')"; 18 | $conn->query($sql); 19 | $conn=null; 20 | echo "Category added.
"; 21 | } 22 | 23 | $conn = connection(); 24 | $sql = "select * from category order by cat_name ASC"; 25 | $data = $conn->query($sql); 26 | $conn=null; 27 | ?> 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 |
S. no.
Name
Description
-------------------------------------------------------------------------------- /chosen.css: -------------------------------------------------------------------------------- 1 | /*! 2 | Chosen, a Select Box Enhancer for jQuery and Prototype 3 | by Patrick Filler for Harvest, http://getharvest.com 4 | 5 | Version 1.8.3 6 | Full source at https://github.com/harvesthq/chosen 7 | Copyright (c) 2011-2018 Harvest http://getharvest.com 8 | 9 | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md 10 | This file is generated by `grunt build`, do not edit it by hand. 11 | */ 12 | 13 | /* @group Base */ 14 | .chosen-container { 15 | position: relative; 16 | display: inline-block; 17 | vertical-align: middle; 18 | font-size: 13px; 19 | -webkit-user-select: none; 20 | -moz-user-select: none; 21 | -ms-user-select: none; 22 | user-select: none; 23 | } 24 | 25 | .chosen-container * { 26 | -webkit-box-sizing: border-box; 27 | box-sizing: border-box; 28 | } 29 | 30 | .chosen-container .chosen-drop { 31 | position: absolute; 32 | top: 100%; 33 | z-index: 1010; 34 | width: 100%; 35 | border: 1px solid #aaa; 36 | border-top: 0; 37 | background: #fff; 38 | -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15); 39 | box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15); 40 | display: none; 41 | } 42 | 43 | .chosen-container.chosen-with-drop .chosen-drop { 44 | display: block; 45 | } 46 | 47 | .chosen-container a { 48 | cursor: pointer; 49 | } 50 | 51 | .chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name { 52 | margin-right: 4px; 53 | overflow: hidden; 54 | white-space: nowrap; 55 | text-overflow: ellipsis; 56 | font-weight: normal; 57 | color: #999999; 58 | } 59 | 60 | .chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after { 61 | content: ":"; 62 | padding-left: 2px; 63 | vertical-align: top; 64 | } 65 | 66 | /* @end */ 67 | /* @group Single Chosen */ 68 | .chosen-container-single .chosen-single { 69 | position: relative; 70 | display: block; 71 | overflow: hidden; 72 | padding: 0 0 0 8px; 73 | height: 25px; 74 | border: 1px solid #aaa; 75 | border-radius: 5px; 76 | background-color: #fff; 77 | background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #fff), color-stop(50%, #f6f6f6), color-stop(52%, #eee), to(#f4f4f4)); 78 | background: linear-gradient(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%); 79 | background-clip: padding-box; 80 | -webkit-box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1); 81 | box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1); 82 | color: #444; 83 | text-decoration: none; 84 | white-space: nowrap; 85 | line-height: 24px; 86 | } 87 | 88 | .chosen-container-single .chosen-single input[type="text"] { 89 | cursor: pointer; 90 | opacity: 0; 91 | position: absolute; 92 | } 93 | 94 | .chosen-container-single .chosen-default { 95 | color: #999; 96 | } 97 | 98 | .chosen-container-single .chosen-single span { 99 | display: block; 100 | overflow: hidden; 101 | margin-right: 26px; 102 | text-overflow: ellipsis; 103 | white-space: nowrap; 104 | } 105 | 106 | .chosen-container-single .chosen-single-with-deselect span { 107 | margin-right: 38px; 108 | } 109 | 110 | .chosen-container-single .chosen-single abbr { 111 | position: absolute; 112 | top: 6px; 113 | right: 26px; 114 | display: block; 115 | width: 12px; 116 | height: 12px; 117 | background: url("chosen-sprite.png") -42px 1px no-repeat; 118 | font-size: 1px; 119 | } 120 | 121 | .chosen-container-single .chosen-single abbr:hover { 122 | background-position: -42px -10px; 123 | } 124 | 125 | .chosen-container-single.chosen-disabled .chosen-single abbr:hover { 126 | background-position: -42px -10px; 127 | } 128 | 129 | .chosen-container-single .chosen-single div { 130 | position: absolute; 131 | top: 0; 132 | right: 0; 133 | display: block; 134 | width: 18px; 135 | height: 100%; 136 | } 137 | 138 | .chosen-container-single .chosen-single div b { 139 | display: block; 140 | width: 100%; 141 | height: 100%; 142 | background: url("chosen-sprite.png") no-repeat 0px 2px; 143 | } 144 | 145 | .chosen-container-single .chosen-search { 146 | position: relative; 147 | z-index: 1010; 148 | margin: 0; 149 | padding: 3px 4px; 150 | white-space: nowrap; 151 | } 152 | 153 | .chosen-container-single .chosen-search input[type="text"] { 154 | margin: 1px 0; 155 | padding: 4px 20px 4px 5px; 156 | width: 100%; 157 | height: auto; 158 | outline: 0; 159 | border: 1px solid #aaa; 160 | background: url("chosen-sprite.png") no-repeat 100% -20px; 161 | font-size: 1em; 162 | font-family: sans-serif; 163 | line-height: normal; 164 | border-radius: 0; 165 | } 166 | 167 | .chosen-container-single .chosen-drop { 168 | margin-top: -1px; 169 | border-radius: 0 0 4px 4px; 170 | background-clip: padding-box; 171 | } 172 | 173 | .chosen-container-single.chosen-container-single-nosearch .chosen-search { 174 | position: absolute; 175 | clip: rect(0, 0, 0, 0); 176 | } 177 | 178 | /* @end */ 179 | /* @group Results */ 180 | .chosen-container .chosen-results { 181 | color: #444; 182 | position: relative; 183 | overflow-x: hidden; 184 | overflow-y: auto; 185 | margin: 0 4px 4px 0; 186 | padding: 0 0 0 4px; 187 | max-height: 240px; 188 | -webkit-overflow-scrolling: touch; 189 | } 190 | 191 | .chosen-container .chosen-results li { 192 | display: none; 193 | margin: 0; 194 | padding: 5px 6px; 195 | list-style: none; 196 | line-height: 15px; 197 | word-wrap: break-word; 198 | -webkit-touch-callout: none; 199 | } 200 | 201 | .chosen-container .chosen-results li.active-result { 202 | display: list-item; 203 | cursor: pointer; 204 | } 205 | 206 | .chosen-container .chosen-results li.disabled-result { 207 | display: list-item; 208 | color: #ccc; 209 | cursor: default; 210 | } 211 | 212 | .chosen-container .chosen-results li.highlighted { 213 | background-color: #3875d7; 214 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #3875d7), color-stop(90%, #2a62bc)); 215 | background-image: linear-gradient(#3875d7 20%, #2a62bc 90%); 216 | color: #fff; 217 | } 218 | 219 | .chosen-container .chosen-results li.no-results { 220 | color: #777; 221 | display: list-item; 222 | background: #f4f4f4; 223 | } 224 | 225 | .chosen-container .chosen-results li.group-result { 226 | display: list-item; 227 | font-weight: bold; 228 | cursor: default; 229 | } 230 | 231 | .chosen-container .chosen-results li.group-option { 232 | padding-left: 15px; 233 | } 234 | 235 | .chosen-container .chosen-results li em { 236 | font-style: normal; 237 | text-decoration: underline; 238 | } 239 | 240 | /* @end */ 241 | /* @group Multi Chosen */ 242 | .chosen-container-multi .chosen-choices { 243 | position: relative; 244 | overflow: hidden; 245 | margin: 0; 246 | padding: 0 5px; 247 | width: 100%; 248 | height: auto; 249 | border: 1px solid #aaa; 250 | background-color: #fff; 251 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #eee), color-stop(15%, #fff)); 252 | background-image: linear-gradient(#eee 1%, #fff 15%); 253 | cursor: text; 254 | } 255 | 256 | .chosen-container-multi .chosen-choices li { 257 | float: left; 258 | list-style: none; 259 | } 260 | 261 | .chosen-container-multi .chosen-choices li.search-field { 262 | margin: 0; 263 | padding: 0; 264 | white-space: nowrap; 265 | } 266 | 267 | .chosen-container-multi .chosen-choices li.search-field input[type="text"] { 268 | margin: 1px 0; 269 | padding: 0; 270 | height: 25px; 271 | outline: 0; 272 | border: 0 !important; 273 | background: transparent !important; 274 | -webkit-box-shadow: none; 275 | box-shadow: none; 276 | color: #999; 277 | font-size: 100%; 278 | font-family: sans-serif; 279 | line-height: normal; 280 | border-radius: 0; 281 | width: 25px; 282 | } 283 | 284 | .chosen-container-multi .chosen-choices li.search-choice { 285 | position: relative; 286 | margin: 3px 5px 3px 0; 287 | padding: 3px 20px 3px 5px; 288 | border: 1px solid #aaa; 289 | max-width: 100%; 290 | border-radius: 3px; 291 | background-color: #eeeeee; 292 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eee)); 293 | background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%); 294 | background-size: 100% 19px; 295 | background-repeat: repeat-x; 296 | background-clip: padding-box; 297 | -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05); 298 | box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05); 299 | color: #333; 300 | line-height: 13px; 301 | cursor: default; 302 | } 303 | 304 | .chosen-container-multi .chosen-choices li.search-choice span { 305 | word-wrap: break-word; 306 | } 307 | 308 | .chosen-container-multi .chosen-choices li.search-choice .search-choice-close { 309 | position: absolute; 310 | top: 4px; 311 | right: 3px; 312 | display: block; 313 | width: 12px; 314 | height: 12px; 315 | background: url("chosen-sprite.png") -42px 1px no-repeat; 316 | font-size: 1px; 317 | } 318 | 319 | .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover { 320 | background-position: -42px -10px; 321 | } 322 | 323 | .chosen-container-multi .chosen-choices li.search-choice-disabled { 324 | padding-right: 5px; 325 | border: 1px solid #ccc; 326 | background-color: #e4e4e4; 327 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eee)); 328 | background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%); 329 | color: #666; 330 | } 331 | 332 | .chosen-container-multi .chosen-choices li.search-choice-focus { 333 | background: #d4d4d4; 334 | } 335 | 336 | .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close { 337 | background-position: -42px -10px; 338 | } 339 | 340 | .chosen-container-multi .chosen-results { 341 | margin: 0; 342 | padding: 0; 343 | } 344 | 345 | .chosen-container-multi .chosen-drop .result-selected { 346 | display: list-item; 347 | color: #ccc; 348 | cursor: default; 349 | } 350 | 351 | /* @end */ 352 | /* @group Active */ 353 | .chosen-container-active .chosen-single { 354 | border: 1px solid #5897fb; 355 | -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 356 | box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 357 | } 358 | 359 | .chosen-container-active.chosen-with-drop .chosen-single { 360 | border: 1px solid #aaa; 361 | border-bottom-right-radius: 0; 362 | border-bottom-left-radius: 0; 363 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #eee), color-stop(80%, #fff)); 364 | background-image: linear-gradient(#eee 20%, #fff 80%); 365 | -webkit-box-shadow: 0 1px 0 #fff inset; 366 | box-shadow: 0 1px 0 #fff inset; 367 | } 368 | 369 | .chosen-container-active.chosen-with-drop .chosen-single div { 370 | border-left: none; 371 | background: transparent; 372 | } 373 | 374 | .chosen-container-active.chosen-with-drop .chosen-single div b { 375 | background-position: -18px 2px; 376 | } 377 | 378 | .chosen-container-active .chosen-choices { 379 | border: 1px solid #5897fb; 380 | -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 381 | box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 382 | } 383 | 384 | .chosen-container-active .chosen-choices li.search-field input[type="text"] { 385 | color: #222 !important; 386 | } 387 | 388 | /* @end */ 389 | /* @group Disabled Support */ 390 | .chosen-disabled { 391 | opacity: 0.5 !important; 392 | cursor: default; 393 | } 394 | 395 | .chosen-disabled .chosen-single { 396 | cursor: default; 397 | } 398 | 399 | .chosen-disabled .chosen-choices .search-choice .search-choice-close { 400 | cursor: default; 401 | } 402 | 403 | /* @end */ 404 | /* @group Right to Left */ 405 | .chosen-rtl { 406 | text-align: right; 407 | } 408 | 409 | .chosen-rtl .chosen-single { 410 | overflow: visible; 411 | padding: 0 8px 0 0; 412 | } 413 | 414 | .chosen-rtl .chosen-single span { 415 | margin-right: 0; 416 | margin-left: 26px; 417 | direction: rtl; 418 | } 419 | 420 | .chosen-rtl .chosen-single-with-deselect span { 421 | margin-left: 38px; 422 | } 423 | 424 | .chosen-rtl .chosen-single div { 425 | right: auto; 426 | left: 3px; 427 | } 428 | 429 | .chosen-rtl .chosen-single abbr { 430 | right: auto; 431 | left: 26px; 432 | } 433 | 434 | .chosen-rtl .chosen-choices li { 435 | float: right; 436 | } 437 | 438 | .chosen-rtl .chosen-choices li.search-field input[type="text"] { 439 | direction: rtl; 440 | } 441 | 442 | .chosen-rtl .chosen-choices li.search-choice { 443 | margin: 3px 5px 3px 0; 444 | padding: 3px 5px 3px 19px; 445 | } 446 | 447 | .chosen-rtl .chosen-choices li.search-choice .search-choice-close { 448 | right: auto; 449 | left: 4px; 450 | } 451 | 452 | .chosen-rtl.chosen-container-single .chosen-results { 453 | margin: 0 0 4px 4px; 454 | padding: 0 4px 0 0; 455 | } 456 | 457 | .chosen-rtl .chosen-results li.group-option { 458 | padding-right: 15px; 459 | padding-left: 0; 460 | } 461 | 462 | .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div { 463 | border-right: none; 464 | } 465 | 466 | .chosen-rtl .chosen-search input[type="text"] { 467 | padding: 4px 5px 4px 20px; 468 | background: url("chosen-sprite.png") no-repeat -30px -20px; 469 | direction: rtl; 470 | } 471 | 472 | .chosen-rtl.chosen-container-single .chosen-single div b { 473 | background-position: 6px 2px; 474 | } 475 | 476 | .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b { 477 | background-position: -12px 2px; 478 | } 479 | 480 | /* @end */ 481 | /* @group Retina compatibility */ 482 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) { 483 | .chosen-rtl .chosen-search input[type="text"], 484 | .chosen-container-single .chosen-single abbr, 485 | .chosen-container-single .chosen-single div b, 486 | .chosen-container-single .chosen-search input[type="text"], 487 | .chosen-container-multi .chosen-choices .search-choice .search-choice-close, 488 | .chosen-container .chosen-results-scroll-down span, 489 | .chosen-container .chosen-results-scroll-up span { 490 | background-image: url("chosen-sprite@2x.png") !important; 491 | background-size: 52px 37px !important; 492 | background-repeat: no-repeat !important; 493 | } 494 | } 495 | 496 | /* @end */ 497 | -------------------------------------------------------------------------------- /chosen.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 16 | 17 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /chosen.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | Chosen, a Select Box Enhancer for jQuery and Prototype 3 | by Patrick Filler for Harvest, http://getharvest.com 4 | 5 | Version 1.8.3 6 | Full source at https://github.com/harvesthq/chosen 7 | Copyright (c) 2011-2018 Harvest http://getharvest.com 8 | 9 | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md 10 | This file is generated by `grunt build`, do not edit it by hand. 11 | */.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chosen-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;-webkit-box-shadow:0 4px 5px rgba(0,0,0,.15);box-shadow:0 4px 5px rgba(0,0,0,.15);display:none}.chosen-container.chosen-with-drop .chosen-drop{display:block}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),to(#f4f4f4));background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;-webkit-box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-single input[type=text]{cursor:pointer;opacity:0;position:absolute}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(chosen-sprite.png) no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:url(chosen-sprite.png) no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(1%,#eee),color-stop(15%,#fff));background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;height:25px;outline:0;border:0!important;background:0 0!important;-webkit-box-shadow:none;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),to(#eee));background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;-webkit-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),to(#eee));background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#eee),color-stop(80%,#fff));background-image:linear-gradient(#eee 20%,#fff 80%);-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:url(chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi),only screen and (min-resolution:1.5dppx){.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span,.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container-single .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-rtl .chosen-search input[type=text]{background-image:url(chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}} -------------------------------------------------------------------------------- /config.php: -------------------------------------------------------------------------------- 1 | setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 11 | //echo "Connected successfully"; 12 | } 13 | catch(PDOException $e) 14 | { 15 | echo "Connection failed: " . $e->getMessage(); 16 | } 17 | 18 | return $conn; 19 | } 20 | ?> -------------------------------------------------------------------------------- /conversion.php: -------------------------------------------------------------------------------- 1 | '' ,'1'=> 'one' ,'2'=> 'two' ,'3' => 'three','4' => 'four','5' => 'five', 8 | '6' => 'six','7' => 'seven','8' => 'eight','9' => 'nine','10' => 'ten', 9 | '11' => 'eleven','12' => 'twelve','13' => 'thirteen','14' => 'fouteen','15' => 'fifteen', 10 | '16' => 'sixteen','17' => 'seventeen','18' => 'eighteen','19' => 'nineteen','20' => 'twenty', 11 | '30' => 'thirty','40' => 'fourty','50' => 'fifty','60' => 'sixty','70' => 'seventy', 12 | '80' => 'eighty','90' => 'ninty'); 13 | 14 | //First find the length of the number 15 | $number_length = strlen($number); 16 | //Initialize an empty array 17 | $number_array = array(0,0,0,0,0,0,0,0,0); 18 | $received_number_array = array(); 19 | 20 | //Store all received numbers into an array 21 | for($i=0;$i<$number_length;$i++){ 22 | $received_number_array[$i] = substr($number,$i,1); 23 | } 24 | //Populate the empty array with the numbers received - most critical operation 25 | for($i=9-$number_length,$j=0;$i<9;$i++,$j++){ 26 | $number_array[$i] = $received_number_array[$j]; 27 | } 28 | $number_to_words_string = ""; 29 | //Finding out whether it is teen ? and then multiply by 10, example 17 is seventeen, so if 1 is preceeded with 7 multiply 1 by 10 and add 7 to it. 30 | for($i=0,$j=1;$i<9;$i++,$j++){ 31 | //"01,23,45,6,78" 32 | //"00,10,06,7,42" 33 | //"00,01,90,0,00" 34 | if($i==0 || $i==2 || $i==4 || $i==7){ 35 | if($number_array[$j]==0 || $number_array[$i] == "1"){ 36 | $number_array[$j] = intval($number_array[$i])*10+$number_array[$j]; 37 | $number_array[$i] = 0; 38 | } 39 | 40 | } 41 | } 42 | $value = ""; 43 | for($i=0;$i<9;$i++){ 44 | if($i==0 || $i==2 || $i==4 || $i==7){ 45 | $value = $number_array[$i]*10; 46 | } 47 | else{ 48 | $value = $number_array[$i]; 49 | } 50 | if($value!=0) { $number_to_words_string.= $words["$value"]." "; } 51 | if($i==1 && $value!=0){ $number_to_words_string.= "Crores "; } 52 | if($i==3 && $value!=0){ $number_to_words_string.= "Lakhs "; } 53 | if($i==5 && $value!=0){ $number_to_words_string.= "Thousand "; } 54 | if($i==6 && $value!=0){ $number_to_words_string.= "Hundred & "; } 55 | } 56 | if($number_length>9){ $number_to_words_string = "Sorry This does not support more than 99 Crores"; } 57 | return ucwords(strtolower("".$number_to_words_string)." Only."); 58 | } 59 | // echo "\n========= 907654321 ========"; 60 | // echo convertNumberToWordsForIndia("907654321"); 61 | // echo "\n========= 1000742 ========"; 62 | // echo convertNumberToWordsForIndia("1000742"); 63 | // echo "\n=============== 190000 ========"; 64 | // echo convertNumberToWordsForIndia("190000"); 65 | 66 | ?> -------------------------------------------------------------------------------- /custom.css: -------------------------------------------------------------------------------- 1 | .big{ 2 | font-size: 30px; 3 | } -------------------------------------------------------------------------------- /custom_bill_entry.php: -------------------------------------------------------------------------------- 1 | query($record); 30 | 31 | // code to insert the product in billing product table 32 | 33 | $count = $_REQUEST['count']; 34 | for ($i=0; $i < $count; $i++) { 35 | $name = $_REQUEST['bill_f_'.$i]; 36 | $price = $_REQUEST['bill_p_'.$i]; 37 | // $size = $_REQUEST['bill_s_'.$i]; 38 | $qty = $_REQUEST['bill_q_'.$i]; 39 | 40 | // query to insert all product of this perticular bill 41 | 42 | $produts = "INSERT INTO custom_products (cp_uid, cp_name, cp_price, cp_qty) VALUES ('$uid', '$name', '$price', '$qty');)"; 43 | $conn->query($produts); 44 | 45 | 46 | } 47 | 48 | $query = "SELECT * FROM `bill_records` WHERE `bill_uid` = '$uid'"; 49 | $rec = $conn->query($query); 50 | $pro = "SELECT * FROM custom_products WHERE cp_uid LIKE '$uid'"; 51 | $detail = $conn->query($pro); 52 | ?> 53 | 54 | $value) { 57 | // echo $value['bill_id']; die; 58 | } 59 | 60 | ?> 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 |
70 |

ESTIMATE

72 |
73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | $row) { $s++; ?> 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 |
 Bill No. :   M/S :  Date : 
 
S.no.
Name Of Product
Price
Qty Req.
Amount
 
 Rupees In Words :  Total : 
 GSTIN :   Transport Charge :  Transport no : 
-------------------------------------------------------------------------------- /custom_billing.php: -------------------------------------------------------------------------------- 1 | query($sql); 6 | $data1 = $conn->query($sql); 7 | $conn=null; 8 | ?> 9 | 10 |
11 |
12 |
13 |
CUSTOM BILLING 14 |
15 |
16 |
17 |
18 | 19 |
20 |
21 |
22 |
23 | 24 |
25 |
26 | 27 |
28 |
29 | 30 |
31 |
32 | 44 | 47 |
48 |
49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
S.no.
Name Of Product
Price
Qty Req.
Amount
67 | 68 | 69 |
70 | 71 | 72 |
73 |
74 |
75 | 76 |
77 |
78 | 79 |
80 |
81 |
82 |  ADD PRODUCT 83 |
84 |
85 | 86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /edit_pro.php: -------------------------------------------------------------------------------- 1 | query($pro_info); 9 | 10 | ?> 11 | 12 | 13 | 14 |
15 | 16 | 17 |
18 |
19 |
20 | 21 | 22 |
23 |
24 | 25 | 26 |
27 |
28 | 29 | 30 | 31 |
32 |
33 | 37 | 38 | 39 | 40 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /fill_chrg.php: -------------------------------------------------------------------------------- 1 | query($query); 9 | 10 | ?> -------------------------------------------------------------------------------- /fill_gst.php: -------------------------------------------------------------------------------- 1 | query($query); 9 | 10 | ?> -------------------------------------------------------------------------------- /fill_tno.php: -------------------------------------------------------------------------------- 1 | query($query); 9 | 10 | ?> -------------------------------------------------------------------------------- /firm.php: -------------------------------------------------------------------------------- 1 | query($sql); 7 | 8 | $conn=null; 9 | 10 | ?> 11 | 42 | 43 |
44 |
45 |
46 |
FIRM DETAILS 47 |
48 |
49 |
50 |
51 | 52 | 53 |
54 |
55 |
56 |
57 | 58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
FIRM TABLE 66 |
67 |
68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 |
S. no.
Name
Description
Phone
Address
92 |
93 |
94 |
95 |
96 |
97 | 98 | 114 | 115 | 137 | 155 | 156 | -------------------------------------------------------------------------------- /firm_add.php: -------------------------------------------------------------------------------- 1 | query($sql); 14 | 15 | $sql = "SELECT * FROM `firm` ORDER BY `firm_name` ASC"; 16 | $data = $conn->query($sql); 17 | $conn=null; 18 | 19 | ?> 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
S. no.
Name
Description
Phone
Address
44 | -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 16 | 32 | 45 | 46 | 62 | 83 | 104 | 121 | 138 | 155 | 172 | 173 | 193 | 213 | 241 | 255 | 256 | 257 | 277 | 292 | 306 | 321 | 335 | 346 | 347 | 348 | 366 | 380 | 394 | 409 | 437 | 438 | 451 | 452 | 453 | 474 | 490 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 518 | 519 | -------------------------------------------------------------------------------- /get_bcat.php: -------------------------------------------------------------------------------- 1 | query($sql); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /get_bsize.php: -------------------------------------------------------------------------------- 1 | query($sql); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /get_pde.php: -------------------------------------------------------------------------------- 1 | query($sql); 11 | $conn=null; 12 | 13 | ?> 14 | 15 | 0) { ?> 16 | 18 |
19 | 20 | 21 | 22 | 23 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /get_price_list.php: -------------------------------------------------------------------------------- 1 | query($cat); 7 | // $sql = "SELECT * FROM product p inner join category c on c.cat_id=p.pro_grpid inner join type t on t.ty_id=p.pro_typeid inner join firm f on f.firm_id=p.pro_firmid ORDER BY cat_name ASC "; 8 | 9 | ?> 10 | 11 | 12 | query($cat); 15 | foreach ($cat as $c) { 16 | 17 | } 18 | ?> 19 | 20 | 21 | query($type); 24 | foreach ($ty as $value) { $t = $value['ty_id']; ?> 25 | 26 | 27 | query($price); 29 | foreach ($price as $p) { ?> 30 | 31 | 32 | 33 | 34 | 35 | 36 |
".$p['pro_price']."/-"; ?>
37 | 38 | -------------------------------------------------------------------------------- /get_pro_grp.php: -------------------------------------------------------------------------------- 1 | query($mea_data); 11 | $conn=null; 12 | if ($mea_data->rowCount() > 0) { 13 | 14 | ?> 15 | 21 | 22 | 23 | 26 | 27 | 30 | 31 | 34 | 35 | query($sql); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /get_seller_bsize.php: -------------------------------------------------------------------------------- 1 | query($sql); 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /get_seller_pde.php: -------------------------------------------------------------------------------- 1 | query($sql); 11 | $conn=null; 12 | 13 | ?> 14 | 15 | 0) { ?> 16 | 18 |
19 | 20 | 21 | 22 | 23 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | VSK 11 | 12 | 13 | 14 | 15 | 20 | 21 | 22 |
23 | 43 |
44 | 79 |
80 |
81 | 82 |
83 | 84 |
85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /img/140x140.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/140x140.png -------------------------------------------------------------------------------- /img/404-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/404-bg.png -------------------------------------------------------------------------------- /img/avatar-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/avatar-150.png -------------------------------------------------------------------------------- /img/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/avatar.png -------------------------------------------------------------------------------- /img/avatar1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/avatar1.png -------------------------------------------------------------------------------- /img/avatar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/avatar2.png -------------------------------------------------------------------------------- /img/avatar3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/avatar3.png -------------------------------------------------------------------------------- /img/avatar4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/avatar4.png -------------------------------------------------------------------------------- /img/avatar5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/avatar5.png -------------------------------------------------------------------------------- /img/avatar6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/avatar6.png -------------------------------------------------------------------------------- /img/bitbucket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/bitbucket.png -------------------------------------------------------------------------------- /img/db-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/db-icon.png -------------------------------------------------------------------------------- /img/dribbble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/dribbble.png -------------------------------------------------------------------------------- /img/dropbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/dropbox.png -------------------------------------------------------------------------------- /img/fb-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/fb-icon.png -------------------------------------------------------------------------------- /img/fl-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/fl-icon.png -------------------------------------------------------------------------------- /img/gallery/img1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img1.jpg -------------------------------------------------------------------------------- /img/gallery/img10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img10.jpg -------------------------------------------------------------------------------- /img/gallery/img11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img11.jpg -------------------------------------------------------------------------------- /img/gallery/img12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img12.jpg -------------------------------------------------------------------------------- /img/gallery/img2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img2.jpg -------------------------------------------------------------------------------- /img/gallery/img3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img3.jpg -------------------------------------------------------------------------------- /img/gallery/img4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img4.jpg -------------------------------------------------------------------------------- /img/gallery/img5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img5.jpg -------------------------------------------------------------------------------- /img/gallery/img6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img6.jpg -------------------------------------------------------------------------------- /img/gallery/img7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img7.jpg -------------------------------------------------------------------------------- /img/gallery/img8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img8.jpg -------------------------------------------------------------------------------- /img/gallery/img9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gallery/img9.jpg -------------------------------------------------------------------------------- /img/gh-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gh-icon.png -------------------------------------------------------------------------------- /img/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/github.png -------------------------------------------------------------------------------- /img/gp-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/gp-icon.png -------------------------------------------------------------------------------- /img/in-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/in-icon.png -------------------------------------------------------------------------------- /img/licenses/license-character-faces-icons-777192.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/licenses/license-character-faces-icons-777192.pdf -------------------------------------------------------------------------------- /img/licenses/license-pricing-tables-icons.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/licenses/license-pricing-tables-icons.pdf -------------------------------------------------------------------------------- /img/logo-fav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/logo-fav.png -------------------------------------------------------------------------------- /img/logo-symbol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/logo-symbol.png -------------------------------------------------------------------------------- /img/logo-white-xx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/logo-white-xx.png -------------------------------------------------------------------------------- /img/logo-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/logo-white.png -------------------------------------------------------------------------------- /img/logo-xx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/logo-xx.png -------------------------------------------------------------------------------- /img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/logo.png -------------------------------------------------------------------------------- /img/mail_chimp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/mail_chimp.png -------------------------------------------------------------------------------- /img/pi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/pi-icon.png -------------------------------------------------------------------------------- /img/slack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/slack.png -------------------------------------------------------------------------------- /img/slack_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/slack_logo.png -------------------------------------------------------------------------------- /img/tu-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/tu-icon.png -------------------------------------------------------------------------------- /img/tw-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/tw-icon.png -------------------------------------------------------------------------------- /img/user-profile-display.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/user-profile-display.png -------------------------------------------------------------------------------- /img/yt-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrswapnilsahu/Stock-Inventory-Management-System/3573bbe689f8d7e8fc08df3d95ad31bd2e696732/img/yt-icon.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | VSK 11 | 12 | 16 | 17 | 18 | 19 | 44 |
45 | 53 | 54 | 55 | 56 | 57 | 64 | 65 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ip to access online.txt: -------------------------------------------------------------------------------- 1 | http://13.127.195.203/vks/index.html -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | query($sql); 14 | // foreach ($result as $row) { 15 | // echo $row['user_id']."
"; 16 | // echo $row['username']."
"; 17 | // echo $row['password']."
"; 18 | // } 19 | 20 | // die; 21 | if ( $result->rowCount() == 0 ) { 22 | // header("location: login.html"); 23 | echo ""; 26 | } 27 | elseif ( $result->rowCount() > 0 ) { 28 | if ($_SESSION["username"]=='admin'&&$_SESSION["password"]=='neola') { 29 | 30 | header('location:login.html'); 31 | } 32 | elseif (isset($_SESSION["username"])&&isset($_SESSION["password"])) { 33 | foreach ($result as $row) { 34 | echo $row['user_id']."
"; 35 | echo $row['username']."
"; 36 | echo $row['password']."
"; 37 | } 38 | // include 'header.php'; 39 | header("location: index.php"); 40 | // include 'footer.php'; 41 | } 42 | 43 | } 44 | 45 | ?> -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nav.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nav_seller.php: -------------------------------------------------------------------------------- 1 | UNDER CONSTRUCTION"; 17 | } 18 | function firm(){ 19 | include 'firm.php'; 20 | } 21 | function bill(){ 22 | include 'bill.php'; 23 | } 24 | function showbill(){ 25 | include 'sb.php'; 26 | } 27 | 28 | $link = $_POST['pro']; 29 | 30 | if ($link == 'pro') { 31 | pro(); 32 | }elseif ($link == 'cat') { 33 | cat(); 34 | }elseif ($link == 'ty') { 35 | ty(); 36 | }elseif ($link == 'dash') { 37 | dash(); 38 | }elseif ($link == 'st') { 39 | st(); 40 | }elseif ($link == 'bill') { 41 | bill(); 42 | }elseif ($link == 'firm') { 43 | firm(); 44 | }elseif ($link == 'sb') { 45 | showbill(); 46 | } 47 | ?> -------------------------------------------------------------------------------- /pro.php: -------------------------------------------------------------------------------- 1 | query($sql); 7 | $cat_dat = "SELECT * FROM category order by cat_name ASC"; 8 | $cat_dat = $conn->query($cat_dat); 9 | $cat_dat1 = "SELECT * FROM category order by cat_name ASC"; 10 | $cat_dat1 = $conn->query($cat_dat1); 11 | $firm_data = "SELECT * FROM firm order by firm_name ASC"; 12 | $firm_data = $conn->query($firm_data); 13 | $firm_data1 = "SELECT * FROM firm order by firm_name ASC"; 14 | $firm_data1 = $conn->query($firm_data1); 15 | $conn=null; 16 | 17 | ?> 18 | 19 | 87 | 88 | 89 | 109 | 110 |
111 |
112 |
113 |
PRODUCT DETAILS 114 |
115 |
116 |
117 | 121 |
122 | 123 | 129 |
130 |
131 | 132 | 138 |
139 |
140 |
141 |
142 | 143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
PRODUCT TABLE 151 |
152 |
153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 186 | 187 | 188 | 189 | 190 | 197 | 198 | 199 | 200 | 201 |
S. no.
Firm
Category
Type
Stock Price
Seller Price
CGST
IGST
SGST
Quantity
Status
Edit
185 | 0) { 192 | echo "Available"; 193 | }else{ 194 | echo "Out of stock"; 195 | } 196 | ?>
202 |
203 |
204 |
205 |
206 |
207 | 208 | 224 | 241 | 267 | 286 | 301 | 302 | 303 | -------------------------------------------------------------------------------- /pro_add.php: -------------------------------------------------------------------------------- 1 | query($check); 19 | // echo $check->rowCount(); 20 | if ($check->rowCount() > 0) { 21 | echo "Product already exist.
"; 22 | // $conn=null; 23 | }else{ 24 | $sql = "INSERT INTO `product` (`pro_typeid`, `pro_grpid`, `pro_firmid`, `pro_price`, `cgst`, `igst`, `sgst`, `pro_qty`) VALUES ('$ty', '$grp', '$firm_id', '$price', '$cgst', '$igst', '$sgst', '$qty');"; 25 | $conn = connection(); 26 | $conn->query($sql); 27 | // $conn=null; 28 | echo "Product added.
"; 29 | } 30 | 31 | $sql = "SELECT * FROM product p inner join category c on c.cat_id=p.pro_grpid inner join type t on t.ty_id=p.pro_typeid inner join firm f on f.firm_id=p.pro_firmid 32 | ORDER BY cat_name ASC"; 33 | $data = $conn->query($sql); 34 | $conn=null; 35 | 36 | ?> 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 70 | 71 | 72 | 73 | 74 | 81 | 82 | 83 | 84 | 85 |
S. no.
Firm
Category
Type
Stock Price
Seller Price
CGST
IGST
SGST
Quantity
Status
Edit
69 | 0) { 76 | echo "Available"; 77 | }else{ 78 | echo "Out of stock"; 79 | } 80 | ?>
-------------------------------------------------------------------------------- /pro_list.php: -------------------------------------------------------------------------------- 1 | query($sql); 7 | $cat_dat = "SELECT * FROM category order by cat_name ASC"; 8 | $cat_dat = $conn->query($cat_dat); 9 | $cat_dat1 = "SELECT * FROM category order by cat_name ASC"; 10 | $cat_dat1 = $conn->query($cat_dat1); 11 | $firm_data = "SELECT * FROM firm order by firm_name ASC"; 12 | $firm_data = $conn->query($firm_data); 13 | $firm_data1 = "SELECT * FROM firm order by firm_name ASC"; 14 | $firm_data1 = $conn->query($firm_data1); 15 | $conn=null; 16 | 17 | ?> 18 | 19 | 20 |
21 |
22 | PRICE LIST 23 |
24 | 25 | 31 |
32 |
33 |
34 | 35 | 36 | 37 | 38 | 41 | 44 | 47 |
48 | 49 | 63 | -------------------------------------------------------------------------------- /register.php: -------------------------------------------------------------------------------- 1 | query($sql); 10 | die; 11 | if ( $result->rowCount() == 0 ) { 12 | header("location: login.html"); 13 | echo ""; 14 | } 15 | elseif ( $result->rowCount() > 0 ) { 16 | 17 | if (isset($username)&&isset($password)) { 18 | foreach ($result as $row) { 19 | echo $row['user_id']."
"; 20 | echo $row['username']."
"; 21 | echo $row['password']."
"; 22 | } 23 | // header("location: index.php"); 24 | } 25 | 26 | } 27 | 28 | ?> -------------------------------------------------------------------------------- /sb.php: -------------------------------------------------------------------------------- 1 | 2 | query($sql); 8 | 9 | ?> 10 | 11 | 12 | 36 | 37 | 38 |
39 |
40 |
41 |
STOCK BILLING DETAILS 42 |
43 |
44 |
45 |
46 | 47 | 48 |
49 | 53 |
54 | 55 | 56 |
57 |
58 |
59 |
60 | 61 |
62 |
63 |
STOCK BILL DETAILS
64 |
65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 |
S. no.
Bill no.
Name
Total Amount
GSTIN
Transport Charge
Transport no.
Entry Date
Action
97 |
98 |
99 |
100 |
101 |
102 | 103 | 180 | 193 | 194 | -------------------------------------------------------------------------------- /sbill.php: -------------------------------------------------------------------------------- 1 | query($sql); 6 | $data1 = $conn->query($sql); 7 | $conn=null; 8 | ?> 9 | 10 |
11 |
12 |
13 |
SELLER BILLING 14 |
15 |
16 |
17 |
18 | 36 |
37 |
38 |
39 |
40 | 41 |
42 |
43 | 44 |
45 |
46 | 47 |
48 |
49 |
50 |
51 | 52 |
53 |
54 | 59 |
60 |
61 | 64 |
65 |
66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 |
S. no.
Firm
Description
Size
Qty Req.
Rate
Amount
86 | 87 |   88 | 89 |
90 | 101 |
102 | 103 | 104 | 105 |
106 |
107 |
108 | 109 |
110 |
111 | 112 |
113 | 114 |
115 |
116 |  ADD PRODUCT 117 |
118 |
119 | 120 |
121 |
122 | 123 |
124 |
125 |
126 |
127 |
128 |
129 | 247 | -------------------------------------------------------------------------------- /seller_billing.php: -------------------------------------------------------------------------------- 1 | query($record); 30 | 31 | // code to insert the product in billing product table 32 | 33 | $count = $_REQUEST['count']; 34 | for ($i=0; $i < $count; $i++) { 35 | $firm = $_REQUEST['bill_f_'.$i]; 36 | $cat = $_REQUEST['bill_p_'.$i]; 37 | $size = $_REQUEST['bill_s_'.$i]; 38 | $qty = $_REQUEST['bill_q_'.$i]; 39 | 40 | // This query fetch the product id on the basis of cat and type 41 | 42 | $sql = "SELECT pro_id, pro_sell_price, pro_qty FROM product p INNER JOIN category c ON cat_id=pro_grpid INNER JOIN type t ON pro_typeid=ty_id WHERE pro_firmid = $firm AND pro_grpid = $cat AND pro_typeid = $size"; 43 | $pro_id = $conn->query($sql); 44 | 45 | foreach ($pro_id as $key => $value) { 46 | $pid = $value['pro_id']; //final product id 47 | $price = (int)$value['pro_sell_price']; //product price 48 | $sqty = $value['pro_qty']; //product quantity in stock 49 | // Add the stock when bill type is 1 and Remove the stock when bill type is 2 50 | 51 | if ($type == 1) { 52 | $remain = $qty + $sqty; 53 | } 54 | else{ 55 | $remain = $sqty - $qty; 56 | } 57 | 58 | 59 | $update_stock = "UPDATE product SET pro_qty = $remain WHERE pro_id = $pid"; 60 | $conn->query($update_stock); 61 | 62 | 63 | // query to insert all product of this perticular bill 64 | 65 | $produts = "INSERT INTO seller_bill_products (bp_uid, bp_pid, bp_qty, bp_price) VALUES ('$uid', $pid, $qty, $price)"; 66 | $conn->query($produts); 67 | 68 | } 69 | } 70 | 71 | $query = "SELECT * FROM `seller_bill_records` WHERE `bill_uid` = '$uid'"; 72 | $rec = $conn->query($query); 73 | $pro = "SELECT f.firm_name,c.cat_name,t.ty_name,bp.bp_qty,bp.bp_price,p.pro_price FROM `seller_bill_products` bp INNER JOIN product p ON p.pro_id = bp.bp_pid INNER JOIN category c ON c.cat_id=p.pro_grpid INNER JOIN type t ON t.ty_id=p.pro_typeid INNER JOIN firm f ON f.firm_id= p.pro_firmid WHERE bp.bp_uid = '$uid'"; 74 | $detail = $conn->query($pro); 75 | ?> 76 | 77 | $value) { 80 | // echo $value['bill_id']; die; 81 | } 82 | 83 | ?> 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 |
93 |

ESTIMATE

95 |
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | $row) { $s++; ?> 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 |
 Bill No. :   M/S :  Date : 
 
S. No.
FIRM
DESCRIPTION
SIZE
QUANTITY
RATE
AMOUNT
  
 Rupees In Words :  Total : 
 GSTIN :   Transport Charge :  Transport no : 
-------------------------------------------------------------------------------- /sfill_chrg.php: -------------------------------------------------------------------------------- 1 | query($query); 9 | 10 | ?> -------------------------------------------------------------------------------- /sfill_gst.php: -------------------------------------------------------------------------------- 1 | query($query); 9 | 10 | ?> -------------------------------------------------------------------------------- /sfill_tno.php: -------------------------------------------------------------------------------- 1 | query($query); 9 | 10 | ?> -------------------------------------------------------------------------------- /show_seller_bill.php: -------------------------------------------------------------------------------- 1 | query($sql); 7 | 8 | ?> 9 | 10 | 11 | 35 | 36 | 37 |
38 |
39 |
40 |
SELLER BILLING DETAILS 41 |
42 |
43 |
44 |
45 | 46 | 47 |
48 |
49 | 50 | 51 |
52 |
53 |
54 |
55 | 56 |
57 |
58 |
SELLER BILL DETAILS
59 |
60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 |
S. no.
Bill no.
Name
Total Amount
GSTIN
Transport Charge
Transport no.
Entry Date
Action
92 |
93 |
94 |
95 |
96 |
97 | 98 | 116 | 134 | -------------------------------------------------------------------------------- /showbill.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 17 | 18 |
19 |
20 |
21 |
BILLING DETAILS 22 |
23 |
24 |
25 |
26 | 27 | 28 |
29 | 33 |
34 | 35 | 36 |
37 |
38 |
39 |
40 | 41 |
42 |
43 |
Bill table
44 |
45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 |
S. no.
Bill no.
Name
GSTIN
Total Amount
Transportation Charge
Transport no.
View
75 |
76 |
77 |
78 |
79 |
80 | 81 | 82 | -------------------------------------------------------------------------------- /srch_bill.php: -------------------------------------------------------------------------------- 1 | query($sql); 17 | 18 | ?> 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |
S. no.
Bill no.
Name
GSTIN
Total Amount
Transportation Charge
Transport no.
Entry Date
Action
-------------------------------------------------------------------------------- /srch_cat.php: -------------------------------------------------------------------------------- 1 | query($sql); 17 | $conn=null; 18 | ?> 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 |
S. no.
Name
Description
-------------------------------------------------------------------------------- /srch_firm: -------------------------------------------------------------------------------- 1 | query($sql); 14 | $conn=null; 15 | ?> 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |
S. no.
Name
Description
-------------------------------------------------------------------------------- /srch_firm.php: -------------------------------------------------------------------------------- 1 | query($sql); 14 | $conn=null; 15 | ?> 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 |
S. no.
Name
Description
Phone
Address
-------------------------------------------------------------------------------- /srch_pro.php: -------------------------------------------------------------------------------- 1 | query($sql); 21 | $conn=null; 22 | ?> 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 56 | 57 | 58 | 59 | 60 | 67 | 68 | 69 | 70 | 71 |
S. no.
Firm
Category
Type
Stock Price
Seller Price
CGST
IGST
SGST
Quantity
Status
Edit
55 | 0) { 62 | echo "Available"; 63 | }else{ 64 | echo "Out of stock"; 65 | } 66 | ?>
-------------------------------------------------------------------------------- /srch_showbill.php: -------------------------------------------------------------------------------- 1 | query($sql); 22 | $conn=null; 23 | ?> 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |
S. no.
Bill no.
Name
Total Amount
GSTIN
Transport Charge
Transport no.
Entry Date
Action
-------------------------------------------------------------------------------- /srch_ty.php: -------------------------------------------------------------------------------- 1 | query($sql); 17 | // print_r($data); die; 18 | $conn=null; 19 | 20 | ?> 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 |
S. no.
Measurement Name
Category
Category Description
-------------------------------------------------------------------------------- /ssrch_showbill.php: -------------------------------------------------------------------------------- 1 | query($sql); 24 | $conn=null; 25 | ?> 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |
S. no.
Bill no.
Name
Total Amount
GSTIN
Transport Charge
Transport no.
Entry Date
Action
-------------------------------------------------------------------------------- /stock_billing.php: -------------------------------------------------------------------------------- 1 | query($record); 30 | 31 | // code to insert the product in billing product table 32 | 33 | $count = $_REQUEST['count']; 34 | for ($i=0; $i < $count; $i++) { 35 | $firm = $_REQUEST['bill_f_'.$i]; 36 | $cat = $_REQUEST['bill_p_'.$i]; 37 | $size = $_REQUEST['bill_s_'.$i]; 38 | $qty = $_REQUEST['bill_q_'.$i]; 39 | 40 | // This query fetch the product id on the basis of cat and type 41 | 42 | $sql = "SELECT pro_id, pro_price, pro_qty FROM product p INNER JOIN category c ON cat_id=pro_grpid INNER JOIN type t ON pro_typeid=ty_id WHERE pro_firmid = $firm AND pro_grpid = $cat AND pro_typeid = $size"; 43 | $pro_id = $conn->query($sql); 44 | 45 | foreach ($pro_id as $key => $value) { 46 | $pid = $value['pro_id']; //final product id 47 | $price = $value['pro_price']; //product price 48 | $sqty = $value['pro_qty']; //product quantity in stock 49 | // Add the stock when bill type is 1 and Remove the stock when bill type is 2 50 | 51 | if ($type == 1) { 52 | $remain = $qty + $sqty; 53 | } 54 | else{ 55 | $remain = $sqty - $qty; 56 | } 57 | 58 | 59 | $update_stock = "UPDATE product SET pro_qty = $remain WHERE pro_id = $pid"; 60 | $conn->query($update_stock); 61 | 62 | 63 | // query to insert all product of this perticular bill 64 | 65 | $produts = "INSERT INTO bill_products (bp_uid, bp_pid, bp_qty, bp_price) VALUES ('$uid', $pid, $qty, $price)"; 66 | $conn->query($produts); 67 | 68 | } 69 | } 70 | 71 | $query = "SELECT * FROM `bill_records` WHERE `bill_uid` = '$uid'"; 72 | $rec = $conn->query($query); 73 | $pro = "SELECT f.firm_name,c.cat_name,t.ty_name,bp.bp_qty,bp.bp_price,p.pro_price FROM `bill_products` bp INNER JOIN product p ON p.pro_id = bp.bp_pid INNER JOIN category c ON c.cat_id=p.pro_grpid INNER JOIN type t ON t.ty_id=p.pro_typeid INNER JOIN firm f ON f.firm_id= p.pro_firmid WHERE bp.bp_uid = '$uid'"; 74 | $detail = $conn->query($pro); 75 | ?> 76 | 77 | $value) { 80 | // echo $value['bill_id']; die; 81 | } 82 | 83 | ?> 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 |
93 |

ESTIMATE

95 |
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | $row) { $s++; ?> 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 |
 Bill No. :   M/S :  Date : 
 
S. No.
FIRM
DESCRIPTION
SIZE
QUANTITY
RATE
AMOUNT
  
 Rupees In Words :  Total : 
 GSTIN :   Transport Charge :  Transport no : 
-------------------------------------------------------------------------------- /stock_details.php: -------------------------------------------------------------------------------- 1 | query($sql); 11 | 12 | $x = ""; 13 | 14 | ?> 15 | 16 |
17 |
18 |
19 |
20 | PER DAY SALE 21 |
22 |
23 | 24 |
25 |
26 |
27 |
28 | 29 | 30 | 31 | 72 | 73 | -------------------------------------------------------------------------------- /ty.php: -------------------------------------------------------------------------------- 1 | query($sql); 6 | $data1 = $conn->query($sql); 7 | $ty_data = "SELECT * FROM type t inner join category c on t.ty_grp = c.cat_id order by ty_name ASC"; 8 | $ty_data = $conn->query($ty_data); 9 | $conn=null; 10 | 11 | ?> 12 | 13 | 44 | 45 |
46 |
47 |
48 |
MEASUREMENT DETAILS 49 |
50 |
51 |
52 |
53 | 54 | 55 |
56 |
57 | 58 | 64 |
65 |
66 |
67 |
68 | 69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
MEASUREMENT TABLE 77 |
78 |
79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 |
S. no.
Measurement Name
Category
Category Description
103 |
104 |
105 |
106 |
107 |
108 | 109 | 110 | 126 | 143 | -------------------------------------------------------------------------------- /ty_add.php: -------------------------------------------------------------------------------- 1 | query($sql); 12 | $conn=null; 13 | 14 | echo "Measurement Added."; 15 | 16 | $conn = connection(); 17 | $sql = "SELECT * FROM type t inner join category c on t.ty_grp = c.cat_id order by ty_name ASC"; 18 | $data = $conn->query($sql); 19 | 20 | $ty_data = "SELECT * FROM type t inner join category c on t.ty_grp = c.cat_id order by ty_name ASC"; 21 | $ty_data = $conn->query($ty_data); 22 | $conn=null; 23 | 24 | 25 | ?> 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
S. no.
Measurement Name
Category
Category Description
-------------------------------------------------------------------------------- /view_bill.php: -------------------------------------------------------------------------------- 1 | 2 | query($bill_info); 10 | foreach ($inf as $row) { 11 | $uid = $row['bill_uid']; 12 | 13 | } 14 | $pro = "SELECT f.firm_name,c.cat_name,t.ty_name,bp.bp_qty,bp.bp_price,p.pro_price FROM `bill_products` bp INNER JOIN product p ON p.pro_id = bp.bp_pid INNER JOIN category c ON c.cat_id=p.pro_grpid INNER JOIN type t ON t.ty_id=p.pro_typeid INNER JOIN firm f ON f.firm_id= p.pro_firmid WHERE bp.bp_uid = '$uid'"; 15 | $detail = $conn->query($pro); 16 | 17 | ?> 18 | 19 | 20 | 21 | 24 | 25 | 26 | 29 | 32 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | $value) { $s++; ?> 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 |

22 |

VSK Industry

23 |
27 |  Bill No. :  28 | 30 |  M/S :  31 | 33 |  Date :  34 |
S. No.
FIRM
DESCRIPTION
SIZE
QUANTITY
RATE
AMOUNT
  
Rupees In Words : Total : 
GSTIN : Transport Charge : Transport no : 
-------------------------------------------------------------------------------- /view_custom_bill.php: -------------------------------------------------------------------------------- 1 | query($query); 10 | 11 | foreach ($rec as $key => $value) { 12 | $uid = $value['bill_uid']; 13 | } 14 | 15 | $pro = "SELECT * FROM custom_products WHERE cp_uid = '$uid'"; 16 | $detail = $conn->query($pro); 17 | ?> 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |

ESTIMATE

28 |
29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | $row) { $s++; ?> 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 |
 Bill No. :   M/S :  Date : 
 
S.no.
Name Of Product
Price
Qty Req.
Amount
 
 Rupees In Words :  Total : 
 GSTIN :   Transport Charge :  Transport no : 
-------------------------------------------------------------------------------- /view_seller_bill.php: -------------------------------------------------------------------------------- 1 | 2 | query($bill_info); 10 | foreach ($inf as $row) { 11 | $uid = $row['bill_uid']; 12 | 13 | } 14 | $pro = "SELECT f.firm_name,c.cat_name,t.ty_name,bp.bp_qty,bp.bp_price,p.pro_price FROM `seller_bill_products` bp INNER JOIN product p ON p.pro_id = bp.bp_pid INNER JOIN category c ON c.cat_id=p.pro_grpid INNER JOIN type t ON t.ty_id=p.pro_typeid INNER JOIN firm f ON f.firm_id= p.pro_firmid WHERE bp.bp_uid = '$uid'"; 15 | $detail = $conn->query($pro); 16 | 17 | ?> 18 | 19 | 20 | 21 | 24 | 25 | 26 | 29 | 32 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | $value) { $s++; ?> 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 |

22 |

VSK Industry

23 |
27 |  Bill No. :  28 | 30 |  M/S :  31 | 33 |  Date :  34 |
S. No.
FIRM
DESCRIPTION
SIZE
QUANTITY
RATE
AMOUNT
  
Rupees In Words : Total : 
GSTIN : Transport Charge : Transport no : 
--------------------------------------------------------------------------------