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