-- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Nov 17, 2020 at 05:09 AM
-- Server version: 5.6.26
-- PHP Version: 5.6.12

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 utf8mb4 */;

--
-- Database: `robipos`
--

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

--
-- Table structure for table `utilityinvoice`
--

CREATE TABLE IF NOT EXISTS `utilityinvoice` (
  `id` int(40) NOT NULL,
  `plotno` varchar(60) NOT NULL,
  `houseno` varchar(40) NOT NULL,
  `tenantid` varchar(100) NOT NULL,
  `amount` varchar(100) NOT NULL,
  `type` varchar(100) NOT NULL,
  `description` varchar(100) NOT NULL,
  `month` varchar(100) NOT NULL,
  `year` varchar(100) NOT NULL,
  `createdat` varchar(100) NOT NULL,
  `updatedat` varchar(100) NOT NULL,
  `userid` varchar(100) NOT NULL,
  `duedate` varchar(40) NOT NULL,
  `paymentstatus` varchar(40) NOT NULL DEFAULT 'receipt',
  `paymentmode` varchar(40) NOT NULL,
  `paymentcode` varchar(100) NOT NULL,
  `transactioncode` varchar(100) NOT NULL,
  `approval` varchar(30) NOT NULL DEFAULT 'new',
  `paid` varchar(40) NOT NULL,
  `balance` varchar(40) NOT NULL DEFAULT '0',
  `companyid` varchar(100) NOT NULL DEFAULT '1',
  `commission` decimal(10,2) NOT NULL,
  `vat` decimal(10,2) NOT NULL,
  `paymentdate` varchar(30) NOT NULL,
  `branchid` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `utilityinvoice`
--
ALTER TABLE `utilityinvoice`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `utilityinvoice`
--
ALTER TABLE `utilityinvoice`
  MODIFY `id` int(40) NOT NULL AUTO_INCREMENT;
/*!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 */;
