Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "budget": {
- "updated_at": "2014-09-01T09:24:33Z",
- "project": {
- "id": 2,
- "start_date": "2014-07-31",
- "end_date": "2014-09-06"
- },
- "worktime": {
- "working_hours_start": 9,
- "working_hours_end": 17,
- "working_days": [1, 2, 3, 4, 5],
- "holidays": ["2014-09-09", "2014-09-18", "2014-09-19", "2014-09-20", "2014-09-25"]
- },
- "total_stats": {
- "total_income": 37652.55,
- "total_cost": 1578.58,
- "total_profit": 36073.97,
- "planned_hours_count": 15.0,
- "total_hours_count": 35.95,
- "total_hours_income": 35952.55,
- "total_hours_cost": 1078.58,
- "total_hours_profit": 34873.97,
- "total_entries_income": 1700,
- "total_entries_cost": 500,
- "total_entries_profit": 1200
- },
- "real_stats": {
- "real_income": 36052.55,
- "real_cost": 1078.58,
- "real_profit": 34973.97,
- "real_hours_count": 35.95,
- "real_hours_income": 35952.55,
- "real_hours_cost": 1078.58,
- "real_hours_profit": 34873.97,
- "real_entries_income": 100,
- "real_entries_cost": 0,
- "real_entries_profit": 100
- },
- "real_stats_by_roles": [{
- "role": {
- "id": 3,
- "name": "Developer"
- },
- "planned_hours_count": 15.0,
- "real_hours_count": 35.95,
- "real_income": 35952.55,
- "real_cost": 1078.58,
- "real_profit": 34873.97
- }, {
- "role": {
- "id": 4,
- "name": "Reporter"
- },
- "planned_hours_count": 0.0,
- "real_hours_count": 0.0,
- "real_income": 0.0,
- "real_cost": 0.0,
- "real_profit": 0.0
- }, {
- "role": {
- "id": 2,
- "name": "Manager"
- },
- "planned_hours_count": 0.0,
- "real_hours_count": 0.0,
- "real_income": 0.0,
- "real_cost": 0.0,
- "real_profit": 0.0
- }],
- "real_stats_by_users": [{
- "user": {
- "id": 2,
- "name": "Jacek Tomaszewski"
- },
- "real_hours_count": 35.95,
- "real_income": 35952.55,
- "real_cost": 1078.58,
- "real_profit": 34873.97
- }],
- "real_stats_by_months": [{
- "month_date": "08-2014",
- "income": 35951.75,
- "cost": 1078.55,
- "profit": 34873.2,
- "hours_income": 35951.75,
- "hours_cost": 1078.55,
- "hours_profit": 34873.2,
- "entries_income": 0,
- "entries_cost": 0,
- "entries_profit": 0
- }, {
- "month_date": "09-2014",
- "income": 0.78,
- "cost": 0.02,
- "profit": 0.76,
- "hours_income": 0.78,
- "hours_cost": 0.02,
- "hours_profit": 0.76,
- "entries_income": 0,
- "entries_cost": 0,
- "entries_profit": 0
- }],
- "budget_entries_categories": [{
- "name": "Przykladowy koszt",
- "entry_type": "cost",
- "planned_amount": 0,
- "real_amount": 500
- }, {
- "name": "slimak",
- "entry_type": "income",
- "planned_amount": 1000,
- "real_amount": 600
- }, {
- "name": "slimak2",
- "entry_type": "income",
- "planned_amount": 0,
- "real_amount": 100
- }],
- "budget_entries": [{
- "name": "klub naomi",
- "entry_type": "cost",
- "category_id": 1,
- "created_on": "2014-08-01",
- "user": {
- "id": 2,
- "name": "Jacek Tomaszewski"
- },
- "netto_amount": 500,
- "tax": 0,
- "brutto_amount": 500,
- "deposit_amount": 0
- }, {
- "name": "zysk ze sprzedazy",
- "planned": true,
- "entry_type": "income",
- "category_id": 3,
- "issue_id": 3,
- "created_on": "2014-08-06",
- "user": {
- "id": 2,
- "name": "Jacek Tomaszewski"
- },
- "netto_amount": 1000,
- "tax": 23,
- "brutto_amount": 2301000,
- "deposit_amount": 0
- }, {
- "name": "jakas nazwa",
- "entry_type": "income",
- "category_id": 4,
- "created_on": "2014-07-31",
- "netto_amount": 100,
- "tax": 23,
- "brutto_amount": 230100,
- "deposit_amount": 0
- }, {
- "name": "koks",
- "entry_type": "income",
- "category_id": 3,
- "created_on": "2014-08-05",
- "user": {
- "id": 2,
- "name": "Jacek Tomaszewski"
- },
- "netto_amount": 100,
- "tax": 0,
- "brutto_amount": 100,
- "deposit_amount": 0
- }, {
- "name": "na wrzesien",
- "entry_type": "income",
- "category_id": 3,
- "created_on": "2014-09-02",
- "user": {
- "id": 2,
- "name": "Jacek Tomaszewski"
- },
- "netto_amount": 500,
- "tax": 0,
- "brutto_amount": 500,
- "deposit_amount": 0
- }]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement