-- phpMyAdmin SQL Dump
-- version 3.5.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Sep 21, 2014 at 09:00 AM
-- Server version: 5.5.25a
-- PHP Version: 5.4.4

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `brtc_inventory`
--

-- --------------------------------------------------------

--
-- Table structure for table `delivery`
--

CREATE TABLE IF NOT EXISTS `delivery` (
  `delivery_id` int(11) NOT NULL,
  `delivery_date` date NOT NULL,
  `product_type_id` int(20) NOT NULL,
  `product_id` int(11) NOT NULL,
  `regt_no` varchar(30) NOT NULL,
  `delivery_from_id` int(11) NOT NULL,
  `delivery_to_id` int(11) NOT NULL,
  `delivery_purpose` varchar(50) NOT NULL,
  `delivery_remarks` varchar(10000) NOT NULL,
  `status` varchar(10) NOT NULL,
  PRIMARY KEY (`delivery_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `delivery`
--

INSERT INTO `delivery` (`delivery_id`, `delivery_date`, `product_type_id`, `product_id`, `regt_no`, `delivery_from_id`, `delivery_to_id`, `delivery_purpose`, `delivery_remarks`, `status`) VALUES
(3, '2013-11-20', 1, 12, '', 1, 4, '', '', 'Active'),
(4, '2014-01-15', 1, 7, '', 1, 2, '-1', '', 'Inactive'),
(5, '2014-01-15', 1, 8, '', 1, 8, 'মেরামতের জন্য', '', 'Active'),
(6, '2014-01-15', 1, 11, '', 1, 2, '-1', '', 'Active'),
(7, '2014-01-15', 1, 12, '', 1, 4, '-1', '', 'Active'),
(8, '2014-01-08', 1, 13, '', 1, 4, '-1', '', 'Active'),
(9, '2014-01-02', 1, 14, '', 1, 2, '-1', '', 'Active'),
(10, '2014-01-09', 1, 15, '', 1, 3, '-1', '', 'Active'),
(11, '2014-01-08', 1, 6, '', 1, 5, 'চালানোর জন্য', '', 'Active'),
(12, '2014-01-15', 1, 1, '', 1, 6, 'চালানোর জন্য', '', 'Active'),
(13, '2014-01-14', 1, 18, '', 1, 7, 'চালানোর জন্য', '', 'Active'),
(14, '2014-01-22', 1, 7, '', 2, 1, '-1', '', 'Inactive'),
(15, '2014-01-22', 1, 7, '', 1, 2, 'চালানোর জন্য', '', 'Active'),
(16, '2014-09-25', 1, 16, '1234', 1, 2, 'চালানোর জন্য', '', 'Active'),
(17, '2014-09-16', 1, 25, '4567', 1, 2, 'চালানোর জন্য', '', 'Inactive'),
(18, '2014-09-10', 1, 25, '4567', 2, 1, 'বিক্রয়ের জন্য', '', 'Active');

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
