jb-data.de/compile/c1052a7d67926ba8e9ca783e877009f2fd5901f7_0.file.ma_edit.tpl.php
2025-08-11 22:23:30 +02:00

560 lines
22 KiB
PHP

<?php
/* Smarty version 4.3.0, created on 2024-09-25 18:42:22
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_edit.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66f43d6e0a74e1_56432842',
'has_nocache_code' => false,
'file_dependency' =>
array (
'c1052a7d67926ba8e9ca783e877009f2fd5901f7' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_edit.tpl',
1 => 1727282537,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66f43d6e0a74e1_56432842 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<div class="name"> <span> <?php echo $_smarty_tpl->tpl_vars['ma']->value['name'];?>
<?php echo $_smarty_tpl->tpl_vars['ma']->value['name2'];?>
</span><span style="font-size: 12px"><i class="far fa-id-card-alt"></i> <?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
</span></div>
</br>
<div class="ma1">
<i class="fad fa-address-card fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tbody>
<tr>
<td width="130px" nowrap="nowrap">Name:</td>
<td width="290px"><input type="text" id="data_1" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['name'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,1)"/></span>
</td>
</tr>
<tr>
<tr>
<td nowrap="nowrap">Strasse:</td>
<td><input type="text" name="strasse" id="data_2" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['strasse'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,2)"/></td></tr>
<tr>
<tr>
<td nowrap="nowrap">Zusatz:</td>
<td><input type="text" name="azusatz" id="data_3" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['azusatz'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,3)"></td></tr>
<tr>
<td nowrap="nowrap">PLZ Ort:</td>
<td><input type="text" name="plz" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['plz'];?>
" id="data_4" style="width:55px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,4)">&nbsp;
<input type="text" name="ort" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['ort'];?>
" id="data_5" style="width:225px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,5)"></td>
</tr>
<tr>
<td style="width:100px" nowrap="nowrap">Geburtstag:</td>
<td><input type="number" name="tag" id="data_6" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['gebtag']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,6)">
<input type="number" name="monat" id="data_7" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['gebmonat']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,7)">
<input type="number" name="jahr" id="data_8" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['gebjahr'];?>
" style="width:80px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,8)">
</td>
</tr>
<tr>
<td nowrap="nowrap">Geburtsort:</td>
<td><input type="text" name="gebort" id="data_9" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['gebort'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,9)"></td>
</tr>
<tr>
<td nowrap="nowrap">Geburtsname:</td>
<td><input type="text" name="gebname" id="data_10" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['gebname'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,10)"></td>
</tr>
<tr>
<td nowrap="nowrap">Nationalit&auml;t:</td>
<td><input type="text" name="staata" id="data_11" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['staata'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,11)"></td>
</tr>
<tr>
<td nowrap="nowrap">BPA-Nummer::</td>
<td><input type="text" name="bpa" id="data_12" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['bpa'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,12)"></td>
</tr>
</body>
</table>
</div>
</br>
<div class="ma1">
<i class="fad fa-phone-office fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tr>
<td style="width:130px" nowrap="nowrap">Mail:</td>
<td width="290px"><input type="text" name="mail" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['mail'];?>
" style="width:220px" id="data_26" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,26)"/></td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Handy:</td>
<td width="290px"><input type="text" name="handy" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['handy'];?>
" style="width:220px" id="data_27" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,27)"/></td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Tel2:</td>
<td width="290px"><input type="text" name="tel2" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['tel2'];?>
" style="width:220px" id="data_28" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,28)"/></td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Festnetz:</td>
<td width="290px"><input type="text" name="festnetz" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['festnetz'];?>
" style="width:220px" id="data_29" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,29)"/></td>
</tr>
<tr>
<td>No SMS</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['nosms'] == 1) {?>
<input type="checkbox" name="nosms" id="nosms" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,56)"/>
<?php } else { ?>
<input type="checkbox" name="nosms" id="nosms" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,57)"/>
<?php }?>
</tr>
</body>
</table>
</div>
</br>
<div class="ma1">
<i class="fad fa-user-friends fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tbody>
<tr><td width="130px" nowrap="nowrap">Familienstand:</td>
<td width="290px"><input type="text" name="famstand" id="data_13" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['famstand'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,13)"/></span>
</tr>
<tr>
<td nowrap="nowrap">Kinder / Freibetrag:</td>
<td><input type="text" name="kinder" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kinder'];?>
" style="width:55px" id="data_14" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,14)"/>&nbsp;
<input type="text" name="kinderfb" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kinderfb'];?>
" style="width:220px" id="data_15" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,15)"/>
</td>
</tr>
<tr><td>Steuer.ID-Nr.:</td>
<td><input type="text" name="steuerid" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['steuerid'];?>
" style="width:290px" id="data_16" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,16)"/></td>
</tr>
<tr><td>Steuerklasse:</td>
<td><input type="text" name="steuerkl" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['steuerkl'];?>
" style="width:290px" id="data_17" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,17)"/></td>
</tr>
<tr><td>Sozialvers.-Nr.</td>
<td><input type="text" name="svnummer" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['svnummer'];?>
" style="width:290px" id="data_18" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,18)"/></td>
</tr>
</tr>
<tr>
<td>Rentner</td>
<td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['rentner'] == 1) {?>
<input type="checkbox" name="rentner" id="rentner" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,30)"/>
<?php } else { ?>
<input type="checkbox" name="rentner" id="rentner" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,31)"/>
<?php }?>
<input type="text" name="rentnerinfo" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['rentnerinfo'];?>
" style="width:220px" id="data_32" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,32)"/></td>
</tr>
<tr>
<td>schwerbehindert</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['sbehind'] == 1) {?>
<input type="checkbox" name="sbehind" id="sbehind" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,33)"/>
<?php } else { ?>
<input type="checkbox" name="sbehind" id="sbehind" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,34)"/>
<?php }?>
<input type="text" name="sbehind2" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['sbehind2'];?>
" style="width:50px" id="data_19" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,19)"/> %</td>
</tr>
<tr>
<td>Student</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['student'] == 1) {?>
<input type="checkbox" name="student" id="student" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,35)"/>
<?php } else { ?>
<input type="checkbox" name="student" id="student" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,36)"/>
<?php }?>
<input type="text" name="studentinfo" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['studentinfo'];?>
" style="width:120px" id="data_20" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,20)"/></td>
</tr>
<tr>
<td>Selbständig</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['lohnabr'] == 1) {?>
<input type="checkbox" name="lohnabr" id="lohnabr" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,52)"/>
<?php } else { ?>
<input type="checkbox" name="lohnabr" id="lohnabr" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,53)"/>
<?php }?>
</tr>
<tr>
<td>Zeitzugang</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['zeitzugang'] == 1) {?>
<input type="checkbox" name="zeitzugang" id="zeitzugang" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,58)"/>
<?php } else { ?>
<input type="checkbox" name="zeitzugang" id="zeitzugang" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,59)"/>
<?php }?>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Konfessionen:</td>
<td width="250px">
<select name="kotyp" id="data_51" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,51)" style="width:50px;background-color:#222; color: #fff; border:none;border-bottom: 1px solid #333; font-size:11pt;">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kotyp']->value, 'ko_typ');
$_smarty_tpl->tpl_vars['ko_typ']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ko_typ']->value) {
$_smarty_tpl->tpl_vars['ko_typ']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ko_typ']->value['id'],'output'=>$_smarty_tpl->tpl_vars['ko_typ']->value['abk'],'selected'=>$_smarty_tpl->tpl_vars['ma']->value['konfessionen']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select> <?php echo $_smarty_tpl->tpl_vars['koinfo']->value;?>
</td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Mitarbeiter-Typ:</td>
<td width="290px">
<select name="typ" id="data_49" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,49)" style="width:190px;background-color:#222; color: #fff; border:none;border-bottom: 1px solid #333; font-size:11pt;">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['matyp']->value, 'ma_typ');
$_smarty_tpl->tpl_vars['ma_typ']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ma_typ']->value) {
$_smarty_tpl->tpl_vars['ma_typ']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ma_typ']->value['id'],'output'=>$_smarty_tpl->tpl_vars['ma_typ']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['ma']->value['typ']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Tarif-Typ:</td>
<td width="290px">
<select name="ttyp" id="data_60" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,60)" style="width:190px;background-color:#222; color: #fff; border:none;border-bottom: 1px solid #333; font-size:11pt;">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mattyp']->value, 't_typ');
$_smarty_tpl->tpl_vars['t_typ']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['t_typ']->value) {
$_smarty_tpl->tpl_vars['t_typ']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['t_typ']->value['id'],'output'=>$_smarty_tpl->tpl_vars['t_typ']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['t']->value['typ']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Urlaubstage /Jahr:</td>
<td width="290px"><input type="text" name="urlaubprojahr" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['urlaubprojahr'];?>
" style="width:220px" id="data_50" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,50)"/></td>
</tr>
</body>
</table>
</div>
</br>
<div class="ma1">
<i class="fad fa-money-check-edit-alt fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tbody>
<tr>
<td style="width:130px" nowrap="nowrap">Bankname:</td>
<td width="290px"><input type="text" name="bankname" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['bankname'];?>
" style="width:220px" id="data_21" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,21)"/></td>
</tr>
<tr>
<td nowrap="nowrap">Kontoinhaber:</td>
<td><input type="text" name="kontoinh" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kontoinh'];?>
" style="width:220px" id="data_22" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,22)"/></td>
</tr>
<tr>
<td nowrap="nowrap">IBAN:</td>
<td><input type="text" name="iban" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['iban'];?>
" style="width:220px" id="data_23" autocomplete onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,23)"/></td>
</tr>
<tr>
<td nowrap="nowrap">BIC:</td>
<td><input type="text" name="BIC" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['BIC'];?>
" style="width:220px" id="data_24" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,24)"/></td>
</tr>
<tr>
<td nowrap="nowrap">Bankinfo:</td>
<td><input type="text" name="bankinfo" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['bankinfo'];?>
" style="width:220px" id="data_25" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,25)"/></td>
</tr>
</body>
</table>
</div>
</br>
<div class="ma1">
<i class="fad fa-calendar-alt fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tr>
<td style="width:130px" nowrap="nowrap">Eintrittstag:</td>
<td><input type="number" name="eintag" id="data_37" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['eintag']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,37)">
<input type="number" name="einmonat" id="data_38" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['einmonat']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,38)">
<input type="number" name="einjahr" id="data_39" value="<?php echo sprintf("%04d",$_smarty_tpl->tpl_vars['ma']->value['einjahr']);?>
" style="width:80px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,39)">
</td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Austrittstag:</td>
<td><input type="number" name="austag" id="data_40" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['austag']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,40)">
<input type="number" name="ausmonat" id="data_41" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['ausmonat']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,41)">
<input type="number" name="ausjahr" id="data_42" value="<?php echo sprintf("%04d",$_smarty_tpl->tpl_vars['ma']->value['ausjahr']);?>
" style="width:80px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,42)">
</td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">befristet bis:</td>
<td><input type="number" name="beftag" id="data_43" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['beftag']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,43)">
<input type="number" name="befmonat" id="data_44" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['befmonat']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,44)">
<input type="number" name="befjahr" id="data_45" value="<?php echo sprintf("%04d",$_smarty_tpl->tpl_vars['ma']->value['befjahr']);?>
" style="width:80px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,45)">
</td>
</tr>
<tr>
<td>Aktiv</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['aktiv'] == 1) {?>
<input type="checkbox" name="aktiv" id="aktiv" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,54)"/>
<?php } else { ?>
<input type="checkbox" name="aktiv" id="aktiv" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,55)"/>
<?php }?>
</tr>
</body>
</table>
</div>
</br>
</br>
<div class="ma1">
<i class="fad fa-address-card fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tr>
<td style="width:130px" nowrap="nowrap">Krankenkasse:</td>
<td width="290px"><input type="text" name="kkasse" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kkasse'];?>
" style="width:220px" id="data_46" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,46)"/></td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Mitg.-Nr.:</td>
<td width="290px"><input type="text" name="kkassennr" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kkassennr'];?>
" style="width:220px" id="data_47" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,47)"/></td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Beitrag in %:</td>
<td width="290px"><input type="text" name="kkbeitrag" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kkbeitrag'];?>
" style="width:220px" id="data_48" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,48)"/></td>
</tr>
</body>
</table>
</div>
<style>
input[type=checkbox] {
width: 20px;
border:none;
font-size: 16px;
border-bottom: 1px solid #333333;
color: #ff0000;
background-color: #222222;
}
input[type=text] {
width: 250px;
border:none;
font-size: 16px;
border-bottom: 1px solid #333333;
color: #dddddd;
background-color: #222222;
}
input[type=text]:focus{
border:none;
outline:none;
border-bottom:1px solid #ff0000;
}
input[type=number] {
width: 250px;
border:none;
font-size: 16px;
border-bottom: 1px solid #333333;
color: #dddddd;
background-color: #222222;
}
input[type=number]:focus{
border:none;
outline:none;
border-bottom:1px solid #ff0000;
}
.name {
align-content: center;
background: #115270;
color: #ccc;
padding: 5px;
border: 1px solid #115270;
border-radius:6px;
margin-left: -5px;
margin-top: -12px;
height: 50px;
font-size: 24px;
width: 570px;
}
.ma1 {
background: #222222;
color: #999;
padding: 5px;
font-size: 13px;
min-height: 115px;
max-height: 615px;
border: 1px solid #115270;
border-radius: 6px;
margin-top: -12px;
margin-left: -5px;
width: 570px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
</style>
<?php echo '<script'; ?>
>
function save_ma(maID,feld) {
$.ajax({
type: 'POST',
url: "ajax.php?s=save_ma",
dataType: 'json',
data: 'maID=' + maID + '&feld='+feld + "&data=" +$("#data_"+feld).val(),
success: function (data) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
});
}
<?php echo '</script'; ?>
>
<?php }
}