\n";
if(!$this->new)
{
global $PHP_SELF;
$html .= "bill_id."&bill_product_id=".$this->bill_product_id."&db_action=move_down\"> | \n";
$html .= "bill_id."&bill_product_id=".$this->bill_product_id."&db_action=move_up\"> | \n";
}
$html .= "\n";
$label = new NTKLabel("details_label", "Textzeile");
$html .= $label->getHtml();
$html .= " | \n";
$html .= "\n";
$entry = new NTKEntry("details", $this->details, "width: 200px;");
$html .= $entry->getHtml();
$html .= " | \n";
if($this->new)
{
$html .= "\n";
$button = new NTKButton("button_new", "hinzufügen", "document.forms['bill_details_form_".$this->bill_product_id."'].submit();");
$html .= $button->getHtml();
$html .= " | \n";
$html .= "\n";
}
else
{
$html .= "\n";
$button = new NTKButton("button_edit", "ok", "document.forms['bill_details_form_".$this->bill_product_id."'].submit();");
$html .= $button->getHtml();
$html .= " | \n";
$html .= "\n";
$html .= "\n";
$button = new NTKButton("button_delete", "löschen", "location.href = 'bill.php?action=edit&bill_id=".$this->bill_id."&db_action=position_delete&bill_product_id=".$this->bill_product_id."';");
$html .= $button->getHtml();
$html .= " | \n";
}
$html .= "
\n";
$html .= "