<fieldset class="noborder">
    {include file='r/hidden.tpl' name="drawings_delivery_note_edit"}{* What entry do we edit - If empty = add *}
    
    {include file='r/select-project.tpl' name="drawings_delivery_note_project" title="drawings_inout_project" class="is_project required"
        list=$projects_list id="id" text="project"
        add_icons_file="project" filter_favourite_list=$projects_favourite_list}
</fieldset>

<fieldset class="borderbottom">
    {include file='r/input.tpl' name="drawings_delivery_note_transmittal_form_name" title="drawings_inout_dn_id" collapse='formcoll' class="required t-mid"
         maxlength=30
         add_icons_file="number_generation" ng_project_id="drawings_delivery_note_project" ng_subject="Lieferschein/Delivery Note"}
    {include file='r/input.tpl' name="drawings_delivery_note_amount" title="drawings_inout_amount" class="numberi18n" collapse='formcoll'}
    
    {include file='r/date.tpl' name="drawings_delivery_note_date" title="drawings_inout_date_out"}
</fieldset>

<fieldset class="borderbottom">
    {include file='r/textarea.tpl' name="drawings_delivery_note_purpose" title="drawings_purpose" class="t-mid"}
    {include file='r/textarea.tpl' name="drawings_delivery_note_comment" title="drawings_inout_dn_comment" class="t-mid"}
    {include file='r/textarea.tpl' name="drawings_delivery_note_remarks" title="drawings_inout_dn_remarks" class="t-mid"}
</fieldset>

<fieldset class="borderbottom">
    {include file='r/many.tpl' name="drawings_delivery_note_recipients" title="drawings_inout_recipients"
        add_method="drawings_delivery_note.recipients.add_open"
        class="removeable sortable required top_is_main"}
</fieldset>

<fieldset class="borderbottom">    
    {include file='r/many.tpl' name="drawings_delivery_note_drawings" title="drawings_inout_drawing_ids"
        add_method="drawings_delivery_note.drawings.add_open"
        class="removeable sortable required"}
</fieldset>
