diff --git a/composer.json b/composer.json index 1e6a501..41a6900 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,7 @@ "fideloper/proxy": "^4.4", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.0.1", + "kyslik/column-sortable": "^6.4", "laravel/framework": "^8.40", "laravel/tinker": "^2.5", "laravel/ui": "^3.3" diff --git a/composer.lock b/composer.lock index 06a1304..0105bd1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7a12c9538bba77431a51733da361d4d0", + "content-hash": "f856fb3d85743a16b6ab80c680d2b107", "packages": [ { "name": "asm89/stack-cors", @@ -856,6 +856,67 @@ }, "time": "2021-04-26T09:17:50+00:00" }, + { + "name": "kyslik/column-sortable", + "version": "6.4.0", + "source": { + "type": "git", + "url": "https://github.com/Kyslik/column-sortable.git", + "reference": "9aef633bfe160c5a43d97e92e55983daa2696eb1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Kyslik/column-sortable/zipball/9aef633bfe160c5a43d97e92e55983daa2696eb1", + "reference": "9aef633bfe160c5a43d97e92e55983daa2696eb1", + "shasum": "" + }, + "require": { + "illuminate/database": "5.8.*|^6.0|^7.0|^8.0", + "illuminate/support": "5.8.*|^6.0|^7.0|^8.0", + "php": ">=7.2" + }, + "require-dev": { + "orchestra/testbench": "^5.0", + "phpunit/phpunit": "^8.5" + }, + "type": "package", + "extra": { + "laravel": { + "providers": [ + "Kyslik\\ColumnSortable\\ColumnSortableServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Kyslik\\ColumnSortable\\": "src/ColumnSortable/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Martin Kiesel", + "email": "martin.kiesel@gmail.com", + "role": "Developer and maintainer" + } + ], + "description": "Package for handling column sorting in Laravel 6.x", + "keywords": [ + "column", + "laravel", + "sort", + "sortable", + "sorting" + ], + "support": { + "issues": "https://github.com/Kyslik/column-sortable/issues", + "source": "https://github.com/Kyslik/column-sortable/tree/6.4.0" + }, + "time": "2020-09-11T21:17:32+00:00" + }, { "name": "laravel/framework", "version": "v8.47.0", diff --git a/config/app.php b/config/app.php index f572b64..a51af0b 100644 --- a/config/app.php +++ b/config/app.php @@ -161,6 +161,7 @@ return [ Illuminate\Translation\TranslationServiceProvider::class, Illuminate\Validation\ValidationServiceProvider::class, Illuminate\View\ViewServiceProvider::class, + Kyslik\ColumnSortable\ColumnSortableServiceProvider::class, /* * Package Service Providers... diff --git a/resources/views/fermentations/fermentation/edit.blade.php b/resources/views/fermentations/fermentation/edit.blade.php new file mode 100644 index 0000000..96032a5 --- /dev/null +++ b/resources/views/fermentations/fermentation/edit.blade.php @@ -0,0 +1,43 @@ +@extends('fermentations') +@section('main')
+
+

Update Fermentation Step

+ + @if ($errors->any()) +
+
    + @foreach ($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+
+ @endif +
+ @method('PATCH') + @csrf +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+@endsection