From 565b4a8991fe9fac26e4b0df6081516666370f20 Mon Sep 17 00:00:00 2001 From: amit kumar laravel Date: Tue, 17 Sep 2024 13:02:50 +0530 Subject: [PATCH] update number type to integer or string from 2.0 branch to master --- docs/2.0/packages/create-system-configuration.md | 8 ++++---- docs/2.0/packages/datagrid.md | 4 ++-- docs/2.1/packages/create-system-configuration.md | 8 ++++---- docs/2.1/packages/datagrid.md | 4 ++-- docs/2.2/packages/create-system-configuration.md | 8 ++++---- docs/2.x/packages/create-system-configuration.md | 8 ++++---- docs/2.x/packages/datagrid.md | 4 ++-- docs/master/packages/create-system-configuration.md | 8 ++++---- 8 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/2.0/packages/create-system-configuration.md b/docs/2.0/packages/create-system-configuration.md index 435b9643f..5d2678620 100644 --- a/docs/2.0/packages/create-system-configuration.md +++ b/docs/2.0/packages/create-system-configuration.md @@ -66,7 +66,7 @@ return [ ], [ 'name' => 'items', 'title' => 'blog::app.admin.system.settings.items_per_page', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'numeric' ] ] @@ -169,7 +169,7 @@ return [ [ 'name' => 'number_type', 'title' => 'admin::app.admin.system.number-type', - 'type' => 'number', + 'type' => 'integer', ], ], ], @@ -309,7 +309,7 @@ return [ ], [ 'name' => 'minimum_order_amount', 'title' => 'admin::app.configuration.index.sales.order-settings.minimum-order.minimum-order-amount', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'required_if:enable,1|numeric', 'depends' => 'enable:1', 'channel_based' => true, @@ -391,7 +391,7 @@ return [ [ 'name' => 'max_upload_size', 'title' => 'admin::app.admin.system.max-upload-size', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'required|integer|min:1|max:1024', ], [ diff --git a/docs/2.0/packages/datagrid.md b/docs/2.0/packages/datagrid.md index b9adb122d..488f05230 100644 --- a/docs/2.0/packages/datagrid.md +++ b/docs/2.0/packages/datagrid.md @@ -57,7 +57,7 @@ In **`Webkul\DataGrid\DataGrid\DataGrid.php`** abstract class, two abstract meth $this->addColumn([ 'index' => 'id', 'label' => trans('blog::app.admin.datagrid.id'), - 'type' => 'number', + 'type' => 'integer', 'searchable' => false, 'sortable' => true, 'filterable' => true @@ -203,7 +203,7 @@ class PostDataGrid extends DataGrid $this->addColumn([ 'index' => 'id', 'label' => trans('blog::app.admin.datagrid.id'), - 'type' => 'number', + 'type' => 'integer', 'searchable' => false, 'sortable' => true, 'filterable' => true, diff --git a/docs/2.1/packages/create-system-configuration.md b/docs/2.1/packages/create-system-configuration.md index f52fb0165..8c590242f 100644 --- a/docs/2.1/packages/create-system-configuration.md +++ b/docs/2.1/packages/create-system-configuration.md @@ -66,7 +66,7 @@ return [ ], [ 'name' => 'items', 'title' => 'blog::app.admin.system.settings.items_per_page', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'numeric' ] ] @@ -171,7 +171,7 @@ return [ [ 'name' => 'number_type', 'title' => 'admin::app.admin.system.number-type', - 'type' => 'number', + 'type' => 'Integer', ], ], ], @@ -315,7 +315,7 @@ return [ ], [ 'name' => 'minimum_order_amount', 'title' => 'admin::app.configuration.index.sales.order-settings.minimum-order.minimum-order-amount', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'required_if:enable,1|numeric', 'depends' => 'enable:1', 'channel_based' => true, @@ -398,7 +398,7 @@ return [ [ 'name' => 'max_upload_size', 'title' => 'admin::app.admin.system.max-upload-size', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'required|integer|min:1|max:1024', ], [ diff --git a/docs/2.1/packages/datagrid.md b/docs/2.1/packages/datagrid.md index b9adb122d..488f05230 100644 --- a/docs/2.1/packages/datagrid.md +++ b/docs/2.1/packages/datagrid.md @@ -57,7 +57,7 @@ In **`Webkul\DataGrid\DataGrid\DataGrid.php`** abstract class, two abstract meth $this->addColumn([ 'index' => 'id', 'label' => trans('blog::app.admin.datagrid.id'), - 'type' => 'number', + 'type' => 'integer', 'searchable' => false, 'sortable' => true, 'filterable' => true @@ -203,7 +203,7 @@ class PostDataGrid extends DataGrid $this->addColumn([ 'index' => 'id', 'label' => trans('blog::app.admin.datagrid.id'), - 'type' => 'number', + 'type' => 'integer', 'searchable' => false, 'sortable' => true, 'filterable' => true, diff --git a/docs/2.2/packages/create-system-configuration.md b/docs/2.2/packages/create-system-configuration.md index 65f57aeba..5c3ba9c05 100644 --- a/docs/2.2/packages/create-system-configuration.md +++ b/docs/2.2/packages/create-system-configuration.md @@ -66,7 +66,7 @@ return [ ], [ 'name' => 'items', 'title' => 'blog::app.admin.system.settings.items_per_page', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'numeric' ] ] @@ -171,7 +171,7 @@ return [ [ 'name' => 'number_type', 'title' => 'admin::app.admin.system.number-type', - 'type' => 'number', + 'type' => 'integer', ], ], ], @@ -315,7 +315,7 @@ return [ ], [ 'name' => 'minimum_order_amount', 'title' => 'admin::app.configuration.index.sales.order-settings.minimum-order.minimum-order-amount', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'required_if:enable,1|numeric', 'depends' => 'enable:1', 'channel_based' => true, @@ -398,7 +398,7 @@ return [ [ 'name' => 'max_upload_size', 'title' => 'admin::app.admin.system.max-upload-size', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'required|integer|min:1|max:1024', ], [ diff --git a/docs/2.x/packages/create-system-configuration.md b/docs/2.x/packages/create-system-configuration.md index 435b9643f..5d2678620 100644 --- a/docs/2.x/packages/create-system-configuration.md +++ b/docs/2.x/packages/create-system-configuration.md @@ -66,7 +66,7 @@ return [ ], [ 'name' => 'items', 'title' => 'blog::app.admin.system.settings.items_per_page', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'numeric' ] ] @@ -169,7 +169,7 @@ return [ [ 'name' => 'number_type', 'title' => 'admin::app.admin.system.number-type', - 'type' => 'number', + 'type' => 'integer', ], ], ], @@ -309,7 +309,7 @@ return [ ], [ 'name' => 'minimum_order_amount', 'title' => 'admin::app.configuration.index.sales.order-settings.minimum-order.minimum-order-amount', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'required_if:enable,1|numeric', 'depends' => 'enable:1', 'channel_based' => true, @@ -391,7 +391,7 @@ return [ [ 'name' => 'max_upload_size', 'title' => 'admin::app.admin.system.max-upload-size', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'required|integer|min:1|max:1024', ], [ diff --git a/docs/2.x/packages/datagrid.md b/docs/2.x/packages/datagrid.md index b9adb122d..488f05230 100644 --- a/docs/2.x/packages/datagrid.md +++ b/docs/2.x/packages/datagrid.md @@ -57,7 +57,7 @@ In **`Webkul\DataGrid\DataGrid\DataGrid.php`** abstract class, two abstract meth $this->addColumn([ 'index' => 'id', 'label' => trans('blog::app.admin.datagrid.id'), - 'type' => 'number', + 'type' => 'integer', 'searchable' => false, 'sortable' => true, 'filterable' => true @@ -203,7 +203,7 @@ class PostDataGrid extends DataGrid $this->addColumn([ 'index' => 'id', 'label' => trans('blog::app.admin.datagrid.id'), - 'type' => 'number', + 'type' => 'integer', 'searchable' => false, 'sortable' => true, 'filterable' => true, diff --git a/docs/master/packages/create-system-configuration.md b/docs/master/packages/create-system-configuration.md index e840f8aac..39b0edd0d 100644 --- a/docs/master/packages/create-system-configuration.md +++ b/docs/master/packages/create-system-configuration.md @@ -66,7 +66,7 @@ return [ ], [ 'name' => 'items', 'title' => 'blog::app.admin.system.settings.items_per_page', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'numeric' ] ] @@ -169,7 +169,7 @@ return [ [ 'name' => 'number_type', 'title' => 'admin::app.admin.system.number-type', - 'type' => 'number', + 'type' => 'string', ], ], ], @@ -309,7 +309,7 @@ return [ ], [ 'name' => 'minimum_order_amount', 'title' => 'admin::app.configuration.index.sales.order-settings.minimum-order.minimum-order-amount', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'required_if:enable,1|numeric', 'depends' => 'enable:1', 'channel_based' => true, @@ -391,7 +391,7 @@ return [ [ 'name' => 'max_upload_size', 'title' => 'admin::app.admin.system.max-upload-size', - 'type' => 'number', + 'type' => 'integer', 'validation' => 'required|integer|min:1|max:1024', ], [