mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
adresse added sachkonto for verbindlichkeit
This commit is contained in:
parent
7435a0605b
commit
7029295cb3
@ -3649,6 +3649,17 @@
|
||||
"Extra": "",
|
||||
"Privileges": "select,insert,update,references",
|
||||
"Comment": ""
|
||||
},
|
||||
{
|
||||
"Field": "kontorahmen",
|
||||
"Type": "int(11)",
|
||||
"Collation": null,
|
||||
"Null": "NO",
|
||||
"Key": "",
|
||||
"Default": "0",
|
||||
"Extra": "",
|
||||
"Privileges": "select,insert,update,references",
|
||||
"Comment": ""
|
||||
}
|
||||
],
|
||||
"keys": [
|
||||
|
@ -583,6 +583,9 @@ class WidgetGenadresse
|
||||
$field = new HTMLCheckbox("geburtstagskarte","","","1","0","0");
|
||||
$this->form->NewField($field);
|
||||
|
||||
$field = new HTMLInput("sachkonto","text","","30","","","","","","","","0","","");
|
||||
$this->form->NewField($field);
|
||||
|
||||
$field = new HTMLSelect("verrechnungskontoreisekosten",0,"verrechnungskontoreisekosten","","","0");
|
||||
$this->form->NewField($field);
|
||||
|
||||
|
@ -714,6 +714,9 @@ $(document).ready(function(){
|
||||
<div class="inside inside-full-height">
|
||||
<fieldset><legend>{|Finanzbuchhaltung|}</legend>
|
||||
<table width="100%" class="mkTableFormular">
|
||||
<tr>
|
||||
<td width="300">Sachkonto für Verbindlichkeiten-Vorkontierung:</td><td colspan="3">[SACHKONTO]</td>
|
||||
</tr>
|
||||
<tr><td width="210">{|Reisekosten|}:</td><td>[VERRECHNUNGSKONTOREISEKOSTEN][MSGVERRECHNUNGSKONTOREISEKOSTEN] <i>Verrechnungskonto</i></td>
|
||||
<td> </td>
|
||||
<td></td><td></td></tr>
|
||||
|
@ -34,6 +34,9 @@ class WidgetAdresse extends WidgetGenAdresse
|
||||
$this->form->ReplaceFunction("kreditlimit",$this,"ReplaceBetrag");
|
||||
$this->form->ReplaceFunction("kreditlimiteinmalig",$this,"ReplaceBetrag");
|
||||
|
||||
$this->app->YUI->AutoComplete("sachkonto","sachkonto",1);
|
||||
$this->form->ReplaceFunction("sachkonto",$this,"ReplaceKontorahmen");
|
||||
|
||||
$this->form->ReplaceFunction("lat",$this,"ReplaceBetrag");
|
||||
$this->form->ReplaceFunction("lng",$this,"ReplaceBetrag");
|
||||
$this->form->ReplaceFunction("name",$this,"ReplaceTrim");
|
||||
@ -473,6 +476,11 @@ class WidgetAdresse extends WidgetGenAdresse
|
||||
return trim($value);
|
||||
}
|
||||
|
||||
function ReplaceKontorahmen($db,$value,$fromform)
|
||||
{
|
||||
return $this->app->erp->ReplaceKontorahmen($db,$value,$fromform);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int|bool $db
|
||||
* @param string|int $value
|
||||
|
Loading…
Reference in New Issue
Block a user