Small fixes for piggy banks data seed.

This commit is contained in:
James Cole 2015-07-19 22:19:26 +02:00
parent 821e007e95
commit 63f16c458d
2 changed files with 17 additions and 3 deletions

View File

@ -287,7 +287,7 @@ class TestDataSeeder extends Seeder
'startdate' => '2015-04-01',
'reminder_skip' => 0,
'remind_me' => 0,
'order' => 1,
'order' => 2,
]
);
$repetition = $phone->piggyBankRepetitions()->first();
@ -325,7 +325,7 @@ class TestDataSeeder extends Seeder
'startdate' => '2015-04-01',
'reminder_skip' => 0,
'remind_me' => 0,
'order' => 1,
'order' => 3,
]
);
$repetition = $couch->piggyBankRepetitions()->first();
@ -354,6 +354,20 @@ class TestDataSeeder extends Seeder
'amount' => '40'
]
);
// empty one.
PiggyBank::create(
[
'account_id' => $account->id,
'name' => 'New head set',
'targetamount' => 500,
'startdate' => '2015-04-01',
'reminder_skip' => 0,
'remind_me' => 0,
'order' => 4,
]
);
}
/**

View File

@ -1,4 +1,4 @@
<table class="table table-hover" id="sortable">
<table class="table table-hover table-condensed" id="sortable">
<tbody>
{% for piggyBank in piggyBanks %}
<tr data-id="{{ piggyBank.id }}">