added credit max in configuration
This commit is contained in:
parent
9a41904364
commit
ec27ed4c8d
|
|
@ -65,13 +65,13 @@ return [
|
|||
[
|
||||
'name' => 'subscription',
|
||||
'title' => 'admin::app.admin.system.newsletter-subscription',
|
||||
'type' => 'boolean'
|
||||
'type' => 'boolean',
|
||||
]
|
||||
],
|
||||
], [
|
||||
'key' => 'customer.settings.email',
|
||||
'name' => 'admin::app.admin.system.email',
|
||||
'sort' => 2,
|
||||
'sort' => 3,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'verification',
|
||||
|
|
@ -79,6 +79,24 @@ return [
|
|||
'type' => 'boolean'
|
||||
]
|
||||
],
|
||||
], [
|
||||
'key' => 'customer.settings.credit-max',
|
||||
'name' => 'admin::app.admin.system.credit-max',
|
||||
'sort' => 4,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'Use Credit Max',
|
||||
'title' => 'admin::app.admin.system.use-credit-max',
|
||||
'type' => 'boolean',
|
||||
'channel_based' => true
|
||||
], [
|
||||
'name' => 'Credit Max Value',
|
||||
'title' => 'admin::app.admin.system.credit-max-value',
|
||||
'type' => 'text',
|
||||
'validation' => 'decimal',
|
||||
'channel_based' => true
|
||||
]
|
||||
],
|
||||
], [
|
||||
'key' => 'general',
|
||||
'name' => 'admin::app.admin.system.general',
|
||||
|
|
|
|||
|
|
@ -997,7 +997,10 @@ return [
|
|||
'weight-unit' => 'Weight Unit',
|
||||
'design' => 'Design',
|
||||
'admin-logo' => 'Admin Logo',
|
||||
'logo-image' => 'Logo Image'
|
||||
'logo-image' => 'Logo Image',
|
||||
'credit-max' => 'Customer Credit Max',
|
||||
'credit-max-value' => 'Credit Max Value',
|
||||
'use-credit-max' => 'Use Credit Max'
|
||||
]
|
||||
]
|
||||
];
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
<accordian :active="false" title="labels">
|
||||
<div slot="body">
|
||||
<div class="control-group" :class="[errors.has('label') ? 'has-error' : '']" v-if="dedicated_label">
|
||||
<label for="label" class="required">Global Label</label>
|
||||
<label for="label">Global Label</label>
|
||||
|
||||
<input type="text" class="control" name="label[global]" v-model="label.global" data-vv-as=""label"">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue