[แจก Code Cut Stock Product] ตัวอย่างง่ายๆ php 5.3 +++ แนวการเขียนแบบบ้านๆ
Code (PHP)
<!--SESSION For administrator -->
<?php
session_start();
ob_start();
include("include/db_connect.php");
include("include/function.php");
if((isset($_SESSION['login_true_administrator'])))
{
?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="css/textcss.css" type="text/css" rel="stylesheet" >
<link href="css/styleinput.css" type="text/css" rel="stylesheet" >
<link href="css/stylelink.css" type="text/css" rel="stylesheet">
<script language="JavaScript">
function ClickCheckAll(vol)
{
var i=1;
for(i=1;i<=document.frm.hdnCount.value;i++)
{
if(vol.checked == true)
{
eval("document.frm.Chk"+i+".checked=true");
}
else
{
eval("document.frm.Chk"+i+".checked=false");
}
}
}
function onINSERT()
{
if(confirm('Do you want to Cut Stock ?')==true)
{
return true;
}
else
{
return false;
}
}
</script>
<body>
<font face="Phetsarath ot">
<table width="80%" border="1" align="center"cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" style="BORDER-COLLAPSE: collapse">
<tr>
<td valign="top">
<?php /// table 2 in table 1?>
<form method="POST">
<table width="80%">
<tr>
<td>
<p class="Text-Comment4-1" align="center"><img src="images/img_1.jpg">From: ຕັດ Stock</p></td>
</tr>
<tr>
<td class="Text-Comment4">
<br>ຄົ້ນຫາ<img src="img/zoom_in.png" />
<input type="text" name="BillIDs" id="BillIDs" value="<?php echo $BillNoi; ?>" >
<input type="submit" name="search" value="Search" class="myButton1" />
</td>
</tr>
</table>
</form>
<?php
////update
if (isset($_POST['Updete'])) {
$BillNoi=$_POST['BillNois'];
mysql_query("UPDATE stock_d.bill_id SET StatusBill ='Y'
WHERE BillNo='$BillNoi'")
or die("show error update".mysql_error());
# code...
$CountNum = count($_POST['Names']);
$i=0;
while ( $i < $CountNum ) {
# code...
$Names=$_POST['Names'][$i];
$ProductIDs=$_POST['ProductID'][$i];
$Total=$_POST['Total'][$i];
# code...Table(stock_main)
$Cutting=mysql_query("UPDATE stock_d.stock_main SET StockMain='$Total'
WHERE ProductID='$ProductIDs' LIMIT 1");
# code...Table(bill_id)
$Cutting2=mysql_query(" UPDATE stock_d.bill_id SET StatusBill = 'Y'
WHERE BillNo = '$CodeBilli' AND BillNo='$BillNoi' LIMIT 1 ");
++$i;
}
if ($Cutting){
echo "<script> alert('Already Update!!!') </script>";
}
}
////update
////SELECT BY search
if (isset($_POST['search'])) {
$billid=$_POST['BillIDs'];
$selectBill=mysql_query("Select*from stock_d.bill_id where BillNo='$billid'");
$rowbill=mysql_fetch_assoc($selectBill);
$resultbill=$rowbill['StatusBill'];
if($resultbill=='N'){
$select="SELECT bill_out.BillNo,
bill_out.ProductID,
bill_out.Name,
bill_out.NameLao,
bill_out.QTY,
stock_main.StockMain,
bill_id.StatusBill,
bill_id.CodeBill,
bill_id.BillNo
FROM stock_d.bill_out
LEFT JOIN stock_d.stock_main ON stock_main.ProductID = bill_out.ProductID
LEFT JOIN stock_d.bill_id ON bill_id.BillNo = bill_out.BillNo
WHERE bill_out.BillNo ='$billid'";
$qry=mysql_query($select) or die ("show Error selected ::".mysql_error());
////SELECT BY search
echo '<form method="post" action="#" onsubmit="return onINSERT();">
<table width="80%" border="1" align="center"cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" style="BORDER-COLLAPSE: collapse">
<tr align="center">
<tr>
<td colspan="8" align="center"><strong> Form :: Cut Stock Follow BillNo</strong></td>
</tr>
<tr align="center">
<td width="10%" class="Text-Comment4">BillNo</td>
<td width="10%" class="Text-Comment4">ProID</td>
<td width="10%" class="Text-Comment4">Name</td>
<td width="10%" class="Text-Comment4">Namelao </td>
<td width="10%" class="Text-Comment4">Amount </td>
<td width="10%" class="Text-Comment4">Total </td>
<td width="10%" class="Text-Comment4">CodeBill</td>
<td width="10%" class="Text-Comment4">StatusBill</td>
</tr>';
$s=0;
while ($row=mysql_fetch_array($qry)) {
$result=$row['StockMain']-$row['QTY'];
$CodeBill=$row['CodeBill'];
$Status=$row['StatusBill'];
?>
<tr onMouseOver="javascript:this.bgColor='#F5F514'" onMouseOut="javascript:this.bgColor=''">
<?php
echo "<td><input type='text' name='BillNo[$s]' value=' ".$row['BillNo']."' > </td>
<td><input type='text' name='ProductID[$s]' value=' ".$row['ProductID']."' > </td>
<td><input type='text' name='Names[$s]' value=' ".$row['Name']."' > </td>
<td><input type='text' name='NameLao[$s]' value=' ".$row['NameLao']."' > </td>
<td><input type='text' name='QTY[$s]' value=' ".$row['QTY']."' > </td>
<td><input type='text' name='Total[$s]' value=' ".$result."' > </td>
<td><input type='text' name='CodeBill[$s]' value=' ".$CodeBill."'</td>
<td><input type='text' name='StatusBill[$s]' value=' ".$Status."'</td>
</tr>";
++$s;
}
}
echo '</table><br>
<input type="hidden" name="BillNois" value="'.$billid.'">
<input type="submit" name="Updete" value="ຕັດສະຕ໊ອກ" align="center" class="myButton1">
</form>';
}
else{
echo "this data check already or not found!!!";
}
?>
<?php //// table 2 end ?>
<br />
<br />
<br />
<br />
<br />
<br />
<br /><br />
<br />
<br />
<br />
<br />
</td>
</tr>
<tr>
<td valign="middle"></td>
<table width="80%" align="center" border="0" cellspacing="0" cellpadding="0" height="100">
<tr>
<td background="img/foot-01.png"><div class="footer">
<p align="center">
<p align="center">
<a href="index.php">Main</a>
<a href="Guideline How to Use/How to use.pdf" target="new">How to use</a>
<a href="my_web.php"> About my website</a>
<a href="frminsert_register.php">Register ສະໝັກລະບົບເຂົ້າໃຊ້ງານ</a>
<a href="login.php">Login</a>
</p>
<p align="center">© Copyright 2017.Bouasvanh XAYAKHOME. All Rights Reserved</p>
<p align="center"> Credit @Artei BLb
</div></td></td>
</tr>
</table></td>
</tr>
</table>
</body>
<!--close SESSION For administrator -->
<?php }?>
</form>
<?php
ob_end_flush();
mysql_close($d1,$db1,$c1);
mysql_close($d2,$db2,$c1);
exit();
?>
Tag : PHP, MySQL, HTML, CSS, Appserv, XAMPP
Date :
2017-08-22 10:25:11
By :
Bouasavanh HararRock
View :
3114
Reply :
13
Code (SQL)
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- โฮสต์: localhost
-- เวลาในการสร้าง:
-- รุ่นของเซิร์ฟเวอร์: 5.1.37
-- รุ่นของ PHP: 5.3.0
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- ฐานข้อมูล: `stock_d`
--
-- --------------------------------------------------------
--
-- โครงสร้างตาราง `bill_id`
--
CREATE TABLE IF NOT EXISTS `bill_id` (
`CodeBill` int(10) NOT NULL AUTO_INCREMENT,
`BillNo` varchar(40) COLLATE utf8_unicode_ci NOT NULL,
`Date` date NOT NULL,
`AdminID` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`DeptID` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`DivisionID` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`Sno` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`StatusBill` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'N',
PRIMARY KEY (`CodeBill`,`BillNo`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=23 ;
--
-- dump ตาราง `bill_id`
--
INSERT INTO `bill_id` (`CodeBill`, `BillNo`, `Date`, `AdminID`, `DeptID`, `DivisionID`, `Sno`, `StatusBill`) VALUES
(1, 'HR(IT)-01', '2017-07-01', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'Y'),
(2, 'HR(IT)-02', '2017-07-05', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'Y'),
(3, 'HR(IT)-03', '2017-07-06', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'Y'),
(4, 'HR(IT)-04', '2017-07-07', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'Y'),
(5, 'HR(IT)-05', '2017-07-08', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'Y'),
(8, 'HR(IT)-06', '2017-07-04', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'N'),
(9, 'HRA (Driver)-01', '2017-07-05', 'K1703827', 'Office', 'HR', 'HRA (Driver)', 'Y'),
(10, 'HRA (Driver)-02', '2017-07-06', 'K1703827', 'Office', 'HR', 'HRA (Driver)', 'Y'),
(11, 'AC-01', '2017-07-01', 'K1703828', 'KOLAO CARE', 'CVD', 'All Control', 'Y'),
(12, 'AC-02', '2017-07-06', 'K1703828', 'KOLAO CARE', 'CVD', 'All Control', 'Y'),
(13, 'AC-03', '2017-07-07', 'K1703828', 'KOLAO CARE', 'CVD', 'All Control', 'Y'),
(14, 'Admin-01', '2017-07-10', 'K1703825', 'Office', 'HR', 'HRA (Admin)', 'Y'),
(15, '1234', '2017-07-10', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'N'),
(16, '1', '2017-07-31', 'K1234', 'LMD', 'TRIALER DRIVER', 'KIA-HD CHECKING', 'Y'),
(17, '14', '2017-08-01', 'K14152001', 'Office', 'HR', 'HRD (IT)', 'Y'),
(18, '10', '2017-08-01', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'Y'),
(19, 'DT-01', '2017-08-04', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'Y'),
(20, '01', '2017-08-10', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'Y'),
(21, '0101', '2017-08-04', 'K1703826', 'Office', 'HR', 'HRD (IT)', 'N'),
(22, 'd', '2017-08-11', 'K1703825', 'Office', 'HR', 'HRA (Admin)', 'N');
Date :
2017-08-22 10:26:58
By :
Bouasavanh HararRock
Code (SQL)
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- โฮสต์: localhost
-- เวลาในการสร้าง:
-- รุ่นของเซิร์ฟเวอร์: 5.1.37
-- รุ่นของ PHP: 5.3.0
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- ฐานข้อมูล: `stock_d`
--
-- --------------------------------------------------------
--
-- โครงสร้างตาราง `stock_main`
--
CREATE TABLE IF NOT EXISTS `stock_main` (
`StockMainID` int(10) NOT NULL AUTO_INCREMENT,
`ProductID` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
`Name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`NameLao` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`TypeID` int(10) NOT NULL,
`Price` float NOT NULL,
`CurrencyID` int(10) NOT NULL,
`StockMain` int(255) DEFAULT NULL,
`KindID` int(10) NOT NULL,
`DateStockMain` date DEFAULT NULL,
`administrator_id` int(10) NOT NULL,
PRIMARY KEY (`StockMainID`),
UNIQUE KEY `StockMainID` (`StockMainID`),
UNIQUE KEY `ProductID` (`ProductID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=136 ;
--
-- dump ตาราง `stock_main`
--
INSERT INTO `stock_main` (`StockMainID`, `ProductID`, `Name`, `NameLao`, `TypeID`, `Price`, `CurrencyID`, `StockMain`, `KindID`, `DateStockMain`, `administrator_id`) VALUES
(1, 'BE-00001', 'COFFEE', 'ກາເຟ', 3, 1000, 2, 885, 13, '2017-05-12', 1),
(2, 'BE-00002', 'SUGAR', 'ນ້ຳຕານ', 3, 5000, 3, 979, 10, '2017-06-30', 1),
(3, 'CE-00001', 'BRUSH FOR TOILET', 'ແປງຖູຊັກໂຄກ', 2, 5000, 3, 1022, 7, '2017-06-30', 1),
(4, 'CE-00006', 'NAPKIN SMALL', 'ຜ້າເຊັດມື', 2, 5000, 1, 14, 1, '2017-05-12', 1),
(5, 'CE-00008', 'GLASS CLEANER', 'ນ້ຳຢາເຊັດແວ່ນ', 2, 5000, 3, 36, 7, '2017-05-12', 1),
(6, 'CE-00009', 'FLOOR CLEANER', 'ນ້ຳຢາຖູພື້ນ', 2, 5000, 1, 44, 1, '2017-05-12', 1),
(7, 'CE-00010', 'SUNLIGHT BIG', 'ຊັນໄລ', 2, 5000, 1, 29, 1, '2017-05-12', 1),
(8, 'CE-00011', 'DUCK PRO', 'ນ້ຳຢາເປັດ', 2, 5000, 1, 31, 1, '2017-05-12', 1),
(9, 'CE-00012', 'GASBAGE', 'ແນວຊ້ວນຂີ້ເຍື້ອ', 2, 5000, 1, 35, 1, '2017-05-12', 1),
(10, 'CE-00014', 'GLOVE', 'ຖົງມືຜ້າ', 2, 5000, 1, 50, 1, '2017-05-12', 1),
(11, 'CE-00016', 'PLASTIC LINE', 'ເຊືອກຟາງ', 2, 5000, 1, 44, 1, '2017-05-12', 1),
(12, 'CE-00017', 'TOILET PERFURM', 'ກ້ອນດັບກິ່ນ', 2, 5000, 1, 87, 1, '2017-05-12', 1),
(13, 'CE-00019', 'PLASTIC BAG/15X30', 'ຖົງຢາງ 15X30', 2, 5000, 1, 82, 4, '2017-05-12', 1),
(14, 'CE-00022', 'PLASTIC BAG/22X40', 'ຖົງຢ່າງ', 2, 5000, 1, 79, 1, '2017-05-12', 1),
(15, 'CE-00024', 'PLASTIC BAG/9X18', 'ຖົງຢາງ', 2, 5000, 1, 58, 1, '2017-05-12', 1),
(16, 'CE-00026', 'SOAP', 'ສະບູ', 2, 5000, 1, 73, 1, '2017-05-12', 1),
(17, 'CE-00027', 'LAO POWDER SOAP SMALL', 'ແຟບ', 2, 5000, 1, 60, 1, '2017-05-12', 1),
(18, 'CE-00028', 'TISSUE SMALL', 'ຊິດຊູ້ນ້ອຍ', 2, 5000, 1, 82, 1, '2017-05-12', 1),
(19, 'CE-00029', 'ELECTIC PLUG', 'ປັກໄຟ', 2, 5000, 1, 50, 1, '2017-05-12', 1),
(20, 'CE-00030', 'TISSUE ROLL BIG', 'ຊິດຊູ້ໃຫຍ່', 2, 5000, 1, 82, 1, '2017-05-12', 1),
(21, 'CE-00033', 'BRUSH FOR TOILET LONG', 'ແປງຖູຫ້ອງນ້ຳ', 2, 5000, 1, 77, 1, '2017-05-12', 1),
(22, 'CE-00035', 'FLOOR CLOTH NO:24', 'ຜ້າຖູພື້ນເບີ24', 2, 5000, 1, 74, 1, '2017-05-12', 1),
(23, 'CE-00041', 'MOP NO:24', 'ໄມ້ຖູພື້ນເບີ24', 2, 5000, 1, 82, 1, '2017-05-12', 1),
(24, 'CE-00045', 'PLASTIC GLOVE', 'ຖົງມືຢາງ', 2, 5000, 1, 85, 1, '2017-05-12', 1),
(25, 'CE-00046', 'SPRAY/AIR', 'ສະເປດັບກິ່ນ', 2, 5000, 1, 88, 1, '2017-05-12', 1),
(26, 'CE-00050', 'MASK', 'ຜ້າອັດດັງ', 2, 5000, 1, 83, 1, '2017-05-12', 1),
(27, 'CE-00055', 'SCOTH FOR DISH', 'ສະກ໋ອດລ້າງຖ້ວຍ', 2, 5000, 1, 86, 1, '2017-05-12', 1),
(28, 'CE-00056', 'HAND SOAP', 'ນ້ຳຢາລ້າງມື', 2, 5000, 1, 90, 1, '2017-05-12', 1),
(29, 'CE-00057', 'SHAMPOO', 'ນ້ຳຢາລ້າງລົດ', 2, 5000, 1, 69, 1, '2017-05-12', 1),
(30, 'CE-00058', 'PLASTIC BAG 6X10', 'ຖົງຢາງ 6X10', 2, 5000, 1, 62, 1, '2017-05-12', 1),
(31, 'CE-00063', 'CAR CLOTH (WATER)', 'ຜ້າເຊັດລົດແບບຊັບນ້ຳ', 2, 5000, 1, 78, 1, '2017-05-12', 1),
(32, 'CE-00065', 'BROOM', 'ຟອຍອ່ອນ', 2, 5000, 1, 93, 1, '2017-05-12', 1),
(33, 'CE-00066', 'BROOM', 'ຟອຍກ້ານຕານ', 2, 5000, 1, 87, 1, '2017-05-12', 1),
(34, 'CE-00068', 'TISSUE BOX', 'ຊິດຊູ້ກ່ອງ', 2, 5000, 1, 78, 1, '2017-05-12', 1),
(35, 'IT-00019', 'INK/HP 12A', 'ນ້ຳມືກປິ່ນເຕີ', 6, 5000, 1, 37, 1, '2017-05-12', 1),
(36, 'IT-00034', 'INK/HP 35A', 'ນ້ຳມືກປິ່ນເຕີ', 6, 5000, 1, 76, 1, '2017-05-12', 1),
(37, 'IT-00038', 'MOUSE', 'ເມົ້າ', 6, 5000, 1, 125, 1, '2017-05-12', 1),
(38, 'IT-00039', 'KEYBOARD', 'ຄີບອດ', 6, 5000, 1, 111, 1, '2017-05-12', 1),
(39, 'IT-00040', 'USB 4GB', NULL, 6, 5000, 1, 75, 1, '2017-05-12', 1),
(40, 'IT-00041', 'LAO STICKER FOR KEYBOARD', 'ແຜ່ນຕິດຄີບອດ', 6, 5000, 1, 85, 1, '2017-05-12', 1),
(41, 'IT-00042', 'MOUSE PAD.2', 'ແຜ່ນຮອງເມົ້າ', 6, 5000, 1, 80, 1, '2017-05-12', 1),
(42, 'IT-00045', 'INK/HP 85A', 'ນ້ຳມືກປິ່ນເຕີ', 6, 5000, 1, 84, 1, '2017-05-12', 1),
(43, 'IT-00046', 'INK/811', 'ນ້ຳມຶກປີນເຕີ້', 6, 5000, 1, 88, 1, '2017-05-12', 1),
(44, 'IT-00047', 'INK/810', 'ນ້ຳມຶກປີນເຕີ້', 6, 5000, 1, 92, 1, '2017-05-12', 1),
(45, 'IT-00051', 'CANON ( RED )', 'ນ້ຳມືກປີນເຕີສີແດງ', 6, 5000, 1, 91, 1, '2017-05-12', 1),
(46, 'IT-00052', 'CANON ( BLACK )', 'ນ້ຳມືກປີ້ນເຕີສີດຳ', 6, 5000, 1, 86, 1, '2017-05-12', 1),
(47, 'IT-00053', 'CANON ( YELLOW )', 'ນ້ຳມືກປີ້ນເຕີສີເຫຼືອງ', 6, 5000, 1, 84, 1, '2017-05-12', 1),
(48, 'IT-00054', 'CANON ( BLUE )', 'ນ້ຳມືກປີ້ນເຕີສີຟ້າ', 6, 5000, 1, 87, 1, '2017-05-12', 1),
(49, 'OS-00001', 'BATTERY/AAA', 'ຖ່ານສາມເອ', 1, 5000, 1, 87, 1, '2017-05-12', 1),
(50, 'OS-00002', 'BATTERY/AA', 'ຖ່ານສອງເອ', 1, 5000, 1, 112, 1, '2017-05-12', 1),
(51, 'OS-00003', 'BOOK/BIG', 'ປື້ມປົງແຂງໃຫຍ່', 1, 5000, 1, 147, 1, '2017-05-12', 1),
(52, 'OS-00004', 'BOOK/SMALL', 'ປື້ມປົງແຂງນ້ອຍ', 1, 5000, 1, 111, 1, '2017-05-12', 1),
(53, 'OS-00005', 'ACCOUNTING BOOK', 'ປື້ມບັນຊີ', 1, 5000, 1, 80, 1, '2017-05-12', 1),
(54, 'OS-00009', 'PAPER CLIP/SMALL', 'ເຫລັກຂັດຂາວນ້ອຍ', 1, 5000, 1, 79, 1, '2017-05-12', 1),
(55, 'OS-00011', 'BLACK CLIP MIDDLE/NO:109', 'ກິບດຳເບ109', 1, 5000, 1, 114, 1, '2017-05-12', 1),
(56, 'OS-00012', 'BLACK CLIP MIDDLE/NO:108', 'ກິບດຳເບີ108', 1, 5000, 1, 98, 1, '2017-05-12', 1),
(57, 'OS-00013', 'BLACK CLIP MIDDLE/NO112', 'ກິບດຳເບີ112', 1, 5000, 1, 96, 1, '2017-05-12', 1),
(58, 'OS-00014', 'BLACK MIDDLE/NO: 101', 'ກິບດຳເບີ110', 1, 5000, 1, 115, 1, '2017-05-12', 1),
(59, 'OS-00016', 'POST IT BIG/NO:03', 'ໂນດເຫລືອງນ້ອຍ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(60, 'OS-00017', 'COLOR POST IT SMALL/PLASTIC', 'ໂນ້ດສີຢາງ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(61, 'OS-00019', 'CUTTER'' PLASTIC''', 'ຄັດເຕີຢາງ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(62, 'OS-00021', 'KNIFE CUTTER 1BOX=10', 'ໃບມີດຄັດເຕີ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(63, 'OS-00022', 'PLASTIC A4 USE FOR MAKER', NULL, 1, 5000, 1, 100, 1, '2017-05-12', 1),
(64, 'OS-00025', 'YELLOW ENVELOPE/F14', 'ຊອງເຫລືອງເອບສິບສີ່', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(65, 'OS-00026', 'YELLOW ENVELOPE/A4', 'ຊອງເຫລືອງເອສີ່', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(66, 'OS-00028', 'WHITE ENVELOPE/LONG', 'ຊອງຂາວຍາວ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(67, 'OS-00032', 'FILE 404', 'ແຟ້ມ 404', 1, 5000, 1, 180, 1, '2017-05-12', 1),
(68, 'OS-00034', 'FILE 335', 'ແຟ້ມ 335', 1, 5000, 1, 140, 1, '2017-05-12', 1),
(69, 'OS-00037', 'GLUE ( ELEPLANT )', 'ກາວກາຊ້າງ', 1, 5000, 1, 107, 1, '2017-05-12', 1),
(70, 'OS-00038', 'GLUE TWO SIDE TAPE', 'ກາວສອງໜ້າ', 1, 5000, 1, 94, 1, '2017-05-12', 1),
(71, 'OS-00039', 'GLUE ROLL SMALL', 'ກາວຫລອດ', 1, 5000, 1, 92, 1, '2017-05-12', 1),
(72, 'OS-00040', 'MAKER FOR WRITE BOARD(RED)', 'ມາກເກີຂຽນກະດານ', 1, 5000, 1, 104, 1, '2017-05-12', 1),
(73, 'OS-00041', 'LIQUID PAPER', 'ນ້ຳລຶບ', 1, 5000, 1, 95, 1, '2017-05-12', 1),
(74, 'OS-00047', 'MARKER FOR WHITE BOARD/BLACK', 'ມາກເກີຂຽນກະດານ', 1, 5000, 1, 176, 1, '2017-05-12', 1),
(75, 'OS-00048', 'MARKER FOR WRITE BOARD/BLUE', 'ມາກເກີຂຽນກະດານ', 1, 5000, 1, 122, 1, '2017-05-12', 1),
(76, 'OS-00049', 'MARKER FOR BOX/BLUE', 'ມາກເກີຂຽນແກດ', 1, 5000, 1, 91, 1, '2017-05-12', 1),
(77, 'OS-00050', 'MARKER FOR BOX/RED', 'ມາກເກີຂຽນແກດ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(78, 'OS-00061', 'INK FOR STAMP/RED', 'ນ້ຳມືກໃສ່ແຜ່ນຈຳ', 1, 5000, 1, 115, 1, '2017-05-12', 1),
(79, 'OS-00062', 'PASTIC FOR SIGE', 'ແປ້ນເຊັນ', 1, 5000, 1, 150, 1, '2017-05-12', 1),
(80, 'OS-00063', 'PENCIL', 'ສໍ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(81, 'OS-00065', 'PEN/BLUE', 'ບິກຂຽນ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(82, 'OS-00068', 'HILIGHT', 'ໄຮໄລ້', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(83, 'OS-00078', 'RULER', 'ໄມ້ບັນທັດ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(84, 'OS-00080', 'STAPLER/NO:10', 'ກະລະເຟີ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(85, 'OS-00082', 'SCISSORS', 'ມີດຕັດ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(86, 'OS-00088', 'TAPE 3M', 'ສະກ໋ອດສາມເອັມ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(87, 'OS-00089', 'TAPE LIGHT/BIG', 'ສະກ໋ອດໃສໃຫຍ່', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(88, 'OS-00090', 'TAPE LIGHT/SMALL', 'ສະກອດໃສນ້ອຍ', 1, 5000, 1, 110, 1, '2017-05-12', 1),
(89, 'OS-00091', 'TAPE FOR FLOOR', 'ສະກ໋ອດຕິດປື້ມ', 1, 5000, 1, 130, 1, '2017-05-12', 1),
(90, 'OS-00092', 'TAPE FOR BOX', 'ສະກ໋ອດຕິດແກດ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(91, 'OS-00095', 'PUNCTURE BIG', 'ແນວເຈາະເຈ້ຍ', 1, 5000, 1, 95, 1, '2017-05-12', 1),
(92, 'OS-00096', 'PAPER A4', 'ເຈ້ຍເອສີ່', 1, 5000, 1, 91, 1, '2017-05-12', 1),
(93, 'OS-00101', 'TWO SIDE TAPE SLIN', 'ກາວສອງໜ້າບາງ', 1, 5000, 1, 95, 1, '2017-05-12', 1),
(94, 'OS-00102', 'PEN FOR TABLE', 'ບິກຕັ້ງໂຕະ', 1, 5000, 1, 105, 1, '2017-05-12', 1),
(95, 'OS-00108', 'COLOR PAPER A4/WHITE', 'ເຈັ້ຍສີເອສີ່', 1, 5000, 1, 145, 1, '2017-05-12', 1),
(96, 'OS-00112', 'COLOR PAPER A4/PINK', 'ເຈ້ຍສີເອສີ່', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(97, 'OS-00116', 'PAPER FILE', 'ແຟ້ມເຈ້ຍ', 1, 5000, 1, 140, 1, '2017-05-12', 1),
(98, 'OS-00119', 'BASKET FOR DOCUMENT 3 FLOOR', 'ກະຕ່າ 3 ຊັ້ນ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(99, 'OS-00121', 'CULCULATOR', 'ຈັກຄິດໄລ່ເລກ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(100, 'OS-00122', 'MAK NO:03', 'ລູກກະລະເຟີເບີ:03', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(101, 'OS-00123', 'MAX NO: 10', 'ລູກກະລະເຟີ', 1, 5000, 1, 96, 1, '2017-05-12', 1),
(102, 'OS-00127', 'PAPER TAPE', 'ສະກ໋ອດເຈ້ຍ', 1, 5000, 1, 126, 1, '2017-05-12', 1),
(103, 'OS-00129', 'LAMINATING POUCH FLIM', 'ແຜ່ນຢາງລີດແຂງ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(104, 'OS-00136', 'PAPER HIPLUS', 'ເຈ້ຍໄຮພຮາດ', 1, 5000, 1, 100, 1, '2017-05-12', 1),
(105, 'OS-00137', 'LAMINATING POUCH FLIM A3', 'ແຜ່ນຢ່າງລິດແຂງ A3', 1, 5000, 1, 130, 1, '2017-05-12', 1),
(106, 'OS-00138', 'SHEET PROTECTOR A4', 'ຊອງຖະໜອມເອກະສານ', 1, 5000, 1, 83, 1, '2017-05-12', 1),
(107, 'OS-00139', 'HORSE', 'ແຟ້ມຫ້ອຍ', 1, 5000, 1, 83, 1, '2017-05-12', 1),
(108, 'OS-00140', 'PAPERTAPE/BIG', 'ສະກ໋ອດເຈ້ຍໃຫຍ່', 1, 5000, 1, 170, 1, '2017-05-12', 1),
(109, 'OS-00142', 'PAPER TAPE', 'ສະກອ໋ດລີດເລກຈັກເລກຖັງ', 1, 5000, 1, 80, 13, '2017-07-10', 1);
-------------------- Code SQL stock_main
Date :
2017-08-22 10:29:15
By :
Bouasavanh HararRock
Code (SQL)
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- โฮสต์: localhost
-- เวลาในการสร้าง:
-- รุ่นของเซิร์ฟเวอร์: 5.1.37
-- รุ่นของ PHP: 5.3.0
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- ฐานข้อมูล: `stock_d`
--
-- --------------------------------------------------------
--
-- โครงสร้างตาราง `bill_out`
--
CREATE TABLE IF NOT EXISTS `bill_out` (
`CodeOut` int(10) NOT NULL AUTO_INCREMENT,
`BillNo` varchar(40) COLLATE utf8_unicode_ci NOT NULL,
`ProductID` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
`Name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`NameLao` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`QTY` int(255) NOT NULL,
`Price` float NOT NULL,
`Result` float NOT NULL,
`TypeID` int(10) NOT NULL,
`CurrencyID` int(10) NOT NULL,
`KindID` int(10) NOT NULL,
`Remark` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`BillNo`,`ProductID`),
UNIQUE KEY `CodeOut` (`CodeOut`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=145 ;
--
-- dump ตาราง `bill_out`
--
INSERT INTO `bill_out` (`CodeOut`, `BillNo`, `ProductID`, `Name`, `NameLao`, `QTY`, `Price`, `Result`, `TypeID`, `CurrencyID`, `KindID`, `Remark`) VALUES
(1, 'HR(IT)-01', 'BE-00001', 'COFFEE', 'ກາເຟ', 100, 1000, 100000, 3, 1, 12, ''),
(2, 'HR(IT)-01', 'BE-00002', 'SUGAR', 'ນ້ຳຕານ', 10, 5000, 50000, 3, 1, 12, ''),
(3, 'HR(IT)-01', 'CE-00008', 'GLASS CLEANER', 'ນ້ຳຢາເຊັດແວ່ນ', 12, 5000, 60000, 2, 1, 1, ''),
(4, 'HR(IT)-01', 'CE-00009', 'FLOOR CLEANER', 'ນ້ຳຢາຖູພື້ນ', 5, 5000, 25000, 2, 1, 1, ''),
(5, 'HR(IT)-01', 'CE-00010', 'SUNLIGHT BIG', 'ຊັນໄລ', 4, 5000, 20000, 2, 1, 1, ''),
(6, 'HR(IT)-02', 'CE-00057', 'SHAMPOO', 'ນ້ຳຢາລ້າງລົດ', 12, 5000, 60000, 2, 1, 1, ''),
(7, 'HR(IT)-02', 'CE-00058', 'PLASTIC BAG 6X10', 'ຖົງຢາງ 6X10', 12, 5000, 60000, 2, 1, 1, ''),
(8, 'HR(IT)-02', 'CE-00068', 'TISSUE BOX', 'ຊິດຊູ້ກ່ອງ', 1, 5000, 5000, 2, 1, 1, ''),
(9, 'HR(IT)-02', 'IT-00019', 'INK/HP 12A', 'ນ້ຳມືກປິ່ນເຕີ', 2, 5000, 10000, 6, 1, 1, ''),
(10, 'HR(IT)-02', 'IT-00034', 'INK/HP 35A', 'ນ້ຳມືກປິ່ນເຕີ', 3, 5000, 15000, 6, 1, 1, ''),
(11, 'HR(IT)-03', 'CE-00009', 'FLOOR CLEANER', 'ນ້ຳຢາຖູພື້ນ', 4, 5000, 20000, 2, 1, 1, ''),
(12, 'HR(IT)-03', 'CE-00010', 'SUNLIGHT BIG', 'ຊັນໄລ', 4, 5000, 20000, 2, 1, 1, ''),
(13, 'HR(IT)-03', 'CE-00011', 'DUCK PRO', 'ນ້ຳຢາເປັດ', 2, 5000, 10000, 2, 1, 1, ''),
(14, 'HR(IT)-03', 'CE-00012', 'GASBAGE', 'ແນວຊ້ວນຂີ້ເຍື້ອ', 2, 5000, 10000, 2, 1, 1, ''),
(15, 'HR(IT)-03', 'CE-00016', 'PLASTIC LINE', 'ເຊືອກຟາງ', 5, 5000, 25000, 2, 1, 1, ''),
(16, 'HR(IT)-04', 'CE-00058', 'PLASTIC BAG 6X10', 'ຖົງຢາງ 6X10', 4, 5000, 20000, 2, 1, 1, ''),
(17, 'HR(IT)-04', 'CE-00066', 'BROOM', 'ຟອຍກ້ານຕານ', 2, 5000, 10000, 2, 1, 1, ''),
(18, 'HR(IT)-04', 'IT-00040', 'USB 4GB', '', 4, 5000, 20000, 6, 1, 1, ''),
(19, 'HR(IT)-04', 'IT-00047', 'INK/810', 'ນ້ຳມຶກປີນເຕີ້', 2, 5000, 10000, 6, 1, 1, ''),
(20, 'HR(IT)-05', 'CE-00010', 'SUNLIGHT BIG', 'ຊັນໄລ', 12, 5000, 60000, 2, 1, 1, ''),
(21, 'HR(IT)-05', 'CE-00011', 'DUCK PRO', 'ນ້ຳຢາເປັດ', 2, 5000, 10000, 2, 1, 1, ''),
(22, 'HR(IT)-05', 'CE-00012', 'GASBAGE', 'ແນວຊ້ວນຂີ້ເຍື້ອ', 2, 5000, 10000, 2, 1, 1, ''),
(23, 'HR(IT)-05', 'CE-00014', 'GLOVE', 'ຖົງມືຜ້າ', 2, 5000, 10000, 2, 1, 1, ''),
(24, 'HR(IT)-05', 'CE-00016', 'PLASTIC LINE', 'ເຊືອກຟາງ', 2, 5000, 10000, 2, 1, 1, ''),
(25, 'HR(IT)-05', 'CE-00019', 'PLASTIC BAG/15X30', 'ຖົງຢາງ 15X30', 2, 5000, 10000, 2, 1, 4, ''),
(36, 'HR(IT)-06', 'CE-00024', 'PLASTIC BAG/9X18', 'ຖົງຢາງ', 2, 5000, 10000, 2, 1, 1, ''),
(37, 'HR(IT)-06', 'CE-00026', 'SOAP', 'ສະບູ', 12, 5000, 60000, 2, 1, 1, ''),
(38, 'HR(IT)-06', 'CE-00027', 'LAO POWDER SOAP SMALL', 'ແຟບ', 2, 5000, 10000, 2, 1, 1, ''),
(39, 'HRA (Driver)-01', 'BE-00002', 'SUGAR', 'ນ້ຳຕານ', 6, 5000, 30000, 3, 3, 10, ''),
(40, 'HRA (Driver)-01', 'CE-00008', 'GLASS CLEANER', 'ນ້ຳຢາເຊັດແວ່ນ', 4, 5000, 20000, 2, 3, 7, ''),
(41, 'HRA (Driver)-01', 'CE-00011', 'DUCK PRO', 'ນ້ຳຢາເປັດ', 8, 5000, 40000, 2, 1, 1, ''),
(42, 'HRA (Driver)-01', 'CE-00019', 'PLASTIC BAG/15X30', 'ຖົງຢາງ 15X30', 10, 5000, 50000, 2, 1, 4, ''),
(43, 'HRA (Driver)-02', 'CE-00024', 'PLASTIC BAG/9X18', 'ຖົງຢາງ', 12, 5000, 60000, 2, 1, 1, ''),
(44, 'HRA (Driver)-02', 'CE-00026', 'SOAP', 'ສະບູ', 2, 5000, 10000, 2, 1, 1, ''),
(45, 'HRA (Driver)-02', 'CE-00027', 'LAO POWDER SOAP SMALL', 'ແຟບ', 4, 5000, 20000, 2, 1, 1, ''),
(46, 'AC-01', 'CE-00011', 'DUCK PRO', 'ນ້ຳຢາເປັດ', 10, 5000, 50000, 2, 1, 1, ''),
(47, 'AC-01', 'CE-00012', 'GASBAGE', 'ແນວຊ້ວນຂີ້ເຍື້ອ', 8, 5000, 40000, 2, 1, 1, ''),
(48, 'AC-01', 'CE-00014', 'GLOVE', 'ຖົງມືຜ້າ', 2, 5000, 10000, 2, 1, 1, ''),
(49, 'AC-01', 'CE-00016', 'PLASTIC LINE', 'ເຊືອກຟາງ', 4, 5000, 20000, 2, 1, 1, ''),
(50, 'AC-01', 'CE-00017', 'TOILET PERFURM', 'ກ້ອນດັບກິ່ນ', 2, 5000, 10000, 2, 1, 1, ''),
(51, 'AC-01', 'CE-00019', 'PLASTIC BAG/15X30', 'ຖົງຢາງ 15X30', 6, 5000, 30000, 2, 1, 4, ''),
(52, 'AC-02', 'CE-00029', 'ELECTIC PLUG', 'ປັກໄຟ', 12, 5000, 60000, 2, 1, 1, ''),
(53, 'AC-02', 'CE-00030', 'TISSUE ROLL BIG', 'ຊິດຊູ້ໃຫຍ່', 2, 5000, 10000, 2, 1, 1, ''),
(54, 'AC-02', 'CE-00033', 'BRUSH FOR TOILET LONG', 'ແປງຖູຫ້ອງນ້ຳ', 4, 5000, 20000, 2, 1, 1, ''),
(55, 'AC-02', 'CE-00035', 'FLOOR CLOTH NO:24', 'ຜ້າຖູພື້ນເບີ24', 8, 5000, 40000, 2, 1, 1, ''),
(56, 'AC-02', 'CE-00045', 'PLASTIC GLOVE', 'ຖົງມືຢາງ', 4, 5000, 20000, 2, 1, 1, ''),
(57, 'AC-02', 'CE-00055', 'SCOTH FOR DISH', 'ສະກ໋ອດລ້າງຖ້ວຍ', 4, 5000, 20000, 2, 1, 1, ''),
(58, 'AC-02', 'CE-00057', 'SHAMPOO', 'ນ້ຳຢາລ້າງລົດ', 2, 5000, 10000, 2, 1, 1, ''),
(59, 'AC-03', 'CE-00026', 'SOAP', 'ສະບູ', 2, 5000, 10000, 2, 1, 1, ''),
(60, 'AC-03', 'CE-00027', 'LAO POWDER SOAP SMALL', 'ແຟບ', 12, 5000, 60000, 2, 1, 1, ''),
(61, 'AC-03', 'IT-00039', 'KEYBOARD', 'ຄີບອດ', 2, 5000, 10000, 6, 1, 1, ''),
(62, 'AC-03', 'IT-00040', 'USB 4GB', '', 2, 5000, 10000, 6, 1, 1, ''),
(63, 'AC-03', 'IT-00042', 'MOUSE PAD.2', 'ແຜ່ນຮອງເມົ້າ', 2, 5000, 10000, 6, 1, 1, ''),
(64, 'Admin-01', 'BE-00001', 'COFFEE', 'ກາເຟ', 12, 1000, 12000, 3, 2, 13, ''),
(65, 'Admin-01', 'BE-00002', 'SUGAR', 'ນ້ຳຕານ', 2, 5000, 10000, 3, 3, 10, ''),
(66, 'Admin-01', 'CE-00001', 'BRUSH FOR TOILET', 'ແປງຖູຊັກໂຄກ', 3, 5000, 15000, 2, 3, 7, ''),
(67, '1234', 'CE-00011', 'DUCK PRO', 'ນ້ຳຢາເປັດ', 2, 5000, 10000, 2, 1, 1, ''),
(68, '1234', 'CE-00012', 'GASBAGE', 'ແນວຊ້ວນຂີ້ເຍື້ອ', 2, 5000, 10000, 2, 1, 1, ''),
(69, '1234', 'CE-00014', 'GLOVE', 'ຖົງມືຜ້າ', 2, 5000, 10000, 2, 1, 1, ''),
(70, '1', 'BE-00001', 'COFFEE', 'ກາເຟ', 10, 1000, 10000, 3, 2, 13, ''),
(71, '1', 'BE-00002', 'SUGAR', 'ນ້ຳຕານ', 10, 5000, 50000, 3, 3, 10, ''),
(72, '1', 'CE-00001', 'BRUSH FOR TOILET', 'ແປງຖູຊັກໂຄກ', 500, 5000, 2.5e+006, 2, 3, 7, ''),
(73, '1', 'CE-00008', 'GLASS CLEANER', 'ນ້ຳຢາເຊັດແວ່ນ', 10, 5000, 50000, 2, 3, 7, ''),
(74, '1', 'CE-00009', 'FLOOR CLEANER', 'ນ້ຳຢາຖູພື້ນ', 10, 5000, 50000, 2, 1, 1, ''),
(75, '1', 'CE-00010', 'SUNLIGHT BIG', 'ຊັນໄລ', 10, 5000, 50000, 2, 1, 1, ''),
(76, '1', 'CE-00011', 'DUCK PRO', 'ນ້ຳຢາເປັດ', 10, 5000, 50000, 2, 1, 1, ''),
(77, '1', 'CE-00012', 'GASBAGE', 'ແນວຊ້ວນຂີ້ເຍື້ອ', 10, 5000, 50000, 2, 1, 1, ''),
(78, '1', 'CE-00014', 'GLOVE', 'ຖົງມືຜ້າ', 10, 5000, 50000, 2, 1, 1, ''),
(79, '1', 'CE-00016', 'PLASTIC LINE', 'ເຊືອກຟາງ', 10, 5000, 50000, 2, 1, 1, ''),
(80, '1', 'CE-00017', 'TOILET PERFURM', 'ກ້ອນດັບກິ່ນ', 10, 5000, 50000, 2, 1, 1, ''),
(81, '1', 'CE-00019', 'PLASTIC BAG/15X30', 'ຖົງຢາງ 15X30', 10, 5000, 50000, 2, 1, 4, ''),
(82, '1', 'CE-00022', 'PLASTIC BAG/22X40', 'ຖົງຢ່າງ', 10, 5000, 50000, 2, 1, 1, ''),
(83, '1', 'CE-00024', 'PLASTIC BAG/9X18', 'ຖົງຢາງ', 10, 5000, 50000, 2, 1, 1, ''),
(84, '1', 'CE-00026', 'SOAP', 'ສະບູ', 10, 5000, 50000, 2, 1, 1, ''),
(85, '1', 'CE-00027', 'LAO POWDER SOAP SMALL', 'ແຟບ', 10, 5000, 50000, 2, 1, 1, ''),
(86, '1', 'CE-00028', 'TISSUE SMALL', 'ຊິດຊູ້ນ້ອຍ', 10, 5000, 50000, 2, 1, 1, ''),
(87, '1', 'CE-00029', 'ELECTIC PLUG', 'ປັກໄຟ', 10, 5000, 50000, 2, 1, 1, ''),
(88, '1', 'CE-00030', 'TISSUE ROLL BIG', 'ຊິດຊູ້ໃຫຍ່', 10, 5000, 50000, 2, 1, 1, ''),
(89, '1', 'CE-00033', 'BRUSH FOR TOILET LONG', 'ແປງຖູຫ້ອງນ້ຳ', 10, 5000, 50000, 2, 1, 1, ''),
(90, '14', 'CE-00029', 'ELECTIC PLUG', 'ປັກໄຟ', 10, 5000, 50000, 2, 1, 1, ''),
(91, '14', 'CE-00030', 'TISSUE ROLL BIG', 'ຊິດຊູ້ໃຫຍ່', 10, 5000, 50000, 2, 1, 1, ''),
(92, '14', 'CE-00033', 'BRUSH FOR TOILET LONG', 'ແປງຖູຫ້ອງນ້ຳ', 10, 5000, 50000, 2, 1, 1, ''),
(93, '14', 'CE-00035', 'FLOOR CLOTH NO:24', 'ຜ້າຖູພື້ນເບີ24', 10, 5000, 50000, 2, 1, 1, ''),
(94, '14', 'CE-00041', 'MOP NO:24', 'ໄມ້ຖູພື້ນເບີ24', 10, 5000, 50000, 2, 1, 1, ''),
(95, '14', 'CE-00045', 'PLASTIC GLOVE', 'ຖົງມືຢາງ', 10, 5000, 50000, 2, 1, 1, ''),
(96, '14', 'CE-00046', 'SPRAY/AIR', 'ສະເປດັບກິ່ນ', 10, 5000, 50000, 2, 1, 1, ''),
(97, '14', 'CE-00050', 'MASK', 'ຜ້າອັດດັງ', 10, 5000, 50000, 2, 1, 1, ''),
(98, '14', 'CE-00055', 'SCOTH FOR DISH', 'ສະກ໋ອດລ້າງຖ້ວຍ', 10, 5000, 50000, 2, 1, 1, ''),
(99, '14', 'CE-00056', 'HAND SOAP', 'ນ້ຳຢາລ້າງມື', 10, 5000, 50000, 2, 1, 1, ''),
(100, '14', 'CE-00057', 'SHAMPOO', 'ນ້ຳຢາລ້າງລົດ', 10, 5000, 50000, 2, 1, 1, ''),
(101, '14', 'CE-00058', 'PLASTIC BAG 6X10', 'ຖົງຢາງ 6X10', 10, 5000, 50000, 2, 1, 1, ''),
(102, '14', 'CE-00063', 'CAR CLOTH (WATER)', 'ຜ້າເຊັດລົດແບບຊັບນ້ຳ', 10, 5000, 50000, 2, 1, 1, ''),
(103, '14', 'CE-00065', 'BROOM', 'ຟອຍອ່ອນ', 10, 5000, 50000, 2, 1, 1, ''),
(104, '14', 'CE-00066', 'BROOM', 'ຟອຍກ້ານຕານ', 10, 5000, 50000, 2, 1, 1, ''),
(105, '14', 'CE-00068', 'TISSUE BOX', 'ຊິດຊູ້ກ່ອງ', 10, 5000, 50000, 2, 1, 1, ''),
(106, '14', 'IT-00019', 'INK/HP 12A', 'ນ້ຳມືກປິ່ນເຕີ', 10, 5000, 50000, 6, 1, 1, ''),
(107, '14', 'IT-00034', 'INK/HP 35A', 'ນ້ຳມືກປິ່ນເຕີ', 10, 5000, 50000, 6, 1, 1, ''),
(108, '14', 'IT-00038', 'MOUSE', 'ເມົ້າ', 10, 5000, 50000, 6, 1, 1, ''),
(109, '10', 'CE-00014', 'GLOVE', 'ຖົງມືຜ້າ', 10, 5000, 50000, 2, 1, 1, ''),
(110, '10', 'CE-00016', 'PLASTIC LINE', 'ເຊືອກຟາງ', 10, 5000, 50000, 2, 1, 1, ''),
(111, '10', 'CE-00017', 'TOILET PERFURM', 'ກ້ອນດັບກິ່ນ', 10, 5000, 50000, 2, 1, 1, ''),
(112, '10', 'CE-00019', 'PLASTIC BAG/15X30', 'ຖົງຢາງ 15X30', 10, 5000, 50000, 2, 1, 4, ''),
(113, '10', 'CE-00022', 'PLASTIC BAG/22X40', 'ຖົງຢ່າງ', 10, 5000, 50000, 2, 1, 1, ''),
(114, '10', 'CE-00024', 'PLASTIC BAG/9X18', 'ຖົງຢາງ', 10, 5000, 50000, 2, 1, 1, ''),
(115, '10', 'CE-00026', 'SOAP', 'ສະບູ', 10, 5000, 50000, 2, 1, 1, ''),
(116, '10', 'CE-00027', 'LAO POWDER SOAP SMALL', 'ແຟບ', 10, 5000, 50000, 2, 1, 1, ''),
(117, '10', 'CE-00028', 'TISSUE SMALL', 'ຊິດຊູ້ນ້ອຍ', 10, 5000, 50000, 2, 1, 1, ''),
(118, '10', 'CE-00029', 'ELECTIC PLUG', 'ປັກໄຟ', 10, 5000, 50000, 2, 1, 1, ''),
(119, '10', 'CE-00030', 'TISSUE ROLL BIG', 'ຊິດຊູ້ໃຫຍ່', 10, 5000, 50000, 2, 1, 1, ''),
(120, '10', 'CE-00033', 'BRUSH FOR TOILET LONG', 'ແປງຖູຫ້ອງນ້ຳ', 10, 5000, 50000, 2, 1, 1, ''),
(121, '10', 'CE-00035', 'FLOOR CLOTH NO:24', 'ຜ້າຖູພື້ນເບີ24', 10, 5000, 50000, 2, 1, 1, ''),
(122, '10', 'CE-00041', 'MOP NO:24', 'ໄມ້ຖູພື້ນເບີ24', 10, 5000, 50000, 2, 1, 1, ''),
(123, '10', 'CE-00045', 'PLASTIC GLOVE', 'ຖົງມືຢາງ', 10, 5000, 50000, 2, 1, 1, ''),
(142, '01', 'OS-00123', 'MAX NO: 10', 'ລູກກະລະເຟີ', 10, 5000, 50000, 1, 1, 1, ''),
(141, '01', 'OS-00122', 'MAK NO:03', 'ລູກກະລະເຟີເບີ:03', 10, 5000, 50000, 1, 1, 1, ''),
(139, '01', 'OS-00119', 'BASKET FOR DOCUMENT 3 FLOOR', 'ກະຕ່າ 3 ຊັ້ນ', 10, 5000, 50000, 1, 1, 1, ''),
(128, 'DT-01', 'OS-00034', 'FILE 335', 'ແຟ້ມ 335', 12, 5000, 60000, 1, 1, 1, ''),
(129, 'DT-01', 'OS-00037', 'GLUE ( ELEPLANT )', 'ກາວກາຊ້າງ', 12, 5000, 60000, 1, 1, 1, ''),
(130, 'DT-01', 'OS-00038', 'GLUE TWO SIDE TAPE', 'ກາວສອງໜ້າ', 12, 5000, 60000, 1, 1, 1, ''),
(131, 'DT-01', 'CE-00057', 'SHAMPOO', 'ນ້ຳຢາລ້າງລົດ', 12, 5000, 60000, 2, 1, 1, ''),
(140, '01', 'OS-00121', 'CULCULATOR', 'ຈັກຄິດໄລ່ເລກ', 10, 5000, 50000, 1, 1, 1, ''),
(133, 'DT-01', 'CE-00063', 'CAR CLOTH (WATER)', 'ຜ້າເຊັດລົດແບບຊັບນ້ຳ', 12, 5000, 60000, 2, 1, 1, ''),
(134, 'DT-01', 'CE-00065', 'BROOM', 'ຟອຍອ່ອນ', 12, 5000, 60000, 2, 1, 1, ''),
(135, 'DT-01', 'CE-00066', 'BROOM', 'ຟອຍກ້ານຕານ', 12, 5000, 60000, 2, 1, 1, ''),
(136, 'DT-01', 'CE-00068', 'TISSUE BOX', 'ຊິດຊູ້ກ່ອງ', 12, 5000, 60000, 2, 1, 1, ''),
(137, 'DT-01', 'IT-00019', 'INK/HP 12A', 'ນ້ຳມືກປິ່ນເຕີ', 12, 5000, 60000, 6, 1, 1, ''),
(138, 'DT-01', 'IT-00034', 'INK/HP 35A', 'ນ້ຳມືກປິ່ນເຕີ', 12, 5000, 60000, 6, 1, 1, ''),
(143, 'd', 'CE-00027', 'LAO POWDER SOAP SMALL', 'ແຟບ', 10, 5000, 50000, 2, 1, 1, ''),
(144, 'd', 'CE-00028', 'TISSUE SMALL', 'ຊິດຊູ້ນ້ອຍ', 10, 5000, 50000, 2, 1, 1, '');
---------------------------------- Code SQL bill_out
Date :
2017-08-22 10:30:39
By :
Bouasavanh HararRock
ทำมาเป็นไฟล์ zip จะดีกว่าไหมครับ 55 (เดี๋ยวจะลองดูครับ) ตอนนี่กำลังชอบสไตล์ที่ประหยัด 55
Date :
2017-08-22 21:26:10
By :
Androidgamer
อธิบายเพิ่มเติมหน่อยครับ ว่า code ที่ลงมาแต่ละอันทำหน้าที่อะไร
ถ้าว่างๆ เขียนเป็นบทความก็ได้ครับ
แบ่งปันเป็นเรื่องที่ดี ขอบคุณครับ
Date :
2017-08-23 10:09:17
By :
apisitp
- ผมก็ยังใช้ Bootstrap 3
- คนจะออกแบบสวย
1. หัวศิลป์(ความสามารถเฉพาะตัว)
2. ดูเว็บคนอื่นเยอะๆ เอาเป็นแบบ
3. หาโหลด html ฟรี หลากหลายรูปแบบ มาปรับแก้สีสัน ลูกเล่น css (ผมก็ใช้วิธีนี้)
Date :
2017-08-23 13:40:07
By :
apisitp
ไม่ทราบว่าพอจะมีหน้าตาตัวอย่างการใช้งานของโปรแกรมไหมครับ
Date :
2017-08-24 16:46:18
By :
barakuyamaza
ตอบความคิดเห็นที่ : 10 เขียนโดย : barakuyamaza เมื่อวันที่ 2017-08-24 16:46:18
รายละเอียดของการตอบ ::
มีครับ แต่ผม ออกแบบไม่สวย
ตัวระบบ 95% ใช้งานได้ จริง
5 % คือ
3 % Update ให้ใช้ได้ 3 จังหวัด
2 % Update CSS+Bootstrap
การทำงาน
1. มีผู้ใช้ 2 ระดับ
- User = เปีกของผ่านบิล,ดู Stock ของที่มี, ดู สถานะ บิล ว่า ตัด Stock แล้ว หรือยัง ได้รับของ หรือ ยัง, Update Information of User,ดูรายงาน ของ Department ของตัวเอง และ Option อื่นๆ เช่น Check ค่า ซ้ำ ก่อนทำการเปีกของ
- Admin = ทำอะไรได้หมดเยอะมากๆ เช่น รายงานทีม , รายงาน Department , รายงาน Month , รายงานร่วม ทั้งหมด ของ Department , แก้ไขได้ ทั้งหมด และ มันเยอะมาก ใช้เวลา ทำ 4 เดือนกว่าๆ กับ หัวหน้า เป็นคนชี้แนะ
2. Menu ที่มี File งานที่เขียนไว้
2.1 admin
- Take in = add Product
- Report Take In = รายงาน
- Report Take Out = รายงาน
- Main Stock = Stock Product
- Cut Stock Bill
Date :
2017-10-24 08:35:12
By :
Hararock
ตอบความคิดเห็นที่ : 11 เขียนโดย : Hararock เมื่อวันที่ 2017-10-24 08:35:12
รายละเอียดของการตอบ ::
2. Menu ที่มี File งานที่เขียนไว้
2.1 admin
- Supplier List = แหร่งจัดชื้อของ
- Type = Code Type Product Ex: OS-0001 A4
- Currecy
- Kind = ก้าน อัน
- Close Month = Close Stock
- Admin = Update Information of Admin
- System = On And Off เวลาปิด Stock ห้ามให้คนมาเปีก ของ
- Your Data Bill = รายการที่คุณเปีกของ
- Report AND Invoice
Date :
2017-10-24 08:42:46
By :
Hararock
Load balance : Server 01