add editable account on reception/customer-cart, add towel handling
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
}
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user