add editable account on reception/customer-cart, add towel handling

This commit is contained in:
2016-10-21 20:39:02 +02:00
parent 8585286150
commit 90c598f8c6
26 changed files with 649 additions and 37 deletions

View File

@@ -99,8 +99,11 @@ class DetstaConsoleController extends Controller
$content = $detsta->toString();
file_put_contents('c:\tmp\detsta.txt', $content);
$fn = 'c:\tmp\detsta.txt';
file_put_contents($fn , $content);
echo "File saved: " . $fn;
}
/**

View File

@@ -0,0 +1,29 @@
<?php
use yii\db\Schema;
use yii\db\Migration;
class m161017_054129_alter__table__customer__add__column_towel_count extends Migration
{
public function up()
{
$this->addColumn("customer", "towel_count", "int default 0");
}
public function down()
{
echo "m161017_054129_alter__table__customer__add__column_towel_count cannot be reverted.\n";
return false;
}
/*
// Use safeUp/safeDown to run migration code within a transaction
public function safeUp()
{
}
public function safeDown()
{
}
*/
}