v.1.9 update

Clients download update
This commit is contained in:
miroman-afk
2021-11-11 10:32:31 +03:00
parent 151704b637
commit 13a115ba0d
4 changed files with 4 additions and 6 deletions

View File

@@ -53,6 +53,7 @@ class ClientFile extends HRCCommand implements HRCCommandInterface {
file_put_contents($dirname . $filename, implode("\n", $finishSavedCsv)); file_put_contents($dirname . $filename, implode("\n", $finishSavedCsv));
return [ return [
'status' => 'success', 'status' => 'success',
'terminalKey' => $terminal['key'],
'filename' => $filename, 'filename' => $filename,
'filedate' => $file, 'filedate' => $file,
]; ];

View File

@@ -1,6 +1,6 @@
{ {
"name": "hrc-admin/hello-world", "name": "hrc-admin/hello-world",
"version": "1.8", "version": "1.9",
"require": { "require": {
"horeca/admin-php-module-core": "dev-master" "horeca/admin-php-module-core": "dev-master"
}, },

View File

@@ -15,9 +15,6 @@ class AddForeignKeyToClientsTable extends Migration {
$table->string('user_code')->unique()->change(); $table->string('user_code')->unique()->change();
}); });
Schema::table('clients_phone', function (Blueprint $table) {
$table->foreign('client_guid')->references('user_code')->on('clients');
});
} }
/** /**

View File

@@ -1,5 +1,5 @@
[info] [info]
name=V1 name=V1
version=1.8 version=1.9
[build] [build]
version=1.8 version=1.9