<?php 
include '../Admin_config/connection.php';
include '../Admin_controllers/customer.php';

if (isset($_POST['submit'])) {
	$fname = $_POST['first'];
	$lname = $_POST['last'];
	$email = $_POST['email'];
	$add = $_POST['address'];
	$pan = $_POST['pan'];
	$gst = $_POST['gst'];
	$mobile = $_POST['mobile'];
	$full = $fname.' '.$lname;

	$customer_added = ADD_CUSTOMER($fname,$lname,$full,$email,$add,$pan,$gst,$mobile);
}


?>