Added in default_where variable which is supposed to hold a default month value inside it so
that initially all tiers will contain the current month's demos/schedules
Made some small changes and improvements where necessary
Placed brand_id where necessary to hold brand_id info when a brand is logged into br_mainpanel
Fixed file links to use window.location.href
Update file links for viewing replacing with button

MAJOR CHANGE :: Income Records table and statement at top of invoice view now both can
refresh their datapoints to retrieve latest information regarding things like net,tax,
rep pay etc... If they have been changed.

New defined setting (INVOICE_AUTOREFRESH_DATAPOINTS) see config
Add refresh data points button on Income Records

Took out inclusion of unecessary CompletedDemos class (which was also including the very file
that was including it haha, and used straight db pull down)

Made store contact display message upon adding, and also stay open (eventually the generalized
object template system will included this in all adding and/or edit popups
Made refresh data points remote ajax based (display_ui) income records

Entire page reloads upon refresh of data points
Fixed bug with pay adjustment functionality not putting in correct value for empty (was expecting noselect
it gave 0.00 upon being empty because of the number conversion), now checks for empty instead.

Fixed adjusted pay expense not being deducted from full rep pay, because it was being added to the
normal expenses.. wow i'm an idiot.

Made all robineggdemos related data points blue only in income records

Added calculation buttons to add up 3 different variations of invoice data.. see the freaking code

Save accounting functionality will now save the paid_month, (the month the invoice was paid in) this is useful don't worry.
Added payment records separate table filtering implementation