# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-12-10 19:09
from __future__ import unicode_literals

import datetime
from django.db import migrations, models
import django.db.models.deletion
import uuid


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('static_border_stations', '0001_initial'),
        ('dataentry', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='BorderStationBudgetCalculation',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('mdf_uuid', models.UUIDField(default=uuid.uuid4, editable=False, unique=True)),
                ('date_time_entered', models.DateTimeField(auto_now_add=True)),
                ('date_time_last_updated', models.DateTimeField(auto_now=True)),
                ('month_year', models.DateTimeField(default=datetime.datetime.now)),
                ('communication_chair', models.BooleanField(default=False)),
                ('communication_chair_amount', models.PositiveIntegerField(default=1000, verbose_name='for chair')),
                ('communication_manager', models.BooleanField(default=False)),
                ('communication_manager_amount', models.PositiveIntegerField(default=1000, verbose_name='for manager')),
                ('communication_number_of_staff_with_walkie_talkies', models.PositiveIntegerField(default=0, verbose_name='# of staff with walkie-talkies')),
                ('communication_number_of_staff_with_walkie_talkies_multiplier', models.PositiveIntegerField(default=100)),
                ('communication_each_staff', models.PositiveIntegerField(default=0, verbose_name='each staff')),
                ('communication_each_staff_multiplier', models.PositiveIntegerField(default=300)),
                ('travel_chair_with_bike', models.BooleanField(default=False)),
                ('travel_chair_with_bike_amount', models.PositiveIntegerField(default=2000, verbose_name='for chair (if has bike)')),
                ('travel_manager_with_bike', models.BooleanField(default=False)),
                ('travel_manager_with_bike_amount', models.PositiveIntegerField(default=2000, verbose_name='for manager (if has bike)')),
                ('travel_number_of_staff_using_bikes', models.PositiveIntegerField(default=0, verbose_name='# of staff using bikes')),
                ('travel_number_of_staff_using_bikes_multiplier', models.PositiveIntegerField(default=1000)),
                ('travel_last_months_expense_for_sending_girls_home', models.PositiveIntegerField(default=0)),
                ('travel_motorbike', models.BooleanField(default=False, verbose_name='Motorbike')),
                ('travel_motorbike_amount', models.PositiveIntegerField(default=60000)),
                ('travel_plus_other', models.PositiveIntegerField(default=0)),
                ('administration_number_of_intercepts_last_month', models.PositiveIntegerField(default=0, verbose_name='# of intercepts last month')),
                ('administration_number_of_intercepts_last_month_multiplier', models.PositiveIntegerField(default=20)),
                ('administration_number_of_intercepts_last_month_adder', models.PositiveIntegerField(default=1000)),
                ('administration_number_of_meetings_per_month', models.PositiveIntegerField(default=0, verbose_name='# of meetings per month')),
                ('administration_number_of_meetings_per_month_multiplier', models.PositiveIntegerField(default=600)),
                ('administration_booth', models.BooleanField(default=False, verbose_name='Booth')),
                ('administration_booth_amount', models.PositiveIntegerField(default=30000)),
                ('administration_registration', models.BooleanField(default=False, verbose_name='Registration')),
                ('administration_registration_amount', models.PositiveIntegerField(default=2000)),
                ('medical_last_months_expense', models.PositiveIntegerField(default=0, verbose_name="Last month's medical expense")),
                ('shelter_rent', models.PositiveIntegerField(default=0)),
                ('shelter_water', models.PositiveIntegerField(default=0)),
                ('shelter_electricity', models.PositiveIntegerField(default=0)),
                ('shelter_shelter_startup', models.BooleanField(default=False, verbose_name='Shelter Startup')),
                ('shelter_shelter_startup_amount', models.PositiveIntegerField(default=71800)),
                ('shelter_shelter_two', models.BooleanField(default=False, verbose_name='Shelter 2')),
                ('shelter_shelter_two_amount', models.PositiveIntegerField(default=36800)),
                ('food_and_gas_number_of_intercepted_girls', models.PositiveIntegerField(default=0, verbose_name='# of intercepted girls')),
                ('food_and_gas_number_of_intercepted_girls_multiplier_before', models.PositiveIntegerField(default=100)),
                ('food_and_gas_number_of_intercepted_girls_multiplier_after', models.PositiveIntegerField(default=3)),
                ('food_and_gas_limbo_girls_multiplier', models.PositiveIntegerField(default=100)),
                ('food_and_gas_number_of_limbo_girls', models.PositiveIntegerField(default=0, verbose_name='# of limbo girls')),
                ('food_and_gas_number_of_days', models.PositiveIntegerField(default=0, verbose_name='# of days')),
                ('awareness_contact_cards', models.BooleanField(default=False, verbose_name='Contact Cards')),
                ('awareness_contact_cards_boolean_amount', models.PositiveIntegerField(default=4000)),
                ('awareness_contact_cards_amount', models.PositiveIntegerField(default=0)),
                ('awareness_awareness_party_boolean', models.BooleanField(default=False, verbose_name='Awareness Party')),
                ('awareness_awareness_party', models.PositiveIntegerField(default=0)),
                ('awareness_sign_boards_boolean', models.BooleanField(default=False, verbose_name='Sign Boards')),
                ('awareness_sign_boards', models.PositiveIntegerField(default=0)),
                ('supplies_walkie_talkies_boolean', models.BooleanField(default=False, verbose_name='Walkie-talkies')),
                ('supplies_walkie_talkies_amount', models.PositiveIntegerField(default=0)),
                ('supplies_recorders_boolean', models.BooleanField(default=False, verbose_name='Recorders')),
                ('supplies_recorders_amount', models.PositiveIntegerField(default=0)),
                ('supplies_binoculars_boolean', models.BooleanField(default=False, verbose_name='Binoculars')),
                ('supplies_binoculars_amount', models.PositiveIntegerField(default=0)),
                ('supplies_flashlights_boolean', models.BooleanField(default=False, verbose_name='Flashlights')),
                ('supplies_flashlights_amount', models.PositiveIntegerField(default=0)),
                ('border_station', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='dataentry.BorderStation')),
            ],
        ),
        migrations.CreateModel(
            name='OtherBudgetItemCost',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('cost', models.IntegerField(default=0)),
                ('form_section', models.IntegerField(blank=True, null=True, verbose_name=[(1, 'Travel'), (2, 'Miscellaneous'), (3, 'Awareness'), (4, 'Supplies'), (5, 'Shelter'), (6, 'FoodGas'), (7, 'Communication'), (8, 'Staff'), (9, 'Medical'), (10, 'Administration')])),
                ('budget_item_parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='budget.BorderStationBudgetCalculation')),
            ],
        ),
        migrations.CreateModel(
            name='StaffSalary',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('salary', models.PositiveIntegerField(blank=True, default=0, null=True)),
                ('budget_calc_sheet', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='budget.BorderStationBudgetCalculation')),
                ('staff_person', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='static_border_stations.Staff')),
            ],
        ),
        migrations.AddField(
            model_name='borderstationbudgetcalculation',
            name='members',
            field=models.ManyToManyField(through='budget.StaffSalary', to='static_border_stations.Staff'),
        ),
    ]
