-- phpMyAdmin SQL Dump
-- version 4.9.2
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1:3306
-- Généré le :  mar. 02 nov. 2021 à 13:23
-- Version du serveur :  8.0.18
-- Version de PHP :  7.3.12

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 */;

--
-- Base de données :  `emecef`
--

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

--
-- Structure de la table `factures`
--

DROP TABLE IF EXISTS `factures`;
CREATE TABLE IF NOT EXISTS `factures` (
  `IDfactures` int(11) NOT NULL AUTO_INCREMENT,
  `numeroFacture` int(11) NOT NULL,
  `mecefCode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `mecefNim` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `mecefCompteur` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `mecefDateHeure` datetime NOT NULL,
  `mecefQrCode` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Mecef` tinyint(1) NOT NULL,
  `dateHeureCreation` datetime NOT NULL,
  `dateHeureValidation` datetime NOT NULL,
  `totalHt` double NOT NULL,
  `totalTva` double NOT NULL,
  `totalTtc` double NOT NULL,
  `remise` double NOT NULL,
  `modeReglement` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Vendeur` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Client` varchar(100) NOT NULL,
  PRIMARY KEY (`IDfactures`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Déchargement des données de la table `factures`
--

INSERT INTO `factures` (`IDfactures`, `numeroFacture`, `mecefCode`, `mecefNim`, `mecefCompteur`, `mecefDateHeure`, `mecefQrCode`, `Mecef`, `dateHeureCreation`, `dateHeureValidation`, `totalHt`, `totalTva`, `totalTtc`, `remise`, `modeReglement`, `Vendeur`, `Client`) VALUES
(1, 15, 'TEST-KB6F-5ZQK-VKYF-QMC3-BKU3', 'TS01000450', '242/258 FV', '0000-00-00 00:00:00', 'F;TS01000450;TESTKB6F5ZQKVKYFQMC3BKU3;3201810205790;20211101094937', 1, '2021-08-18 14:32:29', '2021-08-18 14:38:32', 0, 0, 90, 0, 'CCARD', 'Dahoun Candide', 'couao zotti');
COMMIT;

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