Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision aae306cd

Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt

  • ID aae306cda6274d6e53a6af8e52348524416b8fba
  • Vorgänger e286e6ca
  • Nachfolger 25000c1e

Kontoauszug verbuchen: keine Multibox verwenden

Unterschiede anzeigen:

SL/Controller/BankTransaction.pm
vendor_id => $use_vendor_filter ? $vendor_of_transaction->id : undef,
vendor_name => $use_vendor_filter ? $vendor_of_transaction->name : undef,
ALL_VENDORS => $all_vendors,
limit => $myconfig{vclimit},
callback => $callback,
);
}
templates/webpages/bank_transactions/create_invoice.html
[%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE T8 %]
[%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE T8 %][%- USE P -%]
<b>Transaction</b>
<table>
......
<table>
<tr>
<th align="right">[%- LxERP.t8("Vendor") %]</th>
<td>
[%- INCLUDE 'generic/multibox.html'
name = 'vendor',
select_name = 'vendor_id',
default = ALL_VENDORS.size < limit ? vendor_id : vendor_name,
style = 'width: 250px',
DATA = ALL_VENDORS,
id_key = 'id',
label_key = 'name',
limit = limit,
show_empty = 1,
allow_textbox = 1,
class = 'initial_focus',
onChange = 'filter_drafts();',
-%]
</td>
<td>[% P.input_tag("vendor", vendor_name, class="initial_focus", style="width: 250px") %]</td>
</tr>
</table>
</form>
......
}
//-->
</script>

Auch abrufbar als: Unified diff