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' },
--- /dev/null
+-- @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';
<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>