Revision 5a7d0c52
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
SL/DB/MetaSetup/Customer.pm | ||
---|---|---|
name => { type => 'text', not_null => 1 },
|
||
notes => { type => 'text' },
|
||
obsolete => { type => 'boolean', default => 'false' },
|
||
order_lock => { type => 'boolean', default => 'false' },
|
||
payment_id => { type => 'integer' },
|
||
phone => { type => 'text' },
|
||
pricegroup_id => { type => 'integer' },
|
sql/Pg-upgrade2/customer_orderlock.sql | ||
---|---|---|
-- @tag: customer_orderlock
|
||
-- @description: Boolean Auftragssperre benötigt bei shoporders
|
||
-- @depends: release_3_4_1 shops
|
||
-- @ignore: 0
|
||
ALTER TABLE customer ADD COLUMN order_lock boolean default 'f';
|
templates/webpages/customer_vendor/tabs/billing.html | ||
---|---|---|
<tr>
|
||
<th align="right">[%- LxERP.t8("Hourly rate") %]</th>
|
||
<td>[% L.input_tag("cv.hourly_rate_as_number", SELF.cv.hourly_rate_as_number) %]</td>
|
||
<th align="right" valign="top" nowrap>[% 'Shoporderlock' | $T8 %]</th>
|
||
<td>
|
||
[% L.checkbox_tag('cv.order_lock', checked = SELF.cv.order_lock, for_submit=1) %]
|
||
</td>
|
||
</tr>
|
||
[% END %]
|
||
</table>
|
Auch abrufbar als: Unified diff
WebshopApi: neues Feld order_lock in customers