design::input_notes($TransactionNotes);
 echo "<div class='form-group'>";
 echo "<label for='fileToUpload'>Take a picture or upload attachments</label><br />";
 echo "<input type='file' name='fileToUpload' id='fileToUpload' onchange='attachment_uploadFile({$TrEditNr});' />";
 echo "<span class='help-block'></span>";
 echo "</div>\n";
 echo "<div class='table-responsive' id='attachments_table'>";
 echo "</div>\n";
 echo "<br />";
 if ($FlagNew) {
     echo "<script type='text/javascript'>";
     echo "var date_today = get_today();";
     echo "document.getElementById('Date').value=date_today;";
     echo "</script>";
 } else {
     design::input_hidden("TrEditedNr", $TrEditNr);
     echo "<script type='text/javascript'>";
     echo "populate_sub_category(false);";
     echo "</script>";
 }
 echo "<button type='submit' id='SubmitButton' name='SubmitButton' class='btn btn-lg btn-success btn-block'>{$TransactionSubmit}</button>";
 echo "<br />";
 echo "<a href='landing.php' class='btn btn-lg btn-success btn-block'>Return to menu</a>";
 echo "<br />";
 echo "<br />";
 echo "</form>";
 echo "</div>\n";
 echo "<script type='text/javascript'>";
 //Refresh Attachments table
 echo "attachment_RefreshTable({$TrEditNr});\n";
 //Manager transfer disable field