Added Payment Records table and separated it from the rest
Added top display box with total amount of pay to the rep with a nice thank you message
(depending on if the rep is viewing it)

Made InvoicedDemo object and UserFunctions include database in initiation to suppress stupid
mysql max_user_connections message
Fixes
Added in Payment Records functionality for reps in display_ui_rep
Added loader to Payment Records/Pending Payments Page
Made message completely blue

Default Payment Records now pulls both paid and unpaid invoices for the current month
Only add up payments that were paid not pending ones

Made Invoices show anything that (str_paid_month='$str_month' AND invoice_paid='1') OR (invoice_paid='0')
Changed status to blue