Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
B
blocnote
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 2
    • Merge Requests 2
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • BlocPower
  • blocnote
  • Merge Requests
  • !26

Merged
Opened May 22, 2017 by Tillie Kottmann@deletescapeOwner

Bill overview refactor

  • Overview 9
  • Commits 3
  • Changes 4

Created by: adarsh-murthy

Bills overview component refactored:

  • BPFIN code modified to have just one function to be called to project bills that are available in the database(This is reflected in the backend by using just the monthly_bill).
  • bills overview model is modified to be able to store null.
  • UI- display nothing is a bill is not there as opposed to 0 which was being displayed before. 0 actually means something other than null.
  • Backend changes to accommodate the nullable utility charges.

To test:

  • Run python manage.py migrate to apply migrations.
  • go to http://127.0.0.1:8000/buildings/<building_id>/financial-inputs/
  • You may have bills for utilities uploaded or not. Best to have a couple of utility bills uploaded.
  • Test the bills overview component. Hit project bills- It should display the projection for utilities that is present in the database, else blank input fields. Try saving and see that it saves successfully. Try reloading and see if your values are consistent.
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: exconfidential/blocpower/blocnote!26
Source branch: bill-overview-refactor