This commit is contained in:
vedatakd 2021-05-31 01:42:41 +03:00
parent 6661c54cd6
commit 6fbcdb1723
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ class VisiosoftModuleAdvsCreateTaxField extends Migration
'tax' => [
'type' => 'anomaly.field_type.integer',
'config' => [
'default_value' => null,
'default_value' => 0,
],
],
];

View File

@ -375,6 +375,6 @@ return [
'name' => 'Publish Date'
],
'tax' => [
'name' => 'KDV Dahil Oranı'
'name' => 'KDV Oranı'
],
];

View File

@ -157,7 +157,7 @@
<div class="py-2 pr-3">
<div class="input-wrapper">
<select class="custom-select form-control" name="tax">
<option value=""></option>
<option value="0" {{ (form.fields.tax.value == "0") ? 'selected':'' }}>0</option>
<option value="1" {{ (form.fields.tax.value == "1") ? 'selected':'' }}>%1</option>
<option value="8"{{ (form.fields.tax.value == "8") ? 'selected':'' }}>%8</option>
<option value="18"{{ (form.fields.tax.value == "18") ? 'selected':'' }}>%18</option>