<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
 include('dbconnection.php');
session_start();
include("checklogin.php");
check_login();   
	
?>
<!DOCTYPE html>
<html class="loading" lang="en" data-textdirection="ltr">
<!-- BEGIN: Head-->

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <meta name="author" content="CRM">
    <title>CAM YAPI</title>
    <link rel="apple-touch-icon" href="images/logo.png">
    <link rel="shortcut icon" type="image/x-icon" href="images/logo.png">
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i%7CQuicksand:300,400,500,700" rel="stylesheet">

    <!-- BEGIN: Vendor CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/vendors.min.css">
    <!-- END: Vendor CSS-->

    <!-- BEGIN: Theme CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/pickers/daterange/daterangepicker.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/bootstrap-extended.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/colors.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/components.css">
    <!-- END: Theme CSS-->
    <!-- BEGIN MODERN CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/css/app.css">
    <!-- END MODERN CSS-->

    <!-- BEGIN: Page CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/css/core/menu/menu-types/vertical-menu-modern.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/core/colors/palette-gradient.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/charts/jquery-jvectormap-2.0.3.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/plugins/forms/wizard.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/plugins/pickers/daterange/daterange.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/charts/morris.css">
    <link rel="stylesheet" type="text/css" href="app-assets/fonts/simple-line-icons/style.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/core/colors/palette-gradient.css">
    <!-- END: Page CSS-->

    <!-- BEGIN: Custom CSS-->
    <link rel="stylesheet" type="text/css" href="assets/css/style.css">
    <!-- END: Custom CSS-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
</head>
<!-- END: Head-->

<!-- BEGIN: Body-->

<body class="vertical-layout vertical-menu-modern vertical-collapsed-menu 2-columns   menu-collapsed fixed-navbar" data-open="click" data-menu="vertical-menu-modern" data-col="2-columns">

    <!-- BEGIN: Header-->
    <nav class="header-navbar navbar-expand-lg navbar navbar-with-menu navbar-without-dd-arrow fixed-top navbar-semi-dark navbar-shadow">
        <div class="navbar-wrapper">
            <div class="navbar-header">
                <ul class="nav navbar-nav flex-row">
                    <li class="nav-item mobile-menu d-lg-none mr-auto"><a class="nav-link nav-menu-main menu-toggle hidden-xs" href="#"><i class="ft-menu font-large-1"></i></a></li>
                    <li class="nav-item mr-auto"><a class="navbar-brand" href="crmindex.php"><img class="brand-logo" alt="CRM admin logo" src="images/logo.png">
                            <h3 class="brand-text">CAM YAPI </h3>
                        </a></li>
                    <li class="nav-item d-none d-lg-block nav-toggle"><a class="nav-link modern-nav-toggle pr-0" data-toggle="collapse"><i class="toggle-icon ft-toggle-right font-medium-3 white" data-ticon="ft-toggle-right"></i></a></li>
                    <li class="nav-item d-lg-none"><a class="nav-link open-navbar-container" data-toggle="collapse" data-target="#navbar-mobile"><i class="la la-ellipsis-v"></i></a></li>
                </ul>
            </div>
            <div class="navbar-container content">
                <div class="collapse navbar-collapse" id="navbar-mobile">
                    <ul class="nav navbar-nav mr-auto float-left">
                        <li class="nav-item d-none d-lg-block"><a class="nav-link nav-link-expand" href="#"><i class="ficon ft-maximize"></i></a></li>
                        <li class="dropdown nav-item mega-dropdown d-none d-lg-block"><a class="dropdown-toggle nav-link" href="#" data-toggle="dropdown">CAM YAPI</a>
                          
                        </li>
                    </ul>
                    <ul class="nav navbar-nav float-right">
                        <li class="dropdown dropdown-user nav-item"><a class="dropdown-toggle nav-link dropdown-user-link" href="#" data-toggle="dropdown"><span class="mr-1 user-name text-bold-700"><?php echo $_SESSION['dp_userName'];?></span><span class="avatar avatar-online"><img src="app-assets/images/portrait/small/avatar-s-19.png" alt="avatar"><i></i></span></a>
                            <div class="dropdown-menu dropdown-menu-right"><a class="dropdown-item" href="user-profile.html"><i class="ft-user"></i> Edit Profile</a><a class="dropdown-item" href="app-kanban.html"><i class="ft-clipboard"></i> Todo</a><a class="dropdown-item" href="user-cards.html"><i class="ft-check-square"></i> Task</a>
                                <div class="dropdown-divider"></div><a class="dropdown-item" href="login-with-bg-image.html"><i class="ft-power"></i> Logout</a>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </nav>
    <!-- END: Header-->


    <!-- BEGIN: Main Menu-->

    <div class="main-menu menu-fixed menu-dark menu-accordion menu-shadow" data-scroll-to-active="true">
        <div class="main-menu-content">
            <ul class="navigation navigation-main" id="main-menu-navigation" data-menu="menu-navigation">
                <li class=" nav-item"><a href="index.html"><i class="la la-home"></i><span class="menu-title" data-i18n="Dashboard">Dashboard</span><span class="badge badge badge-info badge-pill float-right mr-2">1</span></a>
                    <ul class="menu-content">
                        </li>
                         
           <li><a class="menu-item" href="#"><i>Firma İşlemleri</i><span data-i18n="current"></span></a>

                   <ul class="menu-content">
                        <li><a class="menu-item" href="crmcari.php"><i class="la la-bars">&emsp;</i><span data-i18n="eCommerce">Firma Kayıt</span></a></li>
                        <li><a class="menu-item" href="crmcarilist.php"><i class="la la-industry">&emsp;</i><span data-i18n="eCommerce">Firma Listeleme</span></a></li> </ul> 
                 </li>
                  <li><a class="menu-item" href="#"><i>Personel İşlemleri</i><span data-i18n="current"></span></a>

                   <ul class="menu-content">
                    <li><a class="menu-item" href="crmcompany.php"><i class="la la-user">&emsp;</i><span data-i18n="eCommerce">Personel Kayıt</span></a></li>
                    <li><a class="menu-item" href="crmcompanylist.php"><i class="la la-users">&emsp;</i><span data-i18n="eCommerce">Personel Listeleme</span></a></li>  
                    </ul> 
                 </li>
                <li><a class="menu-item" href="#"><i>Teklif Personel İşlemleri</i><span data-i18n="current"></span></a>

                   <ul class="menu-content">
                    <li><a class="menu-item" href="crmstaff.php"><i class="la la-user">&emsp;</i><span data-i18n="eCommerce">Personel Kayıt</span></a></li>
                    <li><a class="menu-item" href="crmstafflist.php"><i class="la la-users">&emsp;</i><span data-i18n="eCommerce">Personel Listeleme</span></a></li>  
                    </ul> 
                 </li>
                  <li><a class="menu-item" href="#"><i>Teklif İşlemleri</i><span data-i18n="current"></span></a>
                   <ul class="menu-content">
                    <li><a class="menu-item" href="crmoffer.php"><i class="la la-check-square">&emsp;</i><span data-i18n="eCommerce">Teklif Kayıt</span></a></li>
                    <li><a class="menu-item" href="#"><i class="la la-edit">&emsp;</i><span data-i18n="eCommerce">Teklif Listeleme</span></a></li> 

                    </ul> 
                    <a class="menu-item" href="crmcurrent.php"><i>Rapor</i><span data-i18n="current"></span></a>
                 </li>
 
               </ul>
        </div>
    </div>

    <!-- END: Main Menu-->
    <!-- BEGIN: Content-->
    <div class="app-content content">
    
       <div class="content-wrapper">
      <div class="content-header row">
        <div class="content-header-left col-md-6 col-12 mb-2 breadcrumb-new">
          <h3 class="content-header-title mb-0 d-inline-block">Teklifler</h3>
          <div class="row breadcrumbs-top d-inline-block">
            <div class="breadcrumb-wrapper col-12">
              <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="index.html">Teklif İşlemleri</a>
                </li>
                <li class="breadcrumb-item"><a href="#">Teklif Kayıt</a>
                </li>
              </ol>
            </div>
          </div>
        </div>
      </div>
      <div class="content-body">
         <!-- Form wizard with number tabs section starts -->
        <section id="demo">
          <div class="row">
            <div class="col-12">
              <div class="card">
                <div class="card-header">
                  <h4 class="card-title">Teklif Kayıt İşlemleri</h4>
                  <a class="heading-elements-toggle"><i class="la la-ellipsis-h font-medium-3"></i></a>
                  <div class="heading-elements">
                    <ul class="list-inline mb-0">
                      <li><a data-action="collapse"><i class="ft-minus"></i></a></li>
                      <li><a data-action="reload"><i class="ft-rotate-cw"></i></a></li>
                      <li><a data-action="expand"><i class="ft-maximize"></i></a></li>
                      <li><a data-action="close"><i class="ft-x"></i></a></li>
                    </ul>
                  </div>
                </div>
                <div class="card-content collapse show">
                  <div class="card-body">
                    <form action="#" class="number-tab-steps wizard-circle">
                      <!-- Step 1 -->



                      <h6>Firma Bilgileri</h6>
                      <fieldset>
                    <div class="col-md-2">
                             
                            <div class="form-group">
                                
                              <label for="firstName1">Firmalar</label>
                         
                               <select class="c-select form-control" id="Fc_Codew" name="Fc_Codew">
                                <option value="" >Firma Seçiniz</option>
                                      <?php
                                    
                                    $sql = "SELECT * FROM camfactory";
                                    $result = mysqli_query($con, $sql);
                                    while($row = mysqli_fetch_assoc($result))
                                    { 
                                      $cam_Code = $row['Fc_Code'];
                                      $cam_Companyname = $row['Fc_CompanyName'];
                                      $cam_Title = $row['Fc_Title'];
                                      $cam_TaxNo = $row['Fc_TaxNo'];
                                      $cam_TradeRegistry = $row['Fc_TradeRegistry'];
                                      $cam_Mail = $row['Fc_Mail'];
                                      $cam_Webadress = $row['Fc_Webadress'];
                                      $cam_Adress = $row['Fc_Adress'];
                                      $cam_Phone = $row['Fc_Phone'];
                                      $cam_Phone2 = $row['Fc_Phone2'];
                                      $cam_Fax = $row['Fc_Fax'];
                                      $cam_Mail = $row['Fc_Mail'];
                                      $cam_PostCode = $row['Fc_PostCode'];
                                      $cam_Logo = $row['Fc_Logo'];
                                      $cam_Exp = $row['Fc_Exp'];
                                      $cam_Country_id=$row['Fc_Country'];
                                      $cam_City_id=$row['Fc_City'];
                                      $cam_District_id=$row['Fc_District'];


                                    $result1= mysqli_query($con,"SELECT * FROM countries WHERE id='$cam_Country_id'");
                                    while($row1 = mysqli_fetch_array($result1))
                                    {
                                    $countryname=$row1['name'];
                                    }
                                    $result2= mysqli_query($con,"SELECT * FROM states WHERE id='$cam_City_id'");
                                     while($row2 = mysqli_fetch_array($result2))
                                    {                
                                    $statesname=$row2['name'];
                                    }
                                    $result3= mysqli_query($con,"SELECT * FROM cities WHERE id='$cam_District_id'");
                                    while($row3 = mysqli_fetch_array($result3))
                                    {
                                    $districtname=$row3['name'];
                                    }

                                       
                                ?>


   <option value="<?php echo $cam_Code; ?>" 
    data-name="<?php echo $cam_Companyname; ?>" 
    data-title="<?php echo $cam_Title; ?>"
    data-taxno="<?php echo $cam_TaxNo; ?>" 
    data-trade="<?php echo $cam_TradeRegistry; ?>" 
    data-kod="<?php echo $cam_Code; ?>" 
    data-mail="<?php echo $cam_Mail; ?>" 
    data-webadress="<?php echo $cam_Webadress; ?>" 
    data-adress="<?php echo $cam_Adress; ?>" 
    data-phone="<?php echo $cam_Phone; ?>" 
    data-cep="<?php echo $cam_Phone2; ?>" 
    data-fax="<?php echo $cam_Fax; ?>" 
    data-post="<?php echo $cam_PostCode; ?>"
    data-country="<?php echo $countryname; ?>" 
    data-states="<?php echo $statesname; ?>" 
    data-district="<?php echo $districtname; ?>" 
    data-logo="<?php echo $cam_Logo; ?>" 
    data-exp="<?php echo $cam_Exp; ?>" ><?php echo $cam_Companyname; ?></option>

                                <?php  } ?>
                            </select>
                            </div>
                          </div>

                 <div id="show">
                 </div>

                


                     </br>
                        <div class="row">

                      <div class="col-md-2">
                            <div class="form-group">
                              <label for="firstName1">Firma Ad</label>
       <input type="text" class="form-control" name="Fc_CompanyName" id="Fc_CompanyName" placeholder="Firma Ad" readonly>
                            </div>
                          </div>
                          <div class="col-md-2">
                            <div class="form-group">
                              <label for="lastName1">Firma Ünvanı</label>
           <input type="text" class="form-control" name="Fc_Title" id="Fc_Title" placeholder="Ünvan" readonly>
                            </div>
                          </div>
                          <div class="col-md-2">
                            <div class="form-group">
                              <label for="firstName1">Vergi Numarası </label>
 <input type="text" class="form-control" name="Fc_TaxNo" id="Fc_TaxNo" placeholder="Vergi No" maxlength="12" readonly>
                            </div>
                          </div>
                          <div class="col-md-2">
                            <div class="form-group">
                              <label for="lastName1">Sicil Numarası</label>
  <input type="text" class="form-control" name="Fc_TradeRegistry" id="Fc_TradeRegistry" placeholder="Ticari Sicil No" maxlength="12" readonly>
                            </div>
                          </div>
                            <div class="col-md-2">
                            <div class="form-group">
                              <label for="firstName1">Firma Kod</label>
                     <input type="text" class="form-control" id="Fc_Code" name="Fc_Code"    readonly>
                            </div>
                          </div>
                          <div class="col-md-2">
                            <div class="form-group">
                              <label for="lastName1">Firma Web Adres</label>
<input type="text" class="form-control"  name="Fc_Webadress" id="Fc_Webadress"  placeholder=".com / com.tr / .net " readonly>
                            </div>
                          </div>
               
                        </div>

                          <div class="row">
                          <div class="col-md-2">
                            <div class="form-group">
                              <label for="firstName1">Telefon</label>
   <input type="text" class="form-control phone-formatter" name="Fc_Phone" id="Fc_Phone" placeholder="Telefon No"  readonly>
                            </div>
                          </div>
                          <div class="col-md-2">
                            <div class="form-group">
                              <label for="lastName1">Cep</label>
 <input type="text" class="form-control phone-formatter" name="Fc_Phone2" id="Fc_Phone2" placeholder="Cep No"  readonly>
                            </div>
                          </div>
                        
                          <div class="col-md-2">
                            <div class="form-group">
                              <label for="firstName1">Fax</label>
    <input type="text" class="form-control phone-formatter" name="Fc_Fax" id="Fc_Fax" placeholder="Fax"  readonly>
                            </div>
                          </div>
                          <div class="col-md-2">
                            <div class="form-group">
                              <label for="lastName1">Mail</label>
   <input type="text" class="form-control email-inputmask" name="Fc_Mail" id="Fc_Mail" placeholder="Email Address"  readonly>
                            </div>
                          </div>
                            <div class="col-md-1">
                            <div class="form-group">
                              <label for="firstName1">Ülke</label>
                               <input type="text" class="form-control" name="Fc_Country" id="Fc_Country" placeholder="Ülke" readonly>
                            </div>
                          </div>
                          <div class="col-md-1">
                            <div class="form-group">
                              <label for="lastName1">İl</label>
                             <input type="text" class="form-control" name="Fc_City" id="Fc_City" placeholder="İl" readonly>
                            </div>
                          </div>
                        
                          <div class="col-md-1">
                            <div class="form-group">
                              <label for="firstName1">İlçe</label>
                               <input type="text" class="form-control" name="Fc_District" id="Fc_District" placeholder="İlçe" readonly>
                            </div>
                          </div>
                          <div class="col-md-1">
                            <div class="form-group">
                              <label for="lastName1">Posta</label>
                 <input type="text" class="form-control" id="Fc_PostCode" name="Fc_PostCode"    readonly>
                            </div>
                          </div>
                        </div>    
                   
                        <div class="row">
                         <div class="col-md-6">
                             <div class="form-group">
                              <label for="participants1">Adres</label>
                                 <input type="text" class="form-control" id="Fc_Adress" name="Fc_Adress" placeholder="Adress" readonly>
                            </div>
                         </div>



                            <div class="col-md-6">
                             <div class="form-group">
                              <label for="participants1">Açıklama</label>
                                 <input type="text" class="form-control" id="Fc_Exp" name="Fc_Exp" placeholder="Açıklama" readonly>
                            </div>
                         </div>
                        </div>
                  
               





                      </fieldset>
                      <!-- Step 2 -->




                      <h6>Teklif Hazırlayan Bilgiler</h6>
                      <fieldset>
                                            <div class="col-md-2">
                             
                            <div class="form-group">
                                
                              <label for="firstName1">Teklif Hazırlayan Personel</label>
                         
                               <select class="c-select form-control" id="St_ids" name="St_ids">
                                <option value="" >Personel</option>
                                      <?php
                                    
                                    $sql1 = "SELECT * FROM camstaff";
                                    $result1 = mysqli_query($con, $sql1);
                                    while($row1 = mysqli_fetch_assoc($result1))
                                    { 
                                      $sc_id = $row1['St_id'];
                                      $sc_name = $row1['St_Name'];
                                      $sc_surname = $row1['St_SurName'];
                                      $sc_title = $row1['St_Title'];
                                      $sc_mail = $row1['St_Mail'];
                                      $sc_phone = $row1['St_Phone'];
                                      $sc_dept = $row1['St_Department'];
                                      $sc_exp = $row1['St_Exp'];
                                      $sc_dept = $row1['St_Department'];
                                      $sc_logo = $row1['St_Logo'];
                               
                                       
                                ?>


   <option value="<?php echo $sc_id; ?>" 
    data-sname="<?php echo $sc_name; ?>" 
    data-surname="<?php echo $sc_surname; ?>"
    data-title="<?php echo $sc_title; ?>" 
    data-mail="<?php echo $sc_mail; ?>" 
    data-phone="<?php echo $sc_phone; ?>" 
    data-dept="<?php echo $sc_dept; ?>" 
    data-exp="<?php echo $sc_exp; ?>" 
    data-logo="<?php echo $sc_logo; ?>" 
    data-id="<?php echo $sc_id; ?>" ><?php echo $sc_name; ?></option>

                                <?php  } ?>
                            </select>
                            </div>
                          </div>


                <div id="show1">
                 </div>

<?php 


$teklif = 100000;
    
?>


                        <div class="row">
                           <div class="col-md-3">
                         <div class="form-group">
                              <label for="firstName1">Teklif No</label>
                              <input type="text" class="form-control" id="teklif" name="teklif" value="<?php echo $teklif; ?>">
                            </div>
                          </div>

               
                        </div>

                    <div class="row">
                        <div class="col-md-2">
                         <div class="form-group">
                              <label for="firstName1">Personel Ad</label>
                              <input type="text" class="form-control" id="St_Name"  name="St_Name" readonly>
                            </div>
                          </div>
                              <div class="col-md-2">
                         <div class="form-group">
                              <label for="firstName1">Personel Soyad</label>
                              <input type="text" class="form-control" id="St_SurName"  name="St_SurName" readonly>
                            </div>
                          </div>
                     <div class="col-md-2">
                         <div class="form-group">
                              <label for="firstName1">Personel Ünvan</label>
                              <input type="text" class="form-control" id="St_Title"  name="St_Title" readonly>
                            </div>
                          </div>
                        <div class="col-md-2">
                         <div class="form-group">
                              <label for="firstName1">Personel Departman</label>
                              <input type="text" class="form-control" id="St_Department"  name="St_Department" readonly>
                            </div>
                          </div>
                  
                        <div class="col-md-2">
                         <div class="form-group">
                              <label for="firstName1">Personel Mail</label>
                                 <input type="text" class="form-control" id="St_Mail"  name="St_Mail" readonly>
                            </div>
                          </div>
                    <div class="col-md-2">
                            <div class="form-group">
                              <label for="phoneNumber1">Personel Telefon</label>
                               <input type="tel" class="form-control" id="St_Phone"  name="St_Phone" readonly>
                            </div>
                          </div>
                        </div>

                        <div class="row">
                            <div class="col-md-6">
                             <div class="form-group">
                              <label for="participants1">Açıklama</label>
                              <input type="text" class="form-control" id="St_Exp" name="St_Exp" placeholder="Açıklama" readonly>
                            </div>
                         </div>
                        </div>
                      </fieldset>
                      <!-- Step 3 -->
                      <h6>Teklif Bilgileri</h6>
                      <fieldset>
                        <div class="row">
                            <div class="col-md-3">
                            <div class="form-group">
                              <label for="eventLocation1">Malzeme Ad</label>
                              <select class="custom-select form-control" id="eventLocation1" name="location">
                                <option value="">Malzeme Seçiniz</option>
                                <option value="Amsterdam">Amsterdam</option>
                                <option value="Berlin">Berlin</option>
                                <option value="Frankfurt">Frankfurt</option>
                              </select>
                            </div>
                             </div> 
                         <div class="col-md-3">
                            <div class="form-group">
                              <label for="eventLocation1">Malzeme Cinsi</label>
                              <select class="custom-select form-control" id="eventLocation1" name="location">
                                <option value="">Malzeme Seçiniz</option>
                                <option value="Amsterdam">Amsterdam</option>
                                <option value="Berlin">Berlin</option>
                                <option value="Frankfurt">Frankfurt</option>
                              </select>
                            </div>
                             </div>   
                         <div class="col-md-2">
                            <div class="form-group">
                              <label for="phoneNumber1">Miktar</label>
                              <input type="tel" class="form-control" id="phoneNumber1">
                            </div>
                          </div> 
                           <div class="col-md-2">
                            <div class="form-group">
                              <label for="phoneNumber1">En</label>
                              <input type="tel" class="form-control" id="phoneNumber1">
                            </div>
                          </div>
                         <div class="col-md-2">
                            <div class="form-group">
                              <label for="phoneNumber1">Boy</label>
                              <input type="tel" class="form-control" id="phoneNumber1">
                            </div>
                          </div> 
                        </div>
                        <div class="row">

                        </div>
                      </fieldset>
                      <!-- Step 4 -->
                      <h6>Teklif Onay</h6>
                      <fieldset>
                        <div class="row">
                          <div class="col-md-6">
                            <div class="form-group">
                              <label for="meetingName1">Name of Meeting :</label>
                              <input type="text" class="form-control" id="meetingName1">
                            </div>
                            <div class="form-group">
                              <label for="meetingLocation1">Location :</label>
                              <input type="text" class="form-control" id="meetingLocation1">
                            </div>
                            <div class="form-group">
                              <label for="participants1">Names of Participants</label>
                              <textarea name="participants" id="participants1" rows="4" class="form-control"></textarea>
                            </div>
                          </div>
                          <div class="col-md-6">
                            <div class="form-group">
                              <label for="decisions1">Decisions Reached</label>
                              <textarea name="decisions" id="decisions1" rows="4" class="form-control"></textarea>
                            </div>
                            <div class="form-group">
                              <label>Agenda Items :</label>
                              <div class="c-inputs-stacked">
                                <div class="custom-control custom-checkbox">
                                  <input type="checkbox" name="agenda" class="custom-control-input" id="item1">
                                  <label class="custom-control-label" for="item1">1st item</label>
                                </div>
                                <div class="custom-control custom-checkbox">
                                  <input type="checkbox" name="agenda" class="custom-control-input" id="item2">
                                  <label class="custom-control-label" for="item2">2nd item</label>
                                </div>
                                <div class="custom-control custom-checkbox">
                                  <input type="checkbox" name="agenda" class="custom-control-input" id="item3">
                                  <label class="custom-control-label" for="item3">3rd item</label>
                                </div>
                                <div class="custom-control custom-checkbox">
                                  <input type="checkbox" name="agenda" class="custom-control-input" id="item4">
                                  <label class="custom-control-label" for="item4">4th item</label>
                                </div>
                                <div class="custom-control custom-checkbox">
                                  <input type="checkbox" name="agenda" class="custom-control-input" id="item5">
                                  <label class="custom-control-label" for="item5">5th item</label>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </fieldset>
                    </form>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </section>
        <!-- Form wizard with number tabs section end -->

      </div>
    </div>    





    </div>
    <!-- END: Content-->

    <div class="sidenav-overlay"></div>
    <div class="drag-target"></div>

    <!-- BEGIN: Footer-->
    <footer class="footer footer-static footer-light navbar-border navbar-shadow">
        <p class="clearfix blue-grey lighten-2 text-sm-center mb-0 px-2"><span class="float-md-left d-block d-md-inline-block">Copyright &copy; 2021 <a class="text-bold-800 grey darken-2" href="https://www.doganetwork.com" target="_blank">DOĞA NETWORK</a></span></p>
    </footer>
    <!-- END: Footer-->


    <!-- BEGIN: Vendor JS-->
    <script src="app-assets/vendors/js/vendors.min.js"></script>
    <!-- BEGIN Vendor JS-->

    <!-- BEGIN: Page Vendor JS-->
    <script src="app-assets/vendors/js/extensions/jquery.steps.min.js"></script>
    <script src="app-assets/vendors/js/pickers/dateTime/moment-with-locales.min.js"></script>
    <script src="app-assets/vendors/js/pickers/daterange/daterangepicker.js"></script>
    <script src="app-assets/vendors/js/forms/validation/jquery.validate.min.js"></script>
    <script src="app-assets/vendors/js/charts/chart.min.js"></script>
    <script src="app-assets/vendors/js/charts/raphael-min.js"></script>
    <script src="app-assets/vendors/js/charts/morris.min.js"></script>
    <script src="app-assets/vendors/js/charts/jvector/jquery-jvectormap-2.0.3.min.js"></script>
    <script src="app-assets/vendors/js/charts/jvector/jquery-jvectormap-world-mill.js"></script>
    <script src="app-assets/data/jvector/visitor-data.js"></script>
    <!-- END: Page Vendor JS-->

    <!-- BEGIN: Theme JS-->
    <script src="app-assets/js/core/app-menu.js"></script>
    <script src="app-assets/js/core/app.js"></script>
    <script src="app-assets/js/scripts/customizer.js"></script>
    <!-- END: Theme JS-->

    <!-- BEGIN: Page JS-->
    <script src="app-assets/js/scripts/pages/dashboard-sales.js"></script>
    <script src="app-assets/js/scripts/forms/wizard-steps.js"></script>
    <!-- END: Page JS-->


<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

<script type="text/javascript">
$('#Fc_Codew').on('change', function() {
  var selectedOption = $(this).find('option:selected');
  
  $('#Fc_CompanyName').val(selectedOption[0].dataset.name);
  $('#Fc_Title').val(selectedOption[0].dataset.title);
  $('#Fc_TaxNo').val(selectedOption[0].dataset.taxno);
  $('#Fc_TradeRegistry').val(selectedOption[0].dataset.trade);
  $('#Fc_Code').val(selectedOption[0].dataset.kod);
  $('#Fc_Webadress').val(selectedOption[0].dataset.webadress);
  $('#Fc_Mail').val(selectedOption[0].dataset.mail);
  $('#Fc_Adress').val(selectedOption[0].dataset.adress);
  $('#Fc_Phone').val(selectedOption[0].dataset.phone);
  $('#Fc_Phone2').val(selectedOption[0].dataset.cep);
  $('#Fc_Fax').val(selectedOption[0].dataset.fax);
  $('#Fc_PostCode').val(selectedOption[0].dataset.post);
  $('#Fc_Country').val(selectedOption[0].dataset.country);
  $('#Fc_City').val(selectedOption[0].dataset.states);
  $('#Fc_District').val(selectedOption[0].dataset.district);
  $('#Fc_Logo').val(selectedOption[0].dataset.logo);
  $('#Fc_Exp').val(selectedOption[0].dataset.exp);


});

</script>


<script type="text/javascript">
$('#St_ids').on('change', function() {
  var selectedOption = $(this).find('option:selected');
  
  $('#St_Name').val(selectedOption[0].dataset.sname);
  $('#St_SurName').val(selectedOption[0].dataset.surname);
  $('#St_Title').val(selectedOption[0].dataset.title);
  $('#St_Phone').val(selectedOption[0].dataset.phone);
  $('#St_Department').val(selectedOption[0].dataset.dept);
  $('#St_Exp').val(selectedOption[0].dataset.exp);
  $('#St_Mail').val(selectedOption[0].dataset.mail);
  $('#St_Logo').val(selectedOption[0].dataset.logo);
  $('#St_id').val(selectedOption[0].dataset.id);



});

</script>





<script src="https://code.jquery.com/jquery-1.11.3.js"></script> 
<script type="text/javascript">
  $(document).ready(function(){ /* PREPARE THE SCRIPT */
    $("#Fc_Codew").change(function(){ /* WHEN YOU CHANGE AND SELECT FROM THE SELECT FIELD */
      var allbooks = $(this).val(); /* GET THE VALUE OF THE SELECTED DATA */
      var dataString = "Fc_Codew="+allbooks; /* STORE THAT TO A DATA STRING */

      $.ajax({ /* THEN THE AJAX CALL */
        type: "POST", /* TYPE OF METHOD TO USE TO PASS THE DATA */
        url: "factory_list.php", /* PAGE WHERE WE WILL PASS THE DATA */
        data: dataString, /* THE DATA WE WILL BE PASSING */
        success: function(result){ /* GET THE TO BE RETURNED DATA */
          $("#show").html(result); /* THE sRETURNED DATA WILL BE SHOWN IN THIS DIV */
        }
      });

    });
  });
</script>
<script type="text/javascript">
  $(document).ready(function(){ /* PREPARE THE SCRIPT */
    $("#St_ids").change(function(){ /* WHEN YOU CHANGE AND SELECT FROM THE SELECT FIELD */
      var allbookss = $(this).val(); /* GET THE VALUE OF THE SELECTED DATA */
      var dataString1 = "St_ids="+allbookss; /* STORE THAT TO A DATA STRING */

      $.ajax({ /* THEN THE AJAX CALL */
        type: "POST", /* TYPE OF METHOD TO USE TO PASS THE DATA */
        url: "staff_list.php", /* PAGE WHERE WE WILL PASS THE DATA */
        data: dataString1, /* THE DATA WE WILL BE PASSING */
        success: function(result1){ /* GET THE TO BE RETURNED DATA */
          $("#show1").html(result1); /* THE RETURNED DATA WILL BE SHOWN IN THIS DIV */
        }
      });

    });
  });
</script>

</body>
<!-- END: Body-->

</html>    

