Commit c3f5d060 authored by Jack Stupple's avatar Jack Stupple

all roundups and questions and stuff

parent 4da07f7e
......@@ -96,6 +96,9 @@ class CharacterMigration extends Migration
{
foreach ($questions as $_question) {
$question_category = \App\QuestionCategory::where('name', 'LIKE', $_question['question_category'])->first();
if (!$question_category) {
dd('question category does not exist: ' . $_question['question_category']);
}
$question = new \App\Question;
$question->title = $_question['question'];
......
......@@ -37,7 +37,7 @@
},
{
"category": "other_out",
"amount": 0
"amount": 20
},
{
"category": "other_in",
......
This diff is collapsed.
......@@ -6,7 +6,7 @@
"modifiers": [
{
"category": "bills",
"amount": -20
"amount": -30
}
]
},
......@@ -16,24 +16,29 @@
"modifiers": [
{
"category": "other_out",
"amount": 80
"amount": 100
}
]
},
{
"roundup_text": "Ann's local bus has stopped running at the weekends so she will need to find alternative transport.",
"roundup_text": "Ann's local bus has stopped running at weekends so she will need to find alternative transport.",
"positive_negative": -1,
"modifiers": [
{
"category": "transport",
"amount": 25
"amount": 80
}
]
},
{
"roundup_text": "Ann wins money in a radio competition.",
"positive_negative": 1,
"modifiers": []
"modifiers": [
{
"category": "other_in",
"amount": 50
}
]
},
{
"roundup_text": "Ann decides to adopt a cat from her friend who can longer look after it.",
......@@ -41,7 +46,7 @@
"modifiers": [
{
"category": "bills",
"amount": 15
"amount": 30
}
]
},
......@@ -51,17 +56,17 @@
"modifiers": [
{
"category": "entertainment",
"amount": 25
"amount": 20
}
]
},
{
"roundup_text": "Ann helps her friend out at her allotment and get free fruit and vegetables",
"roundup_text": "Ann helps her friend out at her allotment and get free fruit and vegetables.",
"positive_negative": 1,
"modifiers": [
{
"category": "groceries",
"amount": -15
"amount": -60
}
]
},
......
{
"en": [
{
"body": "So much paperwork to sort out. So bored and ready for the weekend.",
"body": "So much paperwork to sort out. So bored and ready for the weekend. 💤",
"season_roundup_position": 0,
"likes": 3,
"comments": 1
},
{
"body": "The house is feeling pretty eerie these days. Feel I should have a garden party to bring it back to life. Anyone up for a BBQ this Saturday?",
"body": "The house is feeling pretty eerie these days. Feel I should have a garden party to bring it back to life. Anyone up for a BBQ this Saturday? 🌭",
"season_roundup_position": 1,
"likes": 13,
"comments": 40
......
......@@ -9,7 +9,7 @@
},
{
"category": "transport",
"amount": 260
"amount": 80
},
{
"category": "groceries",
......
This diff is collapsed.
{
"en": [
{
"roundup_text": "Jake has finished paying off his student loan and his incomings have now increased.",
"roundup_text": "Jake has finished paying off his student loan. Hooray! 🎉",
"positive_negative": 1,
"modifiers": [
{
......@@ -11,36 +11,36 @@
]
},
{
"roundup_text": "Jake has worked extra hard on a work project and recieved a bonus which he saves.",
"roundup_text": "Jake has worked extra hard on a work project and received a bonus which he has added to his savings account.",
"positive_negative": 1,
"modifiers": [
{
"category": "other_in",
"amount": 80
"amount": 100
},
{
"category": "savings",
"amount": 80
"amount": 100
}
]
},
{
"roundup_text": "Jake has decided to vary his design skils and starts a course at the local college.",
"roundup_text": "Jake has decided to broaden his design skills and starts a course at the local college. ",
"positive_negative": -1,
"modifiers": [
{
"category": "other_out",
"amount": 20
"amount": 75
}
]
},
{
"roundup_text": "He decides to purchase a subscription to a kids TV channel",
"roundup_text": "Jake decides to purchase a subscription to a kids TV channel.",
"positive_negative": -1,
"modifiers": [
{
"category": "bills",
"amount": 8
"category": "entertainment",
"amount": 15
}
]
},
......@@ -50,7 +50,7 @@
"modifiers": [
{
"category": "groceries",
"amount": -50
"amount": -20
}
]
},
......@@ -60,41 +60,41 @@
"modifiers": [
{
"category": "bills",
"amount": -50
"amount": -30
}
]
},
{
"roundup_text": "The service charge bills on the apartment have increased.",
"roundup_text": "The monthly service charge on the Jake's apartment has increased.",
"positive_negative": -1,
"modifiers": [
{
"category": "bills",
"amount": 20
"category": "rent",
"amount": 25
}
]
},
{
"roundup_text": "Jake's sofa has broken and he needs a new one.",
"roundup_text": "Jake's sofa has broken so he buys a new one on his credit card.",
"positive_negative": -1,
"modifiers": [
{
"category": "credit cards \/ loans",
"amount": 24
"amount": 50
}
]
},
{
"roundup_text": "Jake takes lunches to work to save money.",
"roundup_text": "Jake starts taking lunches to work to save money.",
"positive_negative": 1,
"modifiers": [
{
"category": "groceries",
"amount": 20
"amount": 15
},
{
"category": "shopping",
"amount": 50
"category": "entertainment",
"amount": -50
}
]
}
......
{
"en": [
{
"body": "The client literally just asked to make the logo bigger! I need a drink! 😭🥃",
"body": "The client literally just asked to make the logo bigger! I need a drink! 😭🍺",
"season_roundup_position": 0,
"likes": 56,
"comments": 12
},
{
"body": "Wow! So hot out! Who fancies lunch outside?",
"body": "Wow! So hot out! Who fancies lunch outside? 🍔🍦",
"season_roundup_position": 1,
"likes": 30,
"comments": 10
},
{
"body": "Getting excited about Christmas already, changes when you have a little one!",
"body": "Getting excited about Christmas already, everything changes when you have a little one! 👶🎄",
"season_roundup_position": 2,
"likes": 27,
"comments": 6
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment