 

<script type="text/javascript"> 

function stopRKey(evt) { 
  var evt = (evt) ? evt : ((event) ? event : null); 
  var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); 
  if ((evt.keyCode == 13) && (node.type=="text"))  {return false;} 
} 

document.onkeypress = stopRKey; 

</script>

 


	

<!-- Add mousewheel plugin (this is optional) -->
<script type="text/javascript" src="fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>

<!-- Add fancyBox -->
<link rel="stylesheet" href="fancybox/source/jquery.fancybox.css?v=2.1.5" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>

<!-- Optionally add helpers - button, thumbnail and/or media -->
<link rel="stylesheet" href="fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.5" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.6"></script>

<link rel="stylesheet" href="fancybox/source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script>






<script type="text/javascript">
	$(document).ready(function() {
	$(".various").fancybox({
		maxWidth	: 800,
		maxHeight	: 600,
		fitToView	: false,
		width		: '70%',
		height		: '70%',
		autoSize	: false,
		closeClick	: false,
		openEffect	: 'none',
		closeEffect	: 'none'
	});
});
</script>
 
<div class="box">
<form name="form1" method="post" action="admin.php?target=eldensatisekle-islem">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active">
 <a href="#tab_1" data-toggle="tab">Satış Bilgileri</a></li>

<BR>
<? echo $_SESSION["kullanici_adi"];?>


                                </ul>
<div class="tab-content" >


<div class="tab-pane active" id="tab_1">
<div class="box box-success">
              


 <div class="box-body">
<input name="KONSINYE_ISLEM_ID" type="hidden" id="KONSINYE_ISLEM_ID" size="20" />
 <input name="SATIS_SEKLI" type="hidden" id="SATIS_SEKLI" value="Elden_Satis" size="20" />
<input name="SATIS_DEPRESANT" type="hidden" id="SATIS_DEPRESANT" value="<? echo $_SESSION["kullanici_adi"];?>" size="20" />

<label>Ürün Adı</label>
<select name="KONSINYE_URUN_ADI" id="KONSINYE_URUN_ADI" class="form-control   select2-hidden-accessible"   aria-hidden="true" required>
 
     <?php include('baglan.php'); 
$sql = mysql_query("SELECT * FROM urunler"); 
while ($a = mysql_fetch_array($sql)) {
if ($yaz[SATIS_URUN_ADI] == $a[URUN_LINK]){ $durum=  'selected="selected"'; } else { $durum =''; }?>
  
<option value="<?php echo $a['URUN_LINK']?>" <?php echo $durum; ?> ><?php echo $a[URUN_ADI];?></option>

<?php } ?>
</select>
 <BR>

<label>Ürün Fiyatı</label>
<select name="SATIS_TUTARI" id="SATIS_TUTARI" class="form-control   select2-hidden-accessible"   aria-hidden="true" required>
 
     <?php include('baglan.php'); 
$sql = mysql_query("SELECT * FROM urunler"); 
while ($a = mysql_fetch_array($sql)) { if ($yaz[SATIS_URUN_ADI] == $a[URUN_LINK]){ $durum=  'selected="selected"'; } else { $durum =''; }?>
<option value="<?php echo $a['URUN_FIYAT']?>" <?php echo $durum; ?> ><?php echo $a[URUN_ADI];?> - <?php echo $a[URUN_FIYAT];?>  </option>

<?php } ?>
</select>
 <BR>
 
 <label>Ürün Kullanımı</label>
<select name="SATIS_URUN_KULLANIM" id="SATIS_URUN_KULLANIM" class="form-control   select2-hidden-accessible"   aria-hidden="true" required>
<option value="Oral">Oral</option>
<option value="Enjeksiyon">Enjeksiyon</option>
</select>
 


 <BR>

<label>Satış Adet</label>
<input name="SATIS_ADET" type="text" class="form-control"  id="SATIS_ADET" size="63"  required/> 
 


<label>Satış Tarihi</label>

 <input type="date"   name="KONSINYE_TARIH" id="KONSINYE_TARIH" class="form-control"  min="2022-01-01" max="2022-12-31" required >
 <BR>
<label>Adı ve Soyadı</label>
<input name="KONSINYE_ECZANE" type="text" class="form-control"  id="KONSINYE_ECZANE" size="63"  required/> 
 
 
 
 
    

 




 
  <BR>

 
 
 <label>ÜRÜN KULLANIMI</label>
<select name="SATIS_URUN_KULLANIM" id="SATIS_URUN_KULLANIM" class="form-control   select2-hidden-accessible"   aria-hidden="true" required>
<option value="Oral">Oral</option>
<option value="Enjeksiyon">Enjeksiyon</option>
</select>
 
  <BR>

<BR>
 <label>SATIŞ İL</label> <BR>
  <select  name="Iller" id="Iller" class="form-control" >
      <option value="0">Lütfen Bir İl Seçiniz</option>
  </select>

<br> <label>SATIŞ İLÇE</label><BR>
  <select   name="Ilceler"  id="Ilceler" disabled="disabled" class="form-control" >
      <option value="0">Lütfen Önce bir İl seçiniz</option>
  </select>
<br>




 

 

 

  
 
                  
                </div><!-- /.box-body -->
              </div><!-- /.box -->

<input name="button" type="submit"  class="btn btn-block btn-success" id="button" value="Satış Ekle" width="200"/>

</div>

  







 



</div></div></div></div>

                                </div><!-- /.tab-content -->










 
                            </div><!-- nav-tabs-custom -->
                        </div>

</form>


</div>