mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Bugfixes gutschrift
This commit is contained in:
parent
e201f50b00
commit
70594fbd00
@ -6057,6 +6057,7 @@ CREATE TABLE IF NOT EXISTS `gutschrift_position` (
|
||||
`umsatzsteuer` varchar(255) NOT NULL,
|
||||
`bemerkung` text NOT NULL,
|
||||
`logdatei` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`explodiert_parent` int(11) NOT NULL DEFAULT '0',
|
||||
`explodiert_parent_artikel` int(11) NOT NULL DEFAULT '0',
|
||||
`keinrabatterlaubt` int(1) DEFAULT NULL,
|
||||
`grundrabatt` decimal(10,2) DEFAULT NULL,
|
||||
|
@ -321,7 +321,7 @@ class Briefpapier extends SuperFPDF {
|
||||
$auftrag_position_id = $this->app->DB->Select("SELECT auftrag_position_id FROM rechnung_position WHERE id='$posid'");
|
||||
}
|
||||
if($doctype === 'gutschrift'){
|
||||
$auftrag_position_id = $this->app->DB->Select("SELECT gutschrift_position_id FROM rechnung_position WHERE id='$posid'");
|
||||
// $auftrag_position_id = $this->app->DB->Select("SELECT gutschrift_position_id FROM rechnung_position WHERE id='$posid'");
|
||||
}
|
||||
if($doctype === 'rechnung')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user