diff --git a/app/tests/data/clients.response.json b/app/tests/data/clients.response.json deleted file mode 100644 index 52e1de74e3..0000000000 --- a/app/tests/data/clients.response.json +++ /dev/null @@ -1 +0,0 @@ -[{"name":"IBM","balance":"0.00","paid_to_date":"13.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-18 00:00:00","invoice_number":"0001","amount":"13.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"13.00","qty":"1.00"}],"displayName":"0001","displayTotal":13,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"1"}],"displayName":"IBM","displayTotal":13,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Nestle","balance":null,"paid_to_date":null,"invoices":[],"contacts":[{"public_id":"2"}],"displayName":"Nestle","displayTotal":0,"displayBalance":0,"displayPercent":null,"displayAge":null},{"name":"Mitsubishi UFJ Financial","balance":"0.00","paid_to_date":"1701.00","invoices":[{"invoice_status_id":"5","created_at":"2014-06-29 00:00:00","invoice_number":"0002","amount":"85.00","balance":"0.00","invoice_items":[{"product_key":"Kansas","cost":"85.00","qty":"1.00"}],"displayName":"0002","displayTotal":85,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-11 00:00:00","invoice_number":"0003","amount":"142.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"142.00","qty":"1.00"}],"displayName":"0003","displayTotal":142,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-19 00:00:00","invoice_number":"0004","amount":"936.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"936.00","qty":"1.00"}],"displayName":"0004","displayTotal":936,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-19 00:00:00","invoice_number":"0005","amount":"74.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"74.00","qty":"1.00"}],"displayName":"0005","displayTotal":74,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-25 00:00:00","invoice_number":"0006","amount":"101.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"101.00","qty":"1.00"}],"displayName":"0006","displayTotal":101,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-21 00:00:00","invoice_number":"0007","amount":"116.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"116.00","qty":"1.00"}],"displayName":"0007","displayTotal":116,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-17 00:00:00","invoice_number":"0008","amount":"42.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"42.00","qty":"1.00"}],"displayName":"0008","displayTotal":42,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-24 00:00:00","invoice_number":"0009","amount":"66.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"66.00","qty":"1.00"}],"displayName":"0009","displayTotal":66,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-21 00:00:00","invoice_number":"0010","amount":"40.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"40.00","qty":"1.00"}],"displayName":"0010","displayTotal":40,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-25 00:00:00","invoice_number":"0011","amount":"99.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"99.00","qty":"1.00"}],"displayName":"0011","displayTotal":99,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"3"}],"displayName":"Mitsubishi UFJ Financial","displayTotal":1701,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Vodafone","balance":"0.00","paid_to_date":"106.00","invoices":[{"invoice_status_id":"5","created_at":"2014-08-26 00:00:00","invoice_number":"0012","amount":"106.00","balance":"0.00","invoice_items":[{"product_key":"Louisiana","cost":"106.00","qty":"1.00"}],"displayName":"0012","displayTotal":106,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"4"}],"displayName":"Vodafone","displayTotal":106,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Eni","balance":"0.00","paid_to_date":"402.00","invoices":[{"invoice_status_id":"5","created_at":"2014-06-29 00:00:00","invoice_number":"0013","amount":"18.00","balance":"0.00","invoice_items":[{"product_key":"Kansas","cost":"18.00","qty":"1.00"}],"displayName":"0013","displayTotal":18,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-04 00:00:00","invoice_number":"0014","amount":"70.00","balance":"0.00","invoice_items":[{"product_key":"Connecticut","cost":"70.00","qty":"1.00"}],"displayName":"0014","displayTotal":70,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-08 00:00:00","invoice_number":"0015","amount":"59.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"59.00","qty":"1.00"}],"displayName":"0015","displayTotal":59,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-25 00:00:00","invoice_number":"0016","amount":"18.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"18.00","qty":"1.00"}],"displayName":"0016","displayTotal":18,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-04 00:00:00","invoice_number":"0017","amount":"61.00","balance":"0.00","invoice_items":[{"product_key":"Maine","cost":"61.00","qty":"1.00"}],"displayName":"0017","displayTotal":61,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-16 00:00:00","invoice_number":"0018","amount":"65.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"65.00","qty":"1.00"}],"displayName":"0018","displayTotal":65,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-24 00:00:00","invoice_number":"0019","amount":"39.00","balance":"0.00","invoice_items":[{"product_key":"Kansas","cost":"39.00","qty":"1.00"}],"displayName":"0019","displayTotal":39,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-31 00:00:00","invoice_number":"0020","amount":"72.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"72.00","qty":"1.00"}],"displayName":"0020","displayTotal":72,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"5"}],"displayName":"Eni","displayTotal":402,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Procter & Gamble","balance":"0.00","paid_to_date":"251.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-12 00:00:00","invoice_number":"0021","amount":"48.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"48.00","qty":"1.00"}],"displayName":"0021","displayTotal":48,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-24 00:00:00","invoice_number":"0022","amount":"90.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"90.00","qty":"1.00"}],"displayName":"0022","displayTotal":90,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-31 00:00:00","invoice_number":"0023","amount":"70.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"70.00","qty":"1.00"}],"displayName":"0023","displayTotal":70,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-07 00:00:00","invoice_number":"0024","amount":"43.00","balance":"0.00","invoice_items":[{"product_key":"Illinois","cost":"43.00","qty":"1.00"}],"displayName":"0024","displayTotal":43,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"6"}],"displayName":"Procter & Gamble","displayTotal":251,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Johnson & Johnson","balance":"485.00","paid_to_date":"2188.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-06 00:00:00","invoice_number":"0025","amount":"137.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"137.00","qty":"1.00"}],"displayName":"0025","displayTotal":137,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-30 00:00:00","invoice_number":"0026","amount":"92.00","balance":"92.00","invoice_items":[{"product_key":"Iowa","cost":"92.00","qty":"1.00"}],"displayName":"0026","displayTotal":92,"displayBalance":92,"displayPercent":0,"displayAge":3},{"invoice_status_id":"1","created_at":"2014-08-11 00:00:00","invoice_number":"0027","amount":"95.00","balance":"95.00","invoice_items":[{"product_key":"Arizona","cost":"95.00","qty":"1.00"}],"displayName":"0027","displayTotal":95,"displayBalance":95,"displayPercent":0,"displayAge":53},{"invoice_status_id":"1","created_at":"2014-07-28 00:00:00","invoice_number":"0028","amount":"25.00","balance":"25.00","invoice_items":[{"product_key":"Massachusetts","cost":"25.00","qty":"1.00"}],"displayName":"0028","displayTotal":25,"displayBalance":25,"displayPercent":0,"displayAge":67},{"invoice_status_id":"5","created_at":"2014-09-04 00:00:00","invoice_number":"0029","amount":"966.00","balance":"0.00","invoice_items":[{"product_key":"Iowa","cost":"966.00","qty":"1.00"}],"displayName":"0029","displayTotal":966,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-16 00:00:00","invoice_number":"0030","amount":"91.00","balance":"91.00","invoice_items":[{"product_key":"Arizona","cost":"91.00","qty":"1.00"}],"displayName":"0030","displayTotal":91,"displayBalance":91,"displayPercent":0,"displayAge":17},{"invoice_status_id":"5","created_at":"2014-09-03 00:00:00","invoice_number":"0031","amount":"134.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"134.00","qty":"1.00"}],"displayName":"0031","displayTotal":134,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-08 00:00:00","invoice_number":"0032","amount":"102.00","balance":"102.00","invoice_items":[{"product_key":"Colorado","cost":"102.00","qty":"1.00"}],"displayName":"0032","displayTotal":102,"displayBalance":102,"displayPercent":0,"displayAge":87},{"invoice_status_id":"1","created_at":"2014-09-17 00:00:00","invoice_number":"0033","amount":"80.00","balance":"80.00","invoice_items":[{"product_key":"New York","cost":"80.00","qty":"1.00"}],"displayName":"0033","displayTotal":80,"displayBalance":80,"displayPercent":0,"displayAge":16},{"invoice_status_id":"5","created_at":"2014-07-23 00:00:00","invoice_number":"0034","amount":"951.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"951.00","qty":"1.00"}],"displayName":"0034","displayTotal":951,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"7"}],"displayName":"Johnson & Johnson","displayTotal":2673,"displayBalance":485,"displayPercent":0,"displayAge":87},{"name":"American International Group","balance":"0.00","paid_to_date":"94.00","invoices":[{"invoice_status_id":"5","created_at":"2014-08-23 00:00:00","invoice_number":"0035","amount":"94.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"94.00","qty":"1.00"}],"displayName":"0035","displayTotal":94,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"8"}],"displayName":"American International Group","displayTotal":94,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Banco Santander","balance":"0.00","paid_to_date":"137.00","invoices":[{"invoice_status_id":"5","created_at":"2014-08-13 00:00:00","invoice_number":"0036","amount":"137.00","balance":"0.00","invoice_items":[{"product_key":"Kansas","cost":"137.00","qty":"1.00"}],"displayName":"0036","displayTotal":137,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"9"}],"displayName":"Banco Santander","displayTotal":137,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"BHP Billiton","balance":"2584.00","paid_to_date":"284.00","invoices":[{"invoice_status_id":"1","created_at":"2014-06-24 00:00:00","invoice_number":"0037","amount":"122.00","balance":"122.00","invoice_items":[{"product_key":"Alabama","cost":"122.00","qty":"1.00"}],"displayName":"0037","displayTotal":122,"displayBalance":122,"displayPercent":0,"displayAge":101},{"invoice_status_id":"1","created_at":"2014-09-25 00:00:00","invoice_number":"0038","amount":"44.00","balance":"44.00","invoice_items":[{"product_key":"Arizona","cost":"44.00","qty":"1.00"}],"displayName":"0038","displayTotal":44,"displayBalance":44,"displayPercent":0,"displayAge":8},{"invoice_status_id":"1","created_at":"2014-08-13 00:00:00","invoice_number":"0039","amount":"68.00","balance":"68.00","invoice_items":[{"product_key":"Arizona","cost":"68.00","qty":"1.00"}],"displayName":"0039","displayTotal":68,"displayBalance":68,"displayPercent":0,"displayAge":51},{"invoice_status_id":"1","created_at":"2014-07-23 00:00:00","invoice_number":"0040","amount":"23.00","balance":"23.00","invoice_items":[{"product_key":"Delaware","cost":"23.00","qty":"1.00"}],"displayName":"0040","displayTotal":23,"displayBalance":23,"displayPercent":0,"displayAge":72},{"invoice_status_id":"1","created_at":"2014-07-06 00:00:00","invoice_number":"0041","amount":"61.00","balance":"61.00","invoice_items":[{"product_key":"Colorado","cost":"61.00","qty":"1.00"}],"displayName":"0041","displayTotal":61,"displayBalance":61,"displayPercent":0,"displayAge":89},{"invoice_status_id":"1","created_at":"2014-09-05 00:00:00","invoice_number":"0042","amount":"128.00","balance":"128.00","invoice_items":[{"product_key":"Arizona","cost":"128.00","qty":"1.00"}],"displayName":"0042","displayTotal":128,"displayBalance":128,"displayPercent":0,"displayAge":28},{"invoice_status_id":"5","created_at":"2014-07-17 00:00:00","invoice_number":"0043","amount":"130.00","balance":"0.00","invoice_items":[{"product_key":"Iowa","cost":"130.00","qty":"1.00"}],"displayName":"0043","displayTotal":130,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-01 00:00:00","invoice_number":"0044","amount":"139.00","balance":"139.00","invoice_items":[{"product_key":"Arizona","cost":"139.00","qty":"1.00"}],"displayName":"0044","displayTotal":139,"displayBalance":139,"displayPercent":0,"displayAge":94},{"invoice_status_id":"1","created_at":"2014-07-20 00:00:00","invoice_number":"0045","amount":"127.00","balance":"127.00","invoice_items":[{"product_key":"California","cost":"127.00","qty":"1.00"}],"displayName":"0045","displayTotal":127,"displayBalance":127,"displayPercent":0,"displayAge":75},{"invoice_status_id":"1","created_at":"2014-09-15 00:00:00","invoice_number":"0046","amount":"83.00","balance":"83.00","invoice_items":[{"product_key":"Michigan","cost":"83.00","qty":"1.00"}],"displayName":"0046","displayTotal":83,"displayBalance":83,"displayPercent":0,"displayAge":18},{"invoice_status_id":"1","created_at":"2014-07-30 00:00:00","invoice_number":"0047","amount":"62.00","balance":"62.00","invoice_items":[{"product_key":"Florida","cost":"62.00","qty":"1.00"}],"displayName":"0047","displayTotal":62,"displayBalance":62,"displayPercent":0,"displayAge":65},{"invoice_status_id":"1","created_at":"2014-09-16 00:00:00","invoice_number":"0048","amount":"902.00","balance":"902.00","invoice_items":[{"product_key":"New York","cost":"902.00","qty":"1.00"}],"displayName":"0048","displayTotal":902,"displayBalance":902,"displayPercent":0,"displayAge":17},{"invoice_status_id":"1","created_at":"2014-08-07 00:00:00","invoice_number":"0049","amount":"139.00","balance":"139.00","invoice_items":[{"product_key":"Arizona","cost":"139.00","qty":"1.00"}],"displayName":"0049","displayTotal":139,"displayBalance":139,"displayPercent":0,"displayAge":57},{"invoice_status_id":"1","created_at":"2014-07-12 00:00:00","invoice_number":"0050","amount":"124.00","balance":"124.00","invoice_items":[{"product_key":"Arizona","cost":"124.00","qty":"1.00"}],"displayName":"0050","displayTotal":124,"displayBalance":124,"displayPercent":0,"displayAge":83},{"invoice_status_id":"1","created_at":"2014-08-05 00:00:00","invoice_number":"0051","amount":"53.00","balance":"53.00","invoice_items":[{"product_key":"Connecticut","cost":"53.00","qty":"1.00"}],"displayName":"0051","displayTotal":53,"displayBalance":53,"displayPercent":0,"displayAge":59},{"invoice_status_id":"1","created_at":"2014-06-27 00:00:00","invoice_number":"0052","amount":"52.00","balance":"52.00","invoice_items":[{"product_key":"Michigan","cost":"52.00","qty":"1.00"}],"displayName":"0052","displayTotal":52,"displayBalance":52,"displayPercent":0,"displayAge":98},{"invoice_status_id":"1","created_at":"2014-09-04 00:00:00","invoice_number":"0053","amount":"28.00","balance":"28.00","invoice_items":[{"product_key":"New York","cost":"28.00","qty":"1.00"}],"displayName":"0053","displayTotal":28,"displayBalance":28,"displayPercent":0,"displayAge":29},{"invoice_status_id":"1","created_at":"2014-07-28 00:00:00","invoice_number":"0054","amount":"36.00","balance":"36.00","invoice_items":[{"product_key":"Alabama","cost":"36.00","qty":"1.00"}],"displayName":"0054","displayTotal":36,"displayBalance":36,"displayPercent":0,"displayAge":67},{"invoice_status_id":"1","created_at":"2014-08-28 00:00:00","invoice_number":"0055","amount":"111.00","balance":"111.00","invoice_items":[{"product_key":"New York","cost":"111.00","qty":"1.00"}],"displayName":"0055","displayTotal":111,"displayBalance":111,"displayPercent":0,"displayAge":36},{"invoice_status_id":"5","created_at":"2014-08-14 00:00:00","invoice_number":"0056","amount":"43.00","balance":"0.00","invoice_items":[{"product_key":"Delaware","cost":"43.00","qty":"1.00"}],"displayName":"0056","displayTotal":43,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-23 00:00:00","invoice_number":"0057","amount":"111.00","balance":"0.00","invoice_items":[{"product_key":"Idaho","cost":"111.00","qty":"1.00"}],"displayName":"0057","displayTotal":111,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-01 00:00:00","invoice_number":"0058","amount":"40.00","balance":"40.00","invoice_items":[{"product_key":"Massachusetts","cost":"40.00","qty":"1.00"}],"displayName":"0058","displayTotal":40,"displayBalance":40,"displayPercent":0,"displayAge":32},{"invoice_status_id":"1","created_at":"2014-09-21 00:00:00","invoice_number":"0059","amount":"116.00","balance":"116.00","invoice_items":[{"product_key":"Maryland","cost":"116.00","qty":"1.00"}],"displayName":"0059","displayTotal":116,"displayBalance":116,"displayPercent":0,"displayAge":12},{"invoice_status_id":"1","created_at":"2014-07-10 00:00:00","invoice_number":"0060","amount":"101.00","balance":"101.00","invoice_items":[{"product_key":"California","cost":"101.00","qty":"1.00"}],"displayName":"0060","displayTotal":101,"displayBalance":101,"displayPercent":0,"displayAge":85},{"invoice_status_id":"1","created_at":"2014-07-19 00:00:00","invoice_number":"0061","amount":"25.00","balance":"25.00","invoice_items":[{"product_key":"New York","cost":"25.00","qty":"1.00"}],"displayName":"0061","displayTotal":25,"displayBalance":25,"displayPercent":0,"displayAge":76}],"contacts":[{"public_id":"10"}],"displayName":"BHP Billiton","displayTotal":2868,"displayBalance":2584,"displayPercent":0,"displayAge":101},{"name":"Pfizer","balance":"0.00","paid_to_date":"119.00","invoices":[{"invoice_status_id":"5","created_at":"2014-08-08 00:00:00","invoice_number":"0062","amount":"119.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"119.00","qty":"1.00"}],"displayName":"0062","displayTotal":119,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"11"}],"displayName":"Pfizer","displayTotal":119,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Itaú Unibanco Holding","balance":null,"paid_to_date":null,"invoices":[],"contacts":[{"public_id":"12"}],"displayName":"Itaú Unibanco Holding","displayTotal":0,"displayBalance":0,"displayPercent":null,"displayAge":null},{"name":"Ford Motor","balance":"42.00","paid_to_date":null,"invoices":[{"invoice_status_id":"1","created_at":"2014-07-21 00:00:00","invoice_number":"0063","amount":"42.00","balance":"42.00","invoice_items":[{"product_key":"California","cost":"42.00","qty":"1.00"}],"displayName":"0063","displayTotal":42,"displayBalance":42,"displayPercent":0,"displayAge":74}],"contacts":[{"public_id":"13"}],"displayName":"Ford Motor","displayTotal":42,"displayBalance":42,"displayPercent":0,"displayAge":74},{"name":"BMW Group","balance":"0.00","paid_to_date":"34.00","invoices":[{"invoice_status_id":"5","created_at":"2014-07-17 00:00:00","invoice_number":"0064","amount":"34.00","balance":"0.00","invoice_items":[{"product_key":"Michigan","cost":"34.00","qty":"1.00"}],"displayName":"0064","displayTotal":34,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"14"}],"displayName":"BMW Group","displayTotal":34,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Commonwealth Bank","balance":null,"paid_to_date":null,"invoices":[],"contacts":[{"public_id":"15"}],"displayName":"Commonwealth Bank","displayTotal":0,"displayBalance":0,"displayPercent":null,"displayAge":null},{"name":"EDF","balance":"0.00","paid_to_date":"108.00","invoices":[{"invoice_status_id":"5","created_at":"2014-07-03 00:00:00","invoice_number":"0065","amount":"108.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"108.00","qty":"1.00"}],"displayName":"0065","displayTotal":108,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"16"}],"displayName":"EDF","displayTotal":108,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Statoil","balance":"0.00","paid_to_date":"38.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-29 00:00:00","invoice_number":"0066","amount":"38.00","balance":"0.00","invoice_items":[{"product_key":"Delaware","cost":"38.00","qty":"1.00"}],"displayName":"0066","displayTotal":38,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"17"}],"displayName":"Statoil","displayTotal":38,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Google","balance":"0.00","paid_to_date":"5537.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-13 00:00:00","invoice_number":"0067","amount":"11.00","balance":"0.00","invoice_items":[{"product_key":"Connecticut","cost":"11.00","qty":"1.00"}],"displayName":"0067","displayTotal":11,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-02 00:00:00","invoice_number":"0068","amount":"128.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"128.00","qty":"1.00"}],"displayName":"0068","displayTotal":128,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-05 00:00:00","invoice_number":"0069","amount":"959.00","balance":"0.00","invoice_items":[{"product_key":"Louisiana","cost":"959.00","qty":"1.00"}],"displayName":"0069","displayTotal":959,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-13 00:00:00","invoice_number":"0070","amount":"116.00","balance":"0.00","invoice_items":[{"product_key":"Idaho","cost":"116.00","qty":"1.00"}],"displayName":"0070","displayTotal":116,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-04 00:00:00","invoice_number":"0071","amount":"50.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"50.00","qty":"1.00"}],"displayName":"0071","displayTotal":50,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-11 00:00:00","invoice_number":"0072","amount":"23.00","balance":"0.00","invoice_items":[{"product_key":"Maryland","cost":"23.00","qty":"1.00"}],"displayName":"0072","displayTotal":23,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-28 00:00:00","invoice_number":"0073","amount":"125.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"125.00","qty":"1.00"}],"displayName":"0073","displayTotal":125,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-28 00:00:00","invoice_number":"0074","amount":"981.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"981.00","qty":"1.00"}],"displayName":"0074","displayTotal":981,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-12 00:00:00","invoice_number":"0075","amount":"34.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"34.00","qty":"1.00"}],"displayName":"0075","displayTotal":34,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-15 00:00:00","invoice_number":"0076","amount":"24.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"24.00","qty":"1.00"}],"displayName":"0076","displayTotal":24,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-19 00:00:00","invoice_number":"0077","amount":"107.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"107.00","qty":"1.00"}],"displayName":"0077","displayTotal":107,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-21 00:00:00","invoice_number":"0078","amount":"950.00","balance":"0.00","invoice_items":[{"product_key":"Kentucky","cost":"950.00","qty":"1.00"}],"displayName":"0078","displayTotal":950,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-27 00:00:00","invoice_number":"0079","amount":"148.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"148.00","qty":"1.00"}],"displayName":"0079","displayTotal":148,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-22 00:00:00","invoice_number":"0080","amount":"22.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"22.00","qty":"1.00"}],"displayName":"0080","displayTotal":22,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-22 00:00:00","invoice_number":"0081","amount":"105.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"105.00","qty":"1.00"}],"displayName":"0081","displayTotal":105,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-02 00:00:00","invoice_number":"0082","amount":"19.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"19.00","qty":"1.00"}],"displayName":"0082","displayTotal":19,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-15 00:00:00","invoice_number":"0083","amount":"102.00","balance":"0.00","invoice_items":[{"product_key":"Illinois","cost":"102.00","qty":"1.00"}],"displayName":"0083","displayTotal":102,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-06-27 00:00:00","invoice_number":"0084","amount":"105.00","balance":"0.00","invoice_items":[{"product_key":"Connecticut","cost":"105.00","qty":"1.00"}],"displayName":"0084","displayTotal":105,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-07 00:00:00","invoice_number":"0085","amount":"138.00","balance":"0.00","invoice_items":[{"product_key":"Connecticut","cost":"138.00","qty":"1.00"}],"displayName":"0085","displayTotal":138,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-15 00:00:00","invoice_number":"0086","amount":"86.00","balance":"0.00","invoice_items":[{"product_key":"Louisiana","cost":"86.00","qty":"1.00"}],"displayName":"0086","displayTotal":86,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-14 00:00:00","invoice_number":"0087","amount":"59.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"59.00","qty":"1.00"}],"displayName":"0087","displayTotal":59,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-22 00:00:00","invoice_number":"0088","amount":"129.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"129.00","qty":"1.00"}],"displayName":"0088","displayTotal":129,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-06 00:00:00","invoice_number":"0089","amount":"107.00","balance":"0.00","invoice_items":[{"product_key":"Iowa","cost":"107.00","qty":"1.00"}],"displayName":"0089","displayTotal":107,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-07 00:00:00","invoice_number":"0090","amount":"998.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"998.00","qty":"1.00"}],"displayName":"0090","displayTotal":998,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-17 00:00:00","invoice_number":"0091","amount":"11.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"11.00","qty":"1.00"}],"displayName":"0091","displayTotal":11,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"18"}],"displayName":"Google","displayTotal":5537,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Siemens","balance":"0.00","paid_to_date":"57.00","invoices":[{"invoice_status_id":"5","created_at":"2014-08-16 00:00:00","invoice_number":"0092","amount":"57.00","balance":"0.00","invoice_items":[{"product_key":"Idaho","cost":"57.00","qty":"1.00"}],"displayName":"0092","displayTotal":57,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"19"}],"displayName":"Siemens","displayTotal":57,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Novartis","balance":"0.00","paid_to_date":"32.00","invoices":[{"invoice_status_id":"5","created_at":"2014-08-29 00:00:00","invoice_number":"0093","amount":"32.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"32.00","qty":"1.00"}],"displayName":"0093","displayTotal":32,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"20"}],"displayName":"Novartis","displayTotal":32,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Royal Bank of Canada","balance":null,"paid_to_date":null,"invoices":[],"contacts":[{"public_id":"21"}],"displayName":"Royal Bank of Canada","displayTotal":0,"displayBalance":0,"displayPercent":null,"displayAge":null},{"name":"Sumitomo Mitsui Financial","balance":"0.00","paid_to_date":"108.00","invoices":[{"invoice_status_id":"5","created_at":"2014-07-06 00:00:00","invoice_number":"0094","amount":"108.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"108.00","qty":"1.00"}],"displayName":"0094","displayTotal":108,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"22"}],"displayName":"Sumitomo Mitsui Financial","displayTotal":108,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Comcast","balance":"0.00","paid_to_date":"18.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-30 00:00:00","invoice_number":"0095","amount":"18.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"18.00","qty":"1.00"}],"displayName":"0095","displayTotal":18,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"23"}],"displayName":"Comcast","displayTotal":18,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Sberbank","balance":"466.00","paid_to_date":"127.00","invoices":[{"invoice_status_id":"1","created_at":"2014-07-27 00:00:00","invoice_number":"0096","amount":"135.00","balance":"135.00","invoice_items":[{"product_key":"New York","cost":"135.00","qty":"1.00"}],"displayName":"0096","displayTotal":135,"displayBalance":135,"displayPercent":0,"displayAge":68},{"invoice_status_id":"1","created_at":"2014-09-29 00:00:00","invoice_number":"0097","amount":"133.00","balance":"133.00","invoice_items":[{"product_key":"New York","cost":"133.00","qty":"1.00"}],"displayName":"0097","displayTotal":133,"displayBalance":133,"displayPercent":0,"displayAge":4},{"invoice_status_id":"1","created_at":"2014-09-24 00:00:00","invoice_number":"0098","amount":"118.00","balance":"118.00","invoice_items":[{"product_key":"Colorado","cost":"118.00","qty":"1.00"}],"displayName":"0098","displayTotal":118,"displayBalance":118,"displayPercent":0,"displayAge":9},{"invoice_status_id":"5","created_at":"2014-09-15 00:00:00","invoice_number":"0099","amount":"127.00","balance":"0.00","invoice_items":[{"product_key":"Michigan","cost":"127.00","qty":"1.00"}],"displayName":"0099","displayTotal":127,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-08-26 00:00:00","invoice_number":"0100","amount":"80.00","balance":"80.00","invoice_items":[{"product_key":"Maryland","cost":"80.00","qty":"1.00"}],"displayName":"0100","displayTotal":80,"displayBalance":80,"displayPercent":0,"displayAge":38}],"contacts":[{"public_id":"24"}],"displayName":"Sberbank","displayTotal":593,"displayBalance":466,"displayPercent":0,"displayAge":68},{"name":"Goldman Sachs Group","balance":"0.00","paid_to_date":"123.00","invoices":[{"invoice_status_id":"5","created_at":"2014-07-07 00:00:00","invoice_number":"0101","amount":"123.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"123.00","qty":"1.00"}],"displayName":"0101","displayTotal":123,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"25"}],"displayName":"Goldman Sachs Group","displayTotal":123,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Westpac Banking Group","balance":"0.00","paid_to_date":"116.00","invoices":[{"invoice_status_id":"5","created_at":"2014-08-05 00:00:00","invoice_number":"0102","amount":"116.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"116.00","qty":"1.00"}],"displayName":"0102","displayTotal":116,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"26"}],"displayName":"Westpac Banking Group","displayTotal":116,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Nippon Telegraph & Tel","balance":"0.00","paid_to_date":"36.00","invoices":[{"invoice_status_id":"5","created_at":"2014-07-24 00:00:00","invoice_number":"0103","amount":"36.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"36.00","qty":"1.00"}],"displayName":"0103","displayTotal":36,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"27"}],"displayName":"Nippon Telegraph & Tel","displayTotal":36,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Ping An Insurance Group","balance":null,"paid_to_date":null,"invoices":[],"contacts":[{"public_id":"28"}],"displayName":"Ping An Insurance Group","displayTotal":0,"displayBalance":0,"displayPercent":null,"displayAge":null},{"name":"Banco Bradesco","balance":"1175.00","paid_to_date":"13.00","invoices":[{"invoice_status_id":"1","created_at":"2014-08-03 00:00:00","invoice_number":"0104","amount":"101.00","balance":"101.00","invoice_items":[{"product_key":"Arizona","cost":"101.00","qty":"1.00"}],"displayName":"0104","displayTotal":101,"displayBalance":101,"displayPercent":0,"displayAge":61},{"invoice_status_id":"1","created_at":"2014-07-06 00:00:00","invoice_number":"0105","amount":"132.00","balance":"132.00","invoice_items":[{"product_key":"Connecticut","cost":"132.00","qty":"1.00"}],"displayName":"0105","displayTotal":132,"displayBalance":132,"displayPercent":0,"displayAge":89},{"invoice_status_id":"5","created_at":"2014-09-13 00:00:00","invoice_number":"0106","amount":"13.00","balance":"0.00","invoice_items":[{"product_key":"Illinois","cost":"13.00","qty":"1.00"}],"displayName":"0106","displayTotal":13,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-08 00:00:00","invoice_number":"0107","amount":"942.00","balance":"942.00","invoice_items":[{"product_key":"Arizona","cost":"942.00","qty":"1.00"}],"displayName":"0107","displayTotal":942,"displayBalance":942,"displayPercent":0,"displayAge":87}],"contacts":[{"public_id":"29"}],"displayName":"Banco Bradesco","displayTotal":1188,"displayBalance":1175,"displayPercent":0,"displayAge":89},{"name":"Anheuser-Busch InBev","balance":"0.00","paid_to_date":"38.00","invoices":[{"invoice_status_id":"5","created_at":"2014-07-20 00:00:00","invoice_number":"0108","amount":"38.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"38.00","qty":"1.00"}],"displayName":"0108","displayTotal":38,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"30"}],"displayName":"Anheuser-Busch InBev","displayTotal":38,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Bank of Communications","balance":"0.00","paid_to_date":"145.00","invoices":[{"invoice_status_id":"5","created_at":"2014-08-27 00:00:00","invoice_number":"0109","amount":"145.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"145.00","qty":"1.00"}],"displayName":"0109","displayTotal":145,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"31"}],"displayName":"Bank of Communications","displayTotal":145,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"China Life Insurance","balance":"0.00","paid_to_date":"93.00","invoices":[{"invoice_status_id":"5","created_at":"2014-06-27 00:00:00","invoice_number":"0110","amount":"93.00","balance":"0.00","invoice_items":[{"product_key":"Michigan","cost":"93.00","qty":"1.00"}],"displayName":"0110","displayTotal":93,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"32"}],"displayName":"China Life Insurance","displayTotal":93,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"General Motors","balance":"0.00","paid_to_date":"94.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-21 00:00:00","invoice_number":"0111","amount":"94.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"94.00","qty":"1.00"}],"displayName":"0111","displayTotal":94,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"33"}],"displayName":"General Motors","displayTotal":94,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Telefónica","balance":"41.00","paid_to_date":null,"invoices":[{"invoice_status_id":"1","created_at":"2014-07-10 00:00:00","invoice_number":"0112","amount":"41.00","balance":"41.00","invoice_items":[{"product_key":"California","cost":"41.00","qty":"1.00"}],"displayName":"0112","displayTotal":41,"displayBalance":41,"displayPercent":0,"displayAge":85}],"contacts":[{"public_id":"34"}],"displayName":"Telefónica","displayTotal":41,"displayBalance":41,"displayPercent":0,"displayAge":85},{"name":"MetLife","balance":"0.00","paid_to_date":"3253.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-25 00:00:00","invoice_number":"0113","amount":"43.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"43.00","qty":"1.00"}],"displayName":"0113","displayTotal":43,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-03 00:00:00","invoice_number":"0114","amount":"980.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"980.00","qty":"1.00"}],"displayName":"0114","displayTotal":980,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-11 00:00:00","invoice_number":"0115","amount":"903.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"903.00","qty":"1.00"}],"displayName":"0115","displayTotal":903,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-18 00:00:00","invoice_number":"0116","amount":"44.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"44.00","qty":"1.00"}],"displayName":"0116","displayTotal":44,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-30 00:00:00","invoice_number":"0117","amount":"17.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"17.00","qty":"1.00"}],"displayName":"0117","displayTotal":17,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-17 00:00:00","invoice_number":"0118","amount":"133.00","balance":"0.00","invoice_items":[{"product_key":"Michigan","cost":"133.00","qty":"1.00"}],"displayName":"0118","displayTotal":133,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-13 00:00:00","invoice_number":"0119","amount":"25.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"25.00","qty":"1.00"}],"displayName":"0119","displayTotal":25,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-12 00:00:00","invoice_number":"0120","amount":"982.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"982.00","qty":"1.00"}],"displayName":"0120","displayTotal":982,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-29 00:00:00","invoice_number":"0121","amount":"57.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"57.00","qty":"1.00"}],"displayName":"0121","displayTotal":57,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-16 00:00:00","invoice_number":"0122","amount":"69.00","balance":"0.00","invoice_items":[{"product_key":"Connecticut","cost":"69.00","qty":"1.00"}],"displayName":"0122","displayTotal":69,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"35"}],"displayName":"MetLife","displayTotal":3253,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Honda Motor","balance":"14.00","paid_to_date":null,"invoices":[{"invoice_status_id":"1","created_at":"2014-09-30 00:00:00","invoice_number":"0123","amount":"14.00","balance":"14.00","invoice_items":[{"product_key":"California","cost":"14.00","qty":"1.00"}],"displayName":"0123","displayTotal":14,"displayBalance":14,"displayPercent":0,"displayAge":3}],"contacts":[{"public_id":"36"}],"displayName":"Honda Motor","displayTotal":14,"displayBalance":14,"displayPercent":0,"displayAge":3},{"name":"Enel","balance":"0.00","paid_to_date":"105.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-19 00:00:00","invoice_number":"0124","amount":"105.00","balance":"0.00","invoice_items":[{"product_key":"Delaware","cost":"105.00","qty":"1.00"}],"displayName":"0124","displayTotal":105,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"37"}],"displayName":"Enel","displayTotal":105,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"BASF","balance":null,"paid_to_date":null,"invoices":[],"contacts":[{"public_id":"38"}],"displayName":"BASF","displayTotal":0,"displayBalance":0,"displayPercent":null,"displayAge":null},{"name":"Softbank","balance":"68.00","paid_to_date":null,"invoices":[{"invoice_status_id":"1","created_at":"2014-09-28 00:00:00","invoice_number":"0125","amount":"68.00","balance":"68.00","invoice_items":[{"product_key":"Iowa","cost":"68.00","qty":"1.00"}],"displayName":"0125","displayTotal":68,"displayBalance":68,"displayPercent":0,"displayAge":5}],"contacts":[{"public_id":"39"}],"displayName":"Softbank","displayTotal":68,"displayBalance":68,"displayPercent":0,"displayAge":5},{"name":"National Australia Bank","balance":"573.00","paid_to_date":"201.00","invoices":[{"invoice_status_id":"1","created_at":"2014-08-17 00:00:00","invoice_number":"0126","amount":"98.00","balance":"98.00","invoice_items":[{"product_key":"Arizona","cost":"98.00","qty":"1.00"}],"displayName":"0126","displayTotal":98,"displayBalance":98,"displayPercent":0,"displayAge":47},{"invoice_status_id":"1","created_at":"2014-09-16 00:00:00","invoice_number":"0127","amount":"68.00","balance":"68.00","invoice_items":[{"product_key":"Maine","cost":"68.00","qty":"1.00"}],"displayName":"0127","displayTotal":68,"displayBalance":68,"displayPercent":0,"displayAge":17},{"invoice_status_id":"1","created_at":"2014-09-30 00:00:00","invoice_number":"0128","amount":"120.00","balance":"120.00","invoice_items":[{"product_key":"New York","cost":"120.00","qty":"1.00"}],"displayName":"0128","displayTotal":120,"displayBalance":120,"displayPercent":0,"displayAge":3},{"invoice_status_id":"5","created_at":"2014-08-08 00:00:00","invoice_number":"0129","amount":"105.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"105.00","qty":"1.00"}],"displayName":"0129","displayTotal":105,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-16 00:00:00","invoice_number":"0130","amount":"117.00","balance":"117.00","invoice_items":[{"product_key":"California","cost":"117.00","qty":"1.00"}],"displayName":"0130","displayTotal":117,"displayBalance":117,"displayPercent":0,"displayAge":17},{"invoice_status_id":"1","created_at":"2014-07-08 00:00:00","invoice_number":"0131","amount":"32.00","balance":"32.00","invoice_items":[{"product_key":"Colorado","cost":"32.00","qty":"1.00"}],"displayName":"0131","displayTotal":32,"displayBalance":32,"displayPercent":0,"displayAge":87},{"invoice_status_id":"1","created_at":"2014-07-05 00:00:00","invoice_number":"0132","amount":"35.00","balance":"35.00","invoice_items":[{"product_key":"Arizona","cost":"35.00","qty":"1.00"}],"displayName":"0132","displayTotal":35,"displayBalance":35,"displayPercent":0,"displayAge":90},{"invoice_status_id":"5","created_at":"2014-07-10 00:00:00","invoice_number":"0133","amount":"14.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"14.00","qty":"1.00"}],"displayName":"0133","displayTotal":14,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-12 00:00:00","invoice_number":"0134","amount":"82.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"82.00","qty":"1.00"}],"displayName":"0134","displayTotal":82,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-20 00:00:00","invoice_number":"0135","amount":"103.00","balance":"103.00","invoice_items":[{"product_key":"Arizona","cost":"103.00","qty":"1.00"}],"displayName":"0135","displayTotal":103,"displayBalance":103,"displayPercent":0,"displayAge":75}],"contacts":[{"public_id":"40"}],"displayName":"National Australia Bank","displayTotal":774,"displayBalance":573,"displayPercent":0,"displayAge":90},{"name":"ANZ","balance":"49.00","paid_to_date":null,"invoices":[{"invoice_status_id":"1","created_at":"2014-06-26 00:00:00","invoice_number":"0136","amount":"49.00","balance":"49.00","invoice_items":[{"product_key":"Massachusetts","cost":"49.00","qty":"1.00"}],"displayName":"0136","displayTotal":49,"displayBalance":49,"displayPercent":0,"displayAge":99}],"contacts":[{"public_id":"41"}],"displayName":"ANZ","displayTotal":49,"displayBalance":49,"displayPercent":0,"displayAge":99},{"name":"ConocoPhillips","balance":"0.00","paid_to_date":"20.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-07 00:00:00","invoice_number":"0137","amount":"20.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"20.00","qty":"1.00"}],"displayName":"0137","displayTotal":20,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"42"}],"displayName":"ConocoPhillips","displayTotal":20,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"TD Bank Group","balance":"756.00","paid_to_date":"56.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-13 00:00:00","invoice_number":"0138","amount":"56.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"56.00","qty":"1.00"}],"displayName":"0138","displayTotal":56,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-26 00:00:00","invoice_number":"0139","amount":"147.00","balance":"147.00","invoice_items":[{"product_key":"Iowa","cost":"147.00","qty":"1.00"}],"displayName":"0139","displayTotal":147,"displayBalance":147,"displayPercent":0,"displayAge":69},{"invoice_status_id":"1","created_at":"2014-09-06 00:00:00","invoice_number":"0140","amount":"47.00","balance":"47.00","invoice_items":[{"product_key":"California","cost":"47.00","qty":"1.00"}],"displayName":"0140","displayTotal":47,"displayBalance":47,"displayPercent":0,"displayAge":27},{"invoice_status_id":"1","created_at":"2014-08-19 00:00:00","invoice_number":"0141","amount":"147.00","balance":"147.00","invoice_items":[{"product_key":"Colorado","cost":"147.00","qty":"1.00"}],"displayName":"0141","displayTotal":147,"displayBalance":147,"displayPercent":0,"displayAge":45},{"invoice_status_id":"1","created_at":"2014-09-27 00:00:00","invoice_number":"0142","amount":"113.00","balance":"113.00","invoice_items":[{"product_key":"Colorado","cost":"113.00","qty":"1.00"}],"displayName":"0142","displayTotal":113,"displayBalance":113,"displayPercent":0,"displayAge":6},{"invoice_status_id":"1","created_at":"2014-07-01 00:00:00","invoice_number":"0143","amount":"48.00","balance":"48.00","invoice_items":[{"product_key":"Indiana","cost":"48.00","qty":"1.00"}],"displayName":"0143","displayTotal":48,"displayBalance":48,"displayPercent":0,"displayAge":94},{"invoice_status_id":"1","created_at":"2014-08-18 00:00:00","invoice_number":"0144","amount":"137.00","balance":"137.00","invoice_items":[{"product_key":"Arizona","cost":"137.00","qty":"1.00"}],"displayName":"0144","displayTotal":137,"displayBalance":137,"displayPercent":0,"displayAge":46},{"invoice_status_id":"1","created_at":"2014-09-25 00:00:00","invoice_number":"0145","amount":"117.00","balance":"117.00","invoice_items":[{"product_key":"New York","cost":"117.00","qty":"1.00"}],"displayName":"0145","displayTotal":117,"displayBalance":117,"displayPercent":0,"displayAge":8}],"contacts":[{"public_id":"43"}],"displayName":"TD Bank Group","displayTotal":812,"displayBalance":756,"displayPercent":0,"displayAge":94},{"name":"Intel","balance":"0.00","paid_to_date":"71.00","invoices":[{"invoice_status_id":"5","created_at":"2014-07-24 00:00:00","invoice_number":"0146","amount":"71.00","balance":"0.00","invoice_items":[{"product_key":"Georgia","cost":"71.00","qty":"1.00"}],"displayName":"0146","displayTotal":71,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"44"}],"displayName":"Intel","displayTotal":71,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"UBS","balance":"0.00","paid_to_date":"976.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-06 00:00:00","invoice_number":"0147","amount":"976.00","balance":"0.00","invoice_items":[{"product_key":"Illinois","cost":"976.00","qty":"1.00"}],"displayName":"0147","displayTotal":976,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"45"}],"displayName":"UBS","displayTotal":976,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Hewlett-Packard","balance":"0.00","paid_to_date":"501.00","invoices":[{"invoice_status_id":"5","created_at":"2014-07-16 00:00:00","invoice_number":"0148","amount":"82.00","balance":"0.00","invoice_items":[{"product_key":"Florida","cost":"82.00","qty":"1.00"}],"displayName":"0148","displayTotal":82,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-22 00:00:00","invoice_number":"0149","amount":"134.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"134.00","qty":"1.00"}],"displayName":"0149","displayTotal":134,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-15 00:00:00","invoice_number":"0150","amount":"147.00","balance":"0.00","invoice_items":[{"product_key":"Illinois","cost":"147.00","qty":"1.00"}],"displayName":"0150","displayTotal":147,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-31 00:00:00","invoice_number":"0151","amount":"16.00","balance":"0.00","invoice_items":[{"product_key":"Kansas","cost":"16.00","qty":"1.00"}],"displayName":"0151","displayTotal":16,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-17 00:00:00","invoice_number":"0152","amount":"14.00","balance":"0.00","invoice_items":[{"product_key":"Indiana","cost":"14.00","qty":"1.00"}],"displayName":"0152","displayTotal":14,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-12 00:00:00","invoice_number":"0153","amount":"61.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"61.00","qty":"1.00"}],"displayName":"0153","displayTotal":61,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-17 00:00:00","invoice_number":"0154","amount":"47.00","balance":"0.00","invoice_items":[{"product_key":"Indiana","cost":"47.00","qty":"1.00"}],"displayName":"0154","displayTotal":47,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"46"}],"displayName":"Hewlett-Packard","displayTotal":501,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Coca-Cola","balance":"289.00","paid_to_date":"82.00","invoices":[{"invoice_status_id":"1","created_at":"2014-09-10 00:00:00","invoice_number":"0155","amount":"137.00","balance":"137.00","invoice_items":[{"product_key":"California","cost":"137.00","qty":"1.00"}],"displayName":"0155","displayTotal":137,"displayBalance":137,"displayPercent":0,"displayAge":23},{"invoice_status_id":"1","created_at":"2014-07-10 00:00:00","invoice_number":"0156","amount":"76.00","balance":"76.00","invoice_items":[{"product_key":"Massachusetts","cost":"76.00","qty":"1.00"}],"displayName":"0156","displayTotal":76,"displayBalance":76,"displayPercent":0,"displayAge":85},{"invoice_status_id":"5","created_at":"2014-07-26 00:00:00","invoice_number":"0157","amount":"82.00","balance":"0.00","invoice_items":[{"product_key":"Maine","cost":"82.00","qty":"1.00"}],"displayName":"0157","displayTotal":82,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-29 00:00:00","invoice_number":"0158","amount":"76.00","balance":"76.00","invoice_items":[{"product_key":"New York","cost":"76.00","qty":"1.00"}],"displayName":"0158","displayTotal":76,"displayBalance":76,"displayPercent":0,"displayAge":4}],"contacts":[{"public_id":"47"}],"displayName":"Coca-Cola","displayTotal":371,"displayBalance":289,"displayPercent":0,"displayAge":85},{"name":"Cisco Systems","balance":"111.00","paid_to_date":null,"invoices":[{"invoice_status_id":"1","created_at":"2014-08-20 00:00:00","invoice_number":"0159","amount":"111.00","balance":"111.00","invoice_items":[{"product_key":"Arizona","cost":"111.00","qty":"1.00"}],"displayName":"0159","displayTotal":111,"displayBalance":111,"displayPercent":0,"displayAge":44}],"contacts":[{"public_id":"48"}],"displayName":"Cisco Systems","displayTotal":111,"displayBalance":111,"displayPercent":0,"displayAge":44},{"name":"UnitedHealth Group","balance":"0.00","paid_to_date":"27.00","invoices":[{"invoice_status_id":"5","created_at":"2014-07-14 00:00:00","invoice_number":"0160","amount":"27.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"27.00","qty":"1.00"}],"displayName":"0160","displayTotal":27,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"49"}],"displayName":"UnitedHealth Group","displayTotal":27,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Boeing","balance":"47.00","paid_to_date":null,"invoices":[{"invoice_status_id":"1","created_at":"2014-07-17 00:00:00","invoice_number":"0161","amount":"47.00","balance":"47.00","invoice_items":[{"product_key":"Kansas","cost":"47.00","qty":"1.00"}],"displayName":"0161","displayTotal":47,"displayBalance":47,"displayPercent":0,"displayAge":78}],"contacts":[{"public_id":"50"}],"displayName":"Boeing","displayTotal":47,"displayBalance":47,"displayPercent":0,"displayAge":78},{"name":"Zurich Insurance Group","balance":"1134.00","paid_to_date":"172.00","invoices":[{"invoice_status_id":"1","created_at":"2014-08-06 00:00:00","invoice_number":"0162","amount":"31.00","balance":"31.00","invoice_items":[{"product_key":"Indiana","cost":"31.00","qty":"1.00"}],"displayName":"0162","displayTotal":31,"displayBalance":31,"displayPercent":0,"displayAge":58},{"invoice_status_id":"1","created_at":"2014-08-06 00:00:00","invoice_number":"0163","amount":"78.00","balance":"78.00","invoice_items":[{"product_key":"California","cost":"78.00","qty":"1.00"}],"displayName":"0163","displayTotal":78,"displayBalance":78,"displayPercent":0,"displayAge":58},{"invoice_status_id":"5","created_at":"2014-09-24 00:00:00","invoice_number":"0164","amount":"118.00","balance":"0.00","invoice_items":[{"product_key":"Florida","cost":"118.00","qty":"1.00"}],"displayName":"0164","displayTotal":118,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-27 00:00:00","invoice_number":"0165","amount":"21.00","balance":"21.00","invoice_items":[{"product_key":"Colorado","cost":"21.00","qty":"1.00"}],"displayName":"0165","displayTotal":21,"displayBalance":21,"displayPercent":0,"displayAge":68},{"invoice_status_id":"5","created_at":"2014-07-30 00:00:00","invoice_number":"0166","amount":"54.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"54.00","qty":"1.00"}],"displayName":"0166","displayTotal":54,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-03 00:00:00","invoice_number":"0167","amount":"63.00","balance":"63.00","invoice_items":[{"product_key":"Arizona","cost":"63.00","qty":"1.00"}],"displayName":"0167","displayTotal":63,"displayBalance":63,"displayPercent":0,"displayAge":30},{"invoice_status_id":"1","created_at":"2014-06-26 00:00:00","invoice_number":"0168","amount":"941.00","balance":"941.00","invoice_items":[{"product_key":"Louisiana","cost":"941.00","qty":"1.00"}],"displayName":"0168","displayTotal":941,"displayBalance":941,"displayPercent":0,"displayAge":99}],"contacts":[{"public_id":"51"}],"displayName":"Zurich Insurance Group","displayTotal":1306,"displayBalance":1134,"displayPercent":0,"displayAge":99},{"name":"Hyundai Motor","balance":"0.00","paid_to_date":"1643.00","invoices":[{"invoice_status_id":"5","created_at":"2014-08-08 00:00:00","invoice_number":"0169","amount":"69.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"69.00","qty":"1.00"}],"displayName":"0169","displayTotal":69,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-06-24 00:00:00","invoice_number":"0170","amount":"31.00","balance":"0.00","invoice_items":[{"product_key":"Idaho","cost":"31.00","qty":"1.00"}],"displayName":"0170","displayTotal":31,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-30 00:00:00","invoice_number":"0171","amount":"102.00","balance":"0.00","invoice_items":[{"product_key":"Maryland","cost":"102.00","qty":"1.00"}],"displayName":"0171","displayTotal":102,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-24 00:00:00","invoice_number":"0172","amount":"101.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"101.00","qty":"1.00"}],"displayName":"0172","displayTotal":101,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-24 00:00:00","invoice_number":"0173","amount":"971.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"971.00","qty":"1.00"}],"displayName":"0173","displayTotal":971,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-16 00:00:00","invoice_number":"0174","amount":"34.00","balance":"0.00","invoice_items":[{"product_key":"Kentucky","cost":"34.00","qty":"1.00"}],"displayName":"0174","displayTotal":34,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-15 00:00:00","invoice_number":"0175","amount":"71.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"71.00","qty":"1.00"}],"displayName":"0175","displayTotal":71,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-03 00:00:00","invoice_number":"0176","amount":"106.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"106.00","qty":"1.00"}],"displayName":"0176","displayTotal":106,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-21 00:00:00","invoice_number":"0177","amount":"134.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"134.00","qty":"1.00"}],"displayName":"0177","displayTotal":134,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-04 00:00:00","invoice_number":"0178","amount":"24.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"24.00","qty":"1.00"}],"displayName":"0178","displayTotal":24,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"52"}],"displayName":"Hyundai Motor","displayTotal":1643,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Sanofi","balance":"0.00","paid_to_date":"20.00","invoices":[{"invoice_status_id":"5","created_at":"2014-07-15 00:00:00","invoice_number":"0179","amount":"20.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"20.00","qty":"1.00"}],"displayName":"0179","displayTotal":20,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"53"}],"displayName":"Sanofi","displayTotal":20,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Credit Agricole","balance":"0.00","paid_to_date":"124.00","invoices":[{"invoice_status_id":"5","created_at":"2014-09-30 00:00:00","invoice_number":"0180","amount":"124.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"124.00","qty":"1.00"}],"displayName":"0180","displayTotal":124,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"54"}],"displayName":"Credit Agricole","displayTotal":124,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"United Technologies","balance":"0.00","paid_to_date":"2598.00","invoices":[{"invoice_status_id":"5","created_at":"2014-06-28 00:00:00","invoice_number":"0181","amount":"33.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"33.00","qty":"1.00"}],"displayName":"0181","displayTotal":33,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-23 00:00:00","invoice_number":"0182","amount":"114.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"114.00","qty":"1.00"}],"displayName":"0182","displayTotal":114,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-16 00:00:00","invoice_number":"0183","amount":"938.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"938.00","qty":"1.00"}],"displayName":"0183","displayTotal":938,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-15 00:00:00","invoice_number":"0184","amount":"101.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"101.00","qty":"1.00"}],"displayName":"0184","displayTotal":101,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-03 00:00:00","invoice_number":"0185","amount":"87.00","balance":"0.00","invoice_items":[{"product_key":"Indiana","cost":"87.00","qty":"1.00"}],"displayName":"0185","displayTotal":87,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-20 00:00:00","invoice_number":"0186","amount":"58.00","balance":"0.00","invoice_items":[{"product_key":"Iowa","cost":"58.00","qty":"1.00"}],"displayName":"0186","displayTotal":58,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-24 00:00:00","invoice_number":"0187","amount":"961.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"961.00","qty":"1.00"}],"displayName":"0187","displayTotal":961,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-30 00:00:00","invoice_number":"0188","amount":"132.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"132.00","qty":"1.00"}],"displayName":"0188","displayTotal":132,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-13 00:00:00","invoice_number":"0189","amount":"60.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"60.00","qty":"1.00"}],"displayName":"0189","displayTotal":60,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-30 00:00:00","invoice_number":"0190","amount":"114.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"114.00","qty":"1.00"}],"displayName":"0190","displayTotal":114,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"55"}],"displayName":"United Technologies","displayTotal":2598,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Roche Holding","balance":null,"paid_to_date":null,"invoices":[],"contacts":[{"public_id":"56"}],"displayName":"Roche Holding","displayTotal":0,"displayBalance":0,"displayPercent":null,"displayAge":null},{"name":"Munich Re","balance":"93.00","paid_to_date":null,"invoices":[{"invoice_status_id":"1","created_at":"2014-07-13 00:00:00","invoice_number":"0191","amount":"93.00","balance":"93.00","invoice_items":[{"product_key":"Kentucky","cost":"93.00","qty":"1.00"}],"displayName":"0191","displayTotal":93,"displayBalance":93,"displayPercent":0,"displayAge":82}],"contacts":[{"public_id":"57"}],"displayName":"Munich Re","displayTotal":93,"displayBalance":93,"displayPercent":0,"displayAge":82},{"name":"PepsiCo","balance":"0.00","paid_to_date":"41.00","invoices":[{"invoice_status_id":"5","created_at":"2014-10-01 00:00:00","invoice_number":"0192","amount":"41.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"41.00","qty":"1.00"}],"displayName":"0192","displayTotal":41,"displayBalance":0,"displayPercent":1,"displayAge":0}],"contacts":[{"public_id":"58"}],"displayName":"PepsiCo","displayTotal":41,"displayBalance":0,"displayPercent":1,"displayAge":0},{"name":"Oracle","balance":"91.00","paid_to_date":null,"invoices":[{"invoice_status_id":"1","created_at":"2014-09-19 00:00:00","invoice_number":"0193","amount":"91.00","balance":"91.00","invoice_items":[{"product_key":"Iowa","cost":"91.00","qty":"1.00"}],"displayName":"0193","displayTotal":91,"displayBalance":91,"displayPercent":0,"displayAge":14}],"contacts":[{"public_id":"59"}],"displayName":"Oracle","displayTotal":91,"displayBalance":91,"displayPercent":0,"displayAge":14},{"name":"Bank of Nova Scotia","balance":null,"paid_to_date":null,"invoices":[],"contacts":[{"public_id":"60"}],"displayName":"Bank of Nova Scotia","displayTotal":0,"displayBalance":0,"displayPercent":null,"displayAge":null}] \ No newline at end of file diff --git a/app/tests/data/invoices.response.json b/app/tests/data/invoices.response.json deleted file mode 100644 index 126fe1230e..0000000000 --- a/app/tests/data/invoices.response.json +++ /dev/null @@ -1 +0,0 @@ -[{"invoice_status_id":"5","created_at":"2014-09-18 00:00:00","invoice_number":"0001","amount":"13.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"13.00","qty":"1.00"}],"displayName":"0001","displayTotal":13,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-06-29 00:00:00","invoice_number":"0002","amount":"85.00","balance":"0.00","invoice_items":[{"product_key":"Kansas","cost":"85.00","qty":"1.00"}],"displayName":"0002","displayTotal":85,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-11 00:00:00","invoice_number":"0003","amount":"142.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"142.00","qty":"1.00"}],"displayName":"0003","displayTotal":142,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-19 00:00:00","invoice_number":"0004","amount":"936.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"936.00","qty":"1.00"}],"displayName":"0004","displayTotal":936,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-19 00:00:00","invoice_number":"0005","amount":"74.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"74.00","qty":"1.00"}],"displayName":"0005","displayTotal":74,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-25 00:00:00","invoice_number":"0006","amount":"101.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"101.00","qty":"1.00"}],"displayName":"0006","displayTotal":101,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-21 00:00:00","invoice_number":"0007","amount":"116.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"116.00","qty":"1.00"}],"displayName":"0007","displayTotal":116,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-17 00:00:00","invoice_number":"0008","amount":"42.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"42.00","qty":"1.00"}],"displayName":"0008","displayTotal":42,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-24 00:00:00","invoice_number":"0009","amount":"66.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"66.00","qty":"1.00"}],"displayName":"0009","displayTotal":66,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-21 00:00:00","invoice_number":"0010","amount":"40.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"40.00","qty":"1.00"}],"displayName":"0010","displayTotal":40,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-25 00:00:00","invoice_number":"0011","amount":"99.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"99.00","qty":"1.00"}],"displayName":"0011","displayTotal":99,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-26 00:00:00","invoice_number":"0012","amount":"106.00","balance":"0.00","invoice_items":[{"product_key":"Louisiana","cost":"106.00","qty":"1.00"}],"displayName":"0012","displayTotal":106,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-06-29 00:00:00","invoice_number":"0013","amount":"18.00","balance":"0.00","invoice_items":[{"product_key":"Kansas","cost":"18.00","qty":"1.00"}],"displayName":"0013","displayTotal":18,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-04 00:00:00","invoice_number":"0014","amount":"70.00","balance":"0.00","invoice_items":[{"product_key":"Connecticut","cost":"70.00","qty":"1.00"}],"displayName":"0014","displayTotal":70,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-08 00:00:00","invoice_number":"0015","amount":"59.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"59.00","qty":"1.00"}],"displayName":"0015","displayTotal":59,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-25 00:00:00","invoice_number":"0016","amount":"18.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"18.00","qty":"1.00"}],"displayName":"0016","displayTotal":18,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-04 00:00:00","invoice_number":"0017","amount":"61.00","balance":"0.00","invoice_items":[{"product_key":"Maine","cost":"61.00","qty":"1.00"}],"displayName":"0017","displayTotal":61,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-16 00:00:00","invoice_number":"0018","amount":"65.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"65.00","qty":"1.00"}],"displayName":"0018","displayTotal":65,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-24 00:00:00","invoice_number":"0019","amount":"39.00","balance":"0.00","invoice_items":[{"product_key":"Kansas","cost":"39.00","qty":"1.00"}],"displayName":"0019","displayTotal":39,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-31 00:00:00","invoice_number":"0020","amount":"72.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"72.00","qty":"1.00"}],"displayName":"0020","displayTotal":72,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-12 00:00:00","invoice_number":"0021","amount":"48.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"48.00","qty":"1.00"}],"displayName":"0021","displayTotal":48,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-24 00:00:00","invoice_number":"0022","amount":"90.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"90.00","qty":"1.00"}],"displayName":"0022","displayTotal":90,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-31 00:00:00","invoice_number":"0023","amount":"70.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"70.00","qty":"1.00"}],"displayName":"0023","displayTotal":70,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-07 00:00:00","invoice_number":"0024","amount":"43.00","balance":"0.00","invoice_items":[{"product_key":"Illinois","cost":"43.00","qty":"1.00"}],"displayName":"0024","displayTotal":43,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-06 00:00:00","invoice_number":"0025","amount":"137.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"137.00","qty":"1.00"}],"displayName":"0025","displayTotal":137,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-30 00:00:00","invoice_number":"0026","amount":"92.00","balance":"92.00","invoice_items":[{"product_key":"Iowa","cost":"92.00","qty":"1.00"}],"displayName":"0026","displayTotal":92,"displayBalance":92,"displayPercent":0,"displayAge":3},{"invoice_status_id":"1","created_at":"2014-08-11 00:00:00","invoice_number":"0027","amount":"95.00","balance":"95.00","invoice_items":[{"product_key":"Arizona","cost":"95.00","qty":"1.00"}],"displayName":"0027","displayTotal":95,"displayBalance":95,"displayPercent":0,"displayAge":53},{"invoice_status_id":"1","created_at":"2014-07-28 00:00:00","invoice_number":"0028","amount":"25.00","balance":"25.00","invoice_items":[{"product_key":"Massachusetts","cost":"25.00","qty":"1.00"}],"displayName":"0028","displayTotal":25,"displayBalance":25,"displayPercent":0,"displayAge":67},{"invoice_status_id":"5","created_at":"2014-09-04 00:00:00","invoice_number":"0029","amount":"966.00","balance":"0.00","invoice_items":[{"product_key":"Iowa","cost":"966.00","qty":"1.00"}],"displayName":"0029","displayTotal":966,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-16 00:00:00","invoice_number":"0030","amount":"91.00","balance":"91.00","invoice_items":[{"product_key":"Arizona","cost":"91.00","qty":"1.00"}],"displayName":"0030","displayTotal":91,"displayBalance":91,"displayPercent":0,"displayAge":17},{"invoice_status_id":"5","created_at":"2014-09-03 00:00:00","invoice_number":"0031","amount":"134.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"134.00","qty":"1.00"}],"displayName":"0031","displayTotal":134,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-08 00:00:00","invoice_number":"0032","amount":"102.00","balance":"102.00","invoice_items":[{"product_key":"Colorado","cost":"102.00","qty":"1.00"}],"displayName":"0032","displayTotal":102,"displayBalance":102,"displayPercent":0,"displayAge":87},{"invoice_status_id":"1","created_at":"2014-09-17 00:00:00","invoice_number":"0033","amount":"80.00","balance":"80.00","invoice_items":[{"product_key":"New York","cost":"80.00","qty":"1.00"}],"displayName":"0033","displayTotal":80,"displayBalance":80,"displayPercent":0,"displayAge":16},{"invoice_status_id":"5","created_at":"2014-07-23 00:00:00","invoice_number":"0034","amount":"951.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"951.00","qty":"1.00"}],"displayName":"0034","displayTotal":951,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-23 00:00:00","invoice_number":"0035","amount":"94.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"94.00","qty":"1.00"}],"displayName":"0035","displayTotal":94,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-13 00:00:00","invoice_number":"0036","amount":"137.00","balance":"0.00","invoice_items":[{"product_key":"Kansas","cost":"137.00","qty":"1.00"}],"displayName":"0036","displayTotal":137,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-06-24 00:00:00","invoice_number":"0037","amount":"122.00","balance":"122.00","invoice_items":[{"product_key":"Alabama","cost":"122.00","qty":"1.00"}],"displayName":"0037","displayTotal":122,"displayBalance":122,"displayPercent":0,"displayAge":101},{"invoice_status_id":"1","created_at":"2014-09-25 00:00:00","invoice_number":"0038","amount":"44.00","balance":"44.00","invoice_items":[{"product_key":"Arizona","cost":"44.00","qty":"1.00"}],"displayName":"0038","displayTotal":44,"displayBalance":44,"displayPercent":0,"displayAge":8},{"invoice_status_id":"1","created_at":"2014-08-13 00:00:00","invoice_number":"0039","amount":"68.00","balance":"68.00","invoice_items":[{"product_key":"Arizona","cost":"68.00","qty":"1.00"}],"displayName":"0039","displayTotal":68,"displayBalance":68,"displayPercent":0,"displayAge":51},{"invoice_status_id":"1","created_at":"2014-07-23 00:00:00","invoice_number":"0040","amount":"23.00","balance":"23.00","invoice_items":[{"product_key":"Delaware","cost":"23.00","qty":"1.00"}],"displayName":"0040","displayTotal":23,"displayBalance":23,"displayPercent":0,"displayAge":72},{"invoice_status_id":"1","created_at":"2014-07-06 00:00:00","invoice_number":"0041","amount":"61.00","balance":"61.00","invoice_items":[{"product_key":"Colorado","cost":"61.00","qty":"1.00"}],"displayName":"0041","displayTotal":61,"displayBalance":61,"displayPercent":0,"displayAge":89},{"invoice_status_id":"1","created_at":"2014-09-05 00:00:00","invoice_number":"0042","amount":"128.00","balance":"128.00","invoice_items":[{"product_key":"Arizona","cost":"128.00","qty":"1.00"}],"displayName":"0042","displayTotal":128,"displayBalance":128,"displayPercent":0,"displayAge":28},{"invoice_status_id":"5","created_at":"2014-07-17 00:00:00","invoice_number":"0043","amount":"130.00","balance":"0.00","invoice_items":[{"product_key":"Iowa","cost":"130.00","qty":"1.00"}],"displayName":"0043","displayTotal":130,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-01 00:00:00","invoice_number":"0044","amount":"139.00","balance":"139.00","invoice_items":[{"product_key":"Arizona","cost":"139.00","qty":"1.00"}],"displayName":"0044","displayTotal":139,"displayBalance":139,"displayPercent":0,"displayAge":94},{"invoice_status_id":"1","created_at":"2014-07-20 00:00:00","invoice_number":"0045","amount":"127.00","balance":"127.00","invoice_items":[{"product_key":"California","cost":"127.00","qty":"1.00"}],"displayName":"0045","displayTotal":127,"displayBalance":127,"displayPercent":0,"displayAge":75},{"invoice_status_id":"1","created_at":"2014-09-15 00:00:00","invoice_number":"0046","amount":"83.00","balance":"83.00","invoice_items":[{"product_key":"Michigan","cost":"83.00","qty":"1.00"}],"displayName":"0046","displayTotal":83,"displayBalance":83,"displayPercent":0,"displayAge":18},{"invoice_status_id":"1","created_at":"2014-07-30 00:00:00","invoice_number":"0047","amount":"62.00","balance":"62.00","invoice_items":[{"product_key":"Florida","cost":"62.00","qty":"1.00"}],"displayName":"0047","displayTotal":62,"displayBalance":62,"displayPercent":0,"displayAge":65},{"invoice_status_id":"1","created_at":"2014-09-16 00:00:00","invoice_number":"0048","amount":"902.00","balance":"902.00","invoice_items":[{"product_key":"New York","cost":"902.00","qty":"1.00"}],"displayName":"0048","displayTotal":902,"displayBalance":902,"displayPercent":0,"displayAge":17},{"invoice_status_id":"1","created_at":"2014-08-07 00:00:00","invoice_number":"0049","amount":"139.00","balance":"139.00","invoice_items":[{"product_key":"Arizona","cost":"139.00","qty":"1.00"}],"displayName":"0049","displayTotal":139,"displayBalance":139,"displayPercent":0,"displayAge":57},{"invoice_status_id":"1","created_at":"2014-07-12 00:00:00","invoice_number":"0050","amount":"124.00","balance":"124.00","invoice_items":[{"product_key":"Arizona","cost":"124.00","qty":"1.00"}],"displayName":"0050","displayTotal":124,"displayBalance":124,"displayPercent":0,"displayAge":83},{"invoice_status_id":"1","created_at":"2014-08-05 00:00:00","invoice_number":"0051","amount":"53.00","balance":"53.00","invoice_items":[{"product_key":"Connecticut","cost":"53.00","qty":"1.00"}],"displayName":"0051","displayTotal":53,"displayBalance":53,"displayPercent":0,"displayAge":59},{"invoice_status_id":"1","created_at":"2014-06-27 00:00:00","invoice_number":"0052","amount":"52.00","balance":"52.00","invoice_items":[{"product_key":"Michigan","cost":"52.00","qty":"1.00"}],"displayName":"0052","displayTotal":52,"displayBalance":52,"displayPercent":0,"displayAge":98},{"invoice_status_id":"1","created_at":"2014-09-04 00:00:00","invoice_number":"0053","amount":"28.00","balance":"28.00","invoice_items":[{"product_key":"New York","cost":"28.00","qty":"1.00"}],"displayName":"0053","displayTotal":28,"displayBalance":28,"displayPercent":0,"displayAge":29},{"invoice_status_id":"1","created_at":"2014-07-28 00:00:00","invoice_number":"0054","amount":"36.00","balance":"36.00","invoice_items":[{"product_key":"Alabama","cost":"36.00","qty":"1.00"}],"displayName":"0054","displayTotal":36,"displayBalance":36,"displayPercent":0,"displayAge":67},{"invoice_status_id":"1","created_at":"2014-08-28 00:00:00","invoice_number":"0055","amount":"111.00","balance":"111.00","invoice_items":[{"product_key":"New York","cost":"111.00","qty":"1.00"}],"displayName":"0055","displayTotal":111,"displayBalance":111,"displayPercent":0,"displayAge":36},{"invoice_status_id":"5","created_at":"2014-08-14 00:00:00","invoice_number":"0056","amount":"43.00","balance":"0.00","invoice_items":[{"product_key":"Delaware","cost":"43.00","qty":"1.00"}],"displayName":"0056","displayTotal":43,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-23 00:00:00","invoice_number":"0057","amount":"111.00","balance":"0.00","invoice_items":[{"product_key":"Idaho","cost":"111.00","qty":"1.00"}],"displayName":"0057","displayTotal":111,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-01 00:00:00","invoice_number":"0058","amount":"40.00","balance":"40.00","invoice_items":[{"product_key":"Massachusetts","cost":"40.00","qty":"1.00"}],"displayName":"0058","displayTotal":40,"displayBalance":40,"displayPercent":0,"displayAge":32},{"invoice_status_id":"1","created_at":"2014-09-21 00:00:00","invoice_number":"0059","amount":"116.00","balance":"116.00","invoice_items":[{"product_key":"Maryland","cost":"116.00","qty":"1.00"}],"displayName":"0059","displayTotal":116,"displayBalance":116,"displayPercent":0,"displayAge":12},{"invoice_status_id":"1","created_at":"2014-07-10 00:00:00","invoice_number":"0060","amount":"101.00","balance":"101.00","invoice_items":[{"product_key":"California","cost":"101.00","qty":"1.00"}],"displayName":"0060","displayTotal":101,"displayBalance":101,"displayPercent":0,"displayAge":85},{"invoice_status_id":"1","created_at":"2014-07-19 00:00:00","invoice_number":"0061","amount":"25.00","balance":"25.00","invoice_items":[{"product_key":"New York","cost":"25.00","qty":"1.00"}],"displayName":"0061","displayTotal":25,"displayBalance":25,"displayPercent":0,"displayAge":76},{"invoice_status_id":"5","created_at":"2014-08-08 00:00:00","invoice_number":"0062","amount":"119.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"119.00","qty":"1.00"}],"displayName":"0062","displayTotal":119,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-21 00:00:00","invoice_number":"0063","amount":"42.00","balance":"42.00","invoice_items":[{"product_key":"California","cost":"42.00","qty":"1.00"}],"displayName":"0063","displayTotal":42,"displayBalance":42,"displayPercent":0,"displayAge":74},{"invoice_status_id":"5","created_at":"2014-07-17 00:00:00","invoice_number":"0064","amount":"34.00","balance":"0.00","invoice_items":[{"product_key":"Michigan","cost":"34.00","qty":"1.00"}],"displayName":"0064","displayTotal":34,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-03 00:00:00","invoice_number":"0065","amount":"108.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"108.00","qty":"1.00"}],"displayName":"0065","displayTotal":108,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-29 00:00:00","invoice_number":"0066","amount":"38.00","balance":"0.00","invoice_items":[{"product_key":"Delaware","cost":"38.00","qty":"1.00"}],"displayName":"0066","displayTotal":38,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-13 00:00:00","invoice_number":"0067","amount":"11.00","balance":"0.00","invoice_items":[{"product_key":"Connecticut","cost":"11.00","qty":"1.00"}],"displayName":"0067","displayTotal":11,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-02 00:00:00","invoice_number":"0068","amount":"128.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"128.00","qty":"1.00"}],"displayName":"0068","displayTotal":128,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-05 00:00:00","invoice_number":"0069","amount":"959.00","balance":"0.00","invoice_items":[{"product_key":"Louisiana","cost":"959.00","qty":"1.00"}],"displayName":"0069","displayTotal":959,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-13 00:00:00","invoice_number":"0070","amount":"116.00","balance":"0.00","invoice_items":[{"product_key":"Idaho","cost":"116.00","qty":"1.00"}],"displayName":"0070","displayTotal":116,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-04 00:00:00","invoice_number":"0071","amount":"50.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"50.00","qty":"1.00"}],"displayName":"0071","displayTotal":50,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-11 00:00:00","invoice_number":"0072","amount":"23.00","balance":"0.00","invoice_items":[{"product_key":"Maryland","cost":"23.00","qty":"1.00"}],"displayName":"0072","displayTotal":23,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-28 00:00:00","invoice_number":"0073","amount":"125.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"125.00","qty":"1.00"}],"displayName":"0073","displayTotal":125,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-28 00:00:00","invoice_number":"0074","amount":"981.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"981.00","qty":"1.00"}],"displayName":"0074","displayTotal":981,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-12 00:00:00","invoice_number":"0075","amount":"34.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"34.00","qty":"1.00"}],"displayName":"0075","displayTotal":34,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-15 00:00:00","invoice_number":"0076","amount":"24.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"24.00","qty":"1.00"}],"displayName":"0076","displayTotal":24,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-19 00:00:00","invoice_number":"0077","amount":"107.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"107.00","qty":"1.00"}],"displayName":"0077","displayTotal":107,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-21 00:00:00","invoice_number":"0078","amount":"950.00","balance":"0.00","invoice_items":[{"product_key":"Kentucky","cost":"950.00","qty":"1.00"}],"displayName":"0078","displayTotal":950,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-27 00:00:00","invoice_number":"0079","amount":"148.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"148.00","qty":"1.00"}],"displayName":"0079","displayTotal":148,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-22 00:00:00","invoice_number":"0080","amount":"22.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"22.00","qty":"1.00"}],"displayName":"0080","displayTotal":22,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-22 00:00:00","invoice_number":"0081","amount":"105.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"105.00","qty":"1.00"}],"displayName":"0081","displayTotal":105,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-02 00:00:00","invoice_number":"0082","amount":"19.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"19.00","qty":"1.00"}],"displayName":"0082","displayTotal":19,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-15 00:00:00","invoice_number":"0083","amount":"102.00","balance":"0.00","invoice_items":[{"product_key":"Illinois","cost":"102.00","qty":"1.00"}],"displayName":"0083","displayTotal":102,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-06-27 00:00:00","invoice_number":"0084","amount":"105.00","balance":"0.00","invoice_items":[{"product_key":"Connecticut","cost":"105.00","qty":"1.00"}],"displayName":"0084","displayTotal":105,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-07 00:00:00","invoice_number":"0085","amount":"138.00","balance":"0.00","invoice_items":[{"product_key":"Connecticut","cost":"138.00","qty":"1.00"}],"displayName":"0085","displayTotal":138,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-15 00:00:00","invoice_number":"0086","amount":"86.00","balance":"0.00","invoice_items":[{"product_key":"Louisiana","cost":"86.00","qty":"1.00"}],"displayName":"0086","displayTotal":86,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-14 00:00:00","invoice_number":"0087","amount":"59.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"59.00","qty":"1.00"}],"displayName":"0087","displayTotal":59,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-22 00:00:00","invoice_number":"0088","amount":"129.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"129.00","qty":"1.00"}],"displayName":"0088","displayTotal":129,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-06 00:00:00","invoice_number":"0089","amount":"107.00","balance":"0.00","invoice_items":[{"product_key":"Iowa","cost":"107.00","qty":"1.00"}],"displayName":"0089","displayTotal":107,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-07 00:00:00","invoice_number":"0090","amount":"998.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"998.00","qty":"1.00"}],"displayName":"0090","displayTotal":998,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-17 00:00:00","invoice_number":"0091","amount":"11.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"11.00","qty":"1.00"}],"displayName":"0091","displayTotal":11,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-16 00:00:00","invoice_number":"0092","amount":"57.00","balance":"0.00","invoice_items":[{"product_key":"Idaho","cost":"57.00","qty":"1.00"}],"displayName":"0092","displayTotal":57,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-29 00:00:00","invoice_number":"0093","amount":"32.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"32.00","qty":"1.00"}],"displayName":"0093","displayTotal":32,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-06 00:00:00","invoice_number":"0094","amount":"108.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"108.00","qty":"1.00"}],"displayName":"0094","displayTotal":108,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-30 00:00:00","invoice_number":"0095","amount":"18.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"18.00","qty":"1.00"}],"displayName":"0095","displayTotal":18,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-27 00:00:00","invoice_number":"0096","amount":"135.00","balance":"135.00","invoice_items":[{"product_key":"New York","cost":"135.00","qty":"1.00"}],"displayName":"0096","displayTotal":135,"displayBalance":135,"displayPercent":0,"displayAge":68},{"invoice_status_id":"1","created_at":"2014-09-29 00:00:00","invoice_number":"0097","amount":"133.00","balance":"133.00","invoice_items":[{"product_key":"New York","cost":"133.00","qty":"1.00"}],"displayName":"0097","displayTotal":133,"displayBalance":133,"displayPercent":0,"displayAge":4},{"invoice_status_id":"1","created_at":"2014-09-24 00:00:00","invoice_number":"0098","amount":"118.00","balance":"118.00","invoice_items":[{"product_key":"Colorado","cost":"118.00","qty":"1.00"}],"displayName":"0098","displayTotal":118,"displayBalance":118,"displayPercent":0,"displayAge":9},{"invoice_status_id":"5","created_at":"2014-09-15 00:00:00","invoice_number":"0099","amount":"127.00","balance":"0.00","invoice_items":[{"product_key":"Michigan","cost":"127.00","qty":"1.00"}],"displayName":"0099","displayTotal":127,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-08-26 00:00:00","invoice_number":"0100","amount":"80.00","balance":"80.00","invoice_items":[{"product_key":"Maryland","cost":"80.00","qty":"1.00"}],"displayName":"0100","displayTotal":80,"displayBalance":80,"displayPercent":0,"displayAge":38},{"invoice_status_id":"5","created_at":"2014-07-07 00:00:00","invoice_number":"0101","amount":"123.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"123.00","qty":"1.00"}],"displayName":"0101","displayTotal":123,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-05 00:00:00","invoice_number":"0102","amount":"116.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"116.00","qty":"1.00"}],"displayName":"0102","displayTotal":116,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-24 00:00:00","invoice_number":"0103","amount":"36.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"36.00","qty":"1.00"}],"displayName":"0103","displayTotal":36,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-08-03 00:00:00","invoice_number":"0104","amount":"101.00","balance":"101.00","invoice_items":[{"product_key":"Arizona","cost":"101.00","qty":"1.00"}],"displayName":"0104","displayTotal":101,"displayBalance":101,"displayPercent":0,"displayAge":61},{"invoice_status_id":"1","created_at":"2014-07-06 00:00:00","invoice_number":"0105","amount":"132.00","balance":"132.00","invoice_items":[{"product_key":"Connecticut","cost":"132.00","qty":"1.00"}],"displayName":"0105","displayTotal":132,"displayBalance":132,"displayPercent":0,"displayAge":89},{"invoice_status_id":"5","created_at":"2014-09-13 00:00:00","invoice_number":"0106","amount":"13.00","balance":"0.00","invoice_items":[{"product_key":"Illinois","cost":"13.00","qty":"1.00"}],"displayName":"0106","displayTotal":13,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-08 00:00:00","invoice_number":"0107","amount":"942.00","balance":"942.00","invoice_items":[{"product_key":"Arizona","cost":"942.00","qty":"1.00"}],"displayName":"0107","displayTotal":942,"displayBalance":942,"displayPercent":0,"displayAge":87},{"invoice_status_id":"5","created_at":"2014-07-20 00:00:00","invoice_number":"0108","amount":"38.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"38.00","qty":"1.00"}],"displayName":"0108","displayTotal":38,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-27 00:00:00","invoice_number":"0109","amount":"145.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"145.00","qty":"1.00"}],"displayName":"0109","displayTotal":145,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-06-27 00:00:00","invoice_number":"0110","amount":"93.00","balance":"0.00","invoice_items":[{"product_key":"Michigan","cost":"93.00","qty":"1.00"}],"displayName":"0110","displayTotal":93,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-21 00:00:00","invoice_number":"0111","amount":"94.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"94.00","qty":"1.00"}],"displayName":"0111","displayTotal":94,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-10 00:00:00","invoice_number":"0112","amount":"41.00","balance":"41.00","invoice_items":[{"product_key":"California","cost":"41.00","qty":"1.00"}],"displayName":"0112","displayTotal":41,"displayBalance":41,"displayPercent":0,"displayAge":85},{"invoice_status_id":"5","created_at":"2014-09-25 00:00:00","invoice_number":"0113","amount":"43.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"43.00","qty":"1.00"}],"displayName":"0113","displayTotal":43,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-03 00:00:00","invoice_number":"0114","amount":"980.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"980.00","qty":"1.00"}],"displayName":"0114","displayTotal":980,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-11 00:00:00","invoice_number":"0115","amount":"903.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"903.00","qty":"1.00"}],"displayName":"0115","displayTotal":903,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-18 00:00:00","invoice_number":"0116","amount":"44.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"44.00","qty":"1.00"}],"displayName":"0116","displayTotal":44,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-30 00:00:00","invoice_number":"0117","amount":"17.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"17.00","qty":"1.00"}],"displayName":"0117","displayTotal":17,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-17 00:00:00","invoice_number":"0118","amount":"133.00","balance":"0.00","invoice_items":[{"product_key":"Michigan","cost":"133.00","qty":"1.00"}],"displayName":"0118","displayTotal":133,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-13 00:00:00","invoice_number":"0119","amount":"25.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"25.00","qty":"1.00"}],"displayName":"0119","displayTotal":25,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-12 00:00:00","invoice_number":"0120","amount":"982.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"982.00","qty":"1.00"}],"displayName":"0120","displayTotal":982,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-29 00:00:00","invoice_number":"0121","amount":"57.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"57.00","qty":"1.00"}],"displayName":"0121","displayTotal":57,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-16 00:00:00","invoice_number":"0122","amount":"69.00","balance":"0.00","invoice_items":[{"product_key":"Connecticut","cost":"69.00","qty":"1.00"}],"displayName":"0122","displayTotal":69,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-30 00:00:00","invoice_number":"0123","amount":"14.00","balance":"14.00","invoice_items":[{"product_key":"California","cost":"14.00","qty":"1.00"}],"displayName":"0123","displayTotal":14,"displayBalance":14,"displayPercent":0,"displayAge":3},{"invoice_status_id":"5","created_at":"2014-09-19 00:00:00","invoice_number":"0124","amount":"105.00","balance":"0.00","invoice_items":[{"product_key":"Delaware","cost":"105.00","qty":"1.00"}],"displayName":"0124","displayTotal":105,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-28 00:00:00","invoice_number":"0125","amount":"68.00","balance":"68.00","invoice_items":[{"product_key":"Iowa","cost":"68.00","qty":"1.00"}],"displayName":"0125","displayTotal":68,"displayBalance":68,"displayPercent":0,"displayAge":5},{"invoice_status_id":"1","created_at":"2014-08-17 00:00:00","invoice_number":"0126","amount":"98.00","balance":"98.00","invoice_items":[{"product_key":"Arizona","cost":"98.00","qty":"1.00"}],"displayName":"0126","displayTotal":98,"displayBalance":98,"displayPercent":0,"displayAge":47},{"invoice_status_id":"1","created_at":"2014-09-16 00:00:00","invoice_number":"0127","amount":"68.00","balance":"68.00","invoice_items":[{"product_key":"Maine","cost":"68.00","qty":"1.00"}],"displayName":"0127","displayTotal":68,"displayBalance":68,"displayPercent":0,"displayAge":17},{"invoice_status_id":"1","created_at":"2014-09-30 00:00:00","invoice_number":"0128","amount":"120.00","balance":"120.00","invoice_items":[{"product_key":"New York","cost":"120.00","qty":"1.00"}],"displayName":"0128","displayTotal":120,"displayBalance":120,"displayPercent":0,"displayAge":3},{"invoice_status_id":"5","created_at":"2014-08-08 00:00:00","invoice_number":"0129","amount":"105.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"105.00","qty":"1.00"}],"displayName":"0129","displayTotal":105,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-16 00:00:00","invoice_number":"0130","amount":"117.00","balance":"117.00","invoice_items":[{"product_key":"California","cost":"117.00","qty":"1.00"}],"displayName":"0130","displayTotal":117,"displayBalance":117,"displayPercent":0,"displayAge":17},{"invoice_status_id":"1","created_at":"2014-07-08 00:00:00","invoice_number":"0131","amount":"32.00","balance":"32.00","invoice_items":[{"product_key":"Colorado","cost":"32.00","qty":"1.00"}],"displayName":"0131","displayTotal":32,"displayBalance":32,"displayPercent":0,"displayAge":87},{"invoice_status_id":"1","created_at":"2014-07-05 00:00:00","invoice_number":"0132","amount":"35.00","balance":"35.00","invoice_items":[{"product_key":"Arizona","cost":"35.00","qty":"1.00"}],"displayName":"0132","displayTotal":35,"displayBalance":35,"displayPercent":0,"displayAge":90},{"invoice_status_id":"5","created_at":"2014-07-10 00:00:00","invoice_number":"0133","amount":"14.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"14.00","qty":"1.00"}],"displayName":"0133","displayTotal":14,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-12 00:00:00","invoice_number":"0134","amount":"82.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"82.00","qty":"1.00"}],"displayName":"0134","displayTotal":82,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-20 00:00:00","invoice_number":"0135","amount":"103.00","balance":"103.00","invoice_items":[{"product_key":"Arizona","cost":"103.00","qty":"1.00"}],"displayName":"0135","displayTotal":103,"displayBalance":103,"displayPercent":0,"displayAge":75},{"invoice_status_id":"1","created_at":"2014-06-26 00:00:00","invoice_number":"0136","amount":"49.00","balance":"49.00","invoice_items":[{"product_key":"Massachusetts","cost":"49.00","qty":"1.00"}],"displayName":"0136","displayTotal":49,"displayBalance":49,"displayPercent":0,"displayAge":99},{"invoice_status_id":"5","created_at":"2014-09-07 00:00:00","invoice_number":"0137","amount":"20.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"20.00","qty":"1.00"}],"displayName":"0137","displayTotal":20,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-13 00:00:00","invoice_number":"0138","amount":"56.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"56.00","qty":"1.00"}],"displayName":"0138","displayTotal":56,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-26 00:00:00","invoice_number":"0139","amount":"147.00","balance":"147.00","invoice_items":[{"product_key":"Iowa","cost":"147.00","qty":"1.00"}],"displayName":"0139","displayTotal":147,"displayBalance":147,"displayPercent":0,"displayAge":69},{"invoice_status_id":"1","created_at":"2014-09-06 00:00:00","invoice_number":"0140","amount":"47.00","balance":"47.00","invoice_items":[{"product_key":"California","cost":"47.00","qty":"1.00"}],"displayName":"0140","displayTotal":47,"displayBalance":47,"displayPercent":0,"displayAge":27},{"invoice_status_id":"1","created_at":"2014-08-19 00:00:00","invoice_number":"0141","amount":"147.00","balance":"147.00","invoice_items":[{"product_key":"Colorado","cost":"147.00","qty":"1.00"}],"displayName":"0141","displayTotal":147,"displayBalance":147,"displayPercent":0,"displayAge":45},{"invoice_status_id":"1","created_at":"2014-09-27 00:00:00","invoice_number":"0142","amount":"113.00","balance":"113.00","invoice_items":[{"product_key":"Colorado","cost":"113.00","qty":"1.00"}],"displayName":"0142","displayTotal":113,"displayBalance":113,"displayPercent":0,"displayAge":6},{"invoice_status_id":"1","created_at":"2014-07-01 00:00:00","invoice_number":"0143","amount":"48.00","balance":"48.00","invoice_items":[{"product_key":"Indiana","cost":"48.00","qty":"1.00"}],"displayName":"0143","displayTotal":48,"displayBalance":48,"displayPercent":0,"displayAge":94},{"invoice_status_id":"1","created_at":"2014-08-18 00:00:00","invoice_number":"0144","amount":"137.00","balance":"137.00","invoice_items":[{"product_key":"Arizona","cost":"137.00","qty":"1.00"}],"displayName":"0144","displayTotal":137,"displayBalance":137,"displayPercent":0,"displayAge":46},{"invoice_status_id":"1","created_at":"2014-09-25 00:00:00","invoice_number":"0145","amount":"117.00","balance":"117.00","invoice_items":[{"product_key":"New York","cost":"117.00","qty":"1.00"}],"displayName":"0145","displayTotal":117,"displayBalance":117,"displayPercent":0,"displayAge":8},{"invoice_status_id":"5","created_at":"2014-07-24 00:00:00","invoice_number":"0146","amount":"71.00","balance":"0.00","invoice_items":[{"product_key":"Georgia","cost":"71.00","qty":"1.00"}],"displayName":"0146","displayTotal":71,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-06 00:00:00","invoice_number":"0147","amount":"976.00","balance":"0.00","invoice_items":[{"product_key":"Illinois","cost":"976.00","qty":"1.00"}],"displayName":"0147","displayTotal":976,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-16 00:00:00","invoice_number":"0148","amount":"82.00","balance":"0.00","invoice_items":[{"product_key":"Florida","cost":"82.00","qty":"1.00"}],"displayName":"0148","displayTotal":82,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-22 00:00:00","invoice_number":"0149","amount":"134.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"134.00","qty":"1.00"}],"displayName":"0149","displayTotal":134,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-15 00:00:00","invoice_number":"0150","amount":"147.00","balance":"0.00","invoice_items":[{"product_key":"Illinois","cost":"147.00","qty":"1.00"}],"displayName":"0150","displayTotal":147,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-31 00:00:00","invoice_number":"0151","amount":"16.00","balance":"0.00","invoice_items":[{"product_key":"Kansas","cost":"16.00","qty":"1.00"}],"displayName":"0151","displayTotal":16,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-17 00:00:00","invoice_number":"0152","amount":"14.00","balance":"0.00","invoice_items":[{"product_key":"Indiana","cost":"14.00","qty":"1.00"}],"displayName":"0152","displayTotal":14,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-12 00:00:00","invoice_number":"0153","amount":"61.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"61.00","qty":"1.00"}],"displayName":"0153","displayTotal":61,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-17 00:00:00","invoice_number":"0154","amount":"47.00","balance":"0.00","invoice_items":[{"product_key":"Indiana","cost":"47.00","qty":"1.00"}],"displayName":"0154","displayTotal":47,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-10 00:00:00","invoice_number":"0155","amount":"137.00","balance":"137.00","invoice_items":[{"product_key":"California","cost":"137.00","qty":"1.00"}],"displayName":"0155","displayTotal":137,"displayBalance":137,"displayPercent":0,"displayAge":23},{"invoice_status_id":"1","created_at":"2014-07-10 00:00:00","invoice_number":"0156","amount":"76.00","balance":"76.00","invoice_items":[{"product_key":"Massachusetts","cost":"76.00","qty":"1.00"}],"displayName":"0156","displayTotal":76,"displayBalance":76,"displayPercent":0,"displayAge":85},{"invoice_status_id":"5","created_at":"2014-07-26 00:00:00","invoice_number":"0157","amount":"82.00","balance":"0.00","invoice_items":[{"product_key":"Maine","cost":"82.00","qty":"1.00"}],"displayName":"0157","displayTotal":82,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-29 00:00:00","invoice_number":"0158","amount":"76.00","balance":"76.00","invoice_items":[{"product_key":"New York","cost":"76.00","qty":"1.00"}],"displayName":"0158","displayTotal":76,"displayBalance":76,"displayPercent":0,"displayAge":4},{"invoice_status_id":"1","created_at":"2014-08-20 00:00:00","invoice_number":"0159","amount":"111.00","balance":"111.00","invoice_items":[{"product_key":"Arizona","cost":"111.00","qty":"1.00"}],"displayName":"0159","displayTotal":111,"displayBalance":111,"displayPercent":0,"displayAge":44},{"invoice_status_id":"5","created_at":"2014-07-14 00:00:00","invoice_number":"0160","amount":"27.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"27.00","qty":"1.00"}],"displayName":"0160","displayTotal":27,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-17 00:00:00","invoice_number":"0161","amount":"47.00","balance":"47.00","invoice_items":[{"product_key":"Kansas","cost":"47.00","qty":"1.00"}],"displayName":"0161","displayTotal":47,"displayBalance":47,"displayPercent":0,"displayAge":78},{"invoice_status_id":"1","created_at":"2014-08-06 00:00:00","invoice_number":"0162","amount":"31.00","balance":"31.00","invoice_items":[{"product_key":"Indiana","cost":"31.00","qty":"1.00"}],"displayName":"0162","displayTotal":31,"displayBalance":31,"displayPercent":0,"displayAge":58},{"invoice_status_id":"1","created_at":"2014-08-06 00:00:00","invoice_number":"0163","amount":"78.00","balance":"78.00","invoice_items":[{"product_key":"California","cost":"78.00","qty":"1.00"}],"displayName":"0163","displayTotal":78,"displayBalance":78,"displayPercent":0,"displayAge":58},{"invoice_status_id":"5","created_at":"2014-09-24 00:00:00","invoice_number":"0164","amount":"118.00","balance":"0.00","invoice_items":[{"product_key":"Florida","cost":"118.00","qty":"1.00"}],"displayName":"0164","displayTotal":118,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-27 00:00:00","invoice_number":"0165","amount":"21.00","balance":"21.00","invoice_items":[{"product_key":"Colorado","cost":"21.00","qty":"1.00"}],"displayName":"0165","displayTotal":21,"displayBalance":21,"displayPercent":0,"displayAge":68},{"invoice_status_id":"5","created_at":"2014-07-30 00:00:00","invoice_number":"0166","amount":"54.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"54.00","qty":"1.00"}],"displayName":"0166","displayTotal":54,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-03 00:00:00","invoice_number":"0167","amount":"63.00","balance":"63.00","invoice_items":[{"product_key":"Arizona","cost":"63.00","qty":"1.00"}],"displayName":"0167","displayTotal":63,"displayBalance":63,"displayPercent":0,"displayAge":30},{"invoice_status_id":"1","created_at":"2014-06-26 00:00:00","invoice_number":"0168","amount":"941.00","balance":"941.00","invoice_items":[{"product_key":"Louisiana","cost":"941.00","qty":"1.00"}],"displayName":"0168","displayTotal":941,"displayBalance":941,"displayPercent":0,"displayAge":99},{"invoice_status_id":"5","created_at":"2014-08-08 00:00:00","invoice_number":"0169","amount":"69.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"69.00","qty":"1.00"}],"displayName":"0169","displayTotal":69,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-06-24 00:00:00","invoice_number":"0170","amount":"31.00","balance":"0.00","invoice_items":[{"product_key":"Idaho","cost":"31.00","qty":"1.00"}],"displayName":"0170","displayTotal":31,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-30 00:00:00","invoice_number":"0171","amount":"102.00","balance":"0.00","invoice_items":[{"product_key":"Maryland","cost":"102.00","qty":"1.00"}],"displayName":"0171","displayTotal":102,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-24 00:00:00","invoice_number":"0172","amount":"101.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"101.00","qty":"1.00"}],"displayName":"0172","displayTotal":101,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-24 00:00:00","invoice_number":"0173","amount":"971.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"971.00","qty":"1.00"}],"displayName":"0173","displayTotal":971,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-16 00:00:00","invoice_number":"0174","amount":"34.00","balance":"0.00","invoice_items":[{"product_key":"Kentucky","cost":"34.00","qty":"1.00"}],"displayName":"0174","displayTotal":34,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-15 00:00:00","invoice_number":"0175","amount":"71.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"71.00","qty":"1.00"}],"displayName":"0175","displayTotal":71,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-03 00:00:00","invoice_number":"0176","amount":"106.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"106.00","qty":"1.00"}],"displayName":"0176","displayTotal":106,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-21 00:00:00","invoice_number":"0177","amount":"134.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"134.00","qty":"1.00"}],"displayName":"0177","displayTotal":134,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-04 00:00:00","invoice_number":"0178","amount":"24.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"24.00","qty":"1.00"}],"displayName":"0178","displayTotal":24,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-15 00:00:00","invoice_number":"0179","amount":"20.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"20.00","qty":"1.00"}],"displayName":"0179","displayTotal":20,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-30 00:00:00","invoice_number":"0180","amount":"124.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"124.00","qty":"1.00"}],"displayName":"0180","displayTotal":124,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-06-28 00:00:00","invoice_number":"0181","amount":"33.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"33.00","qty":"1.00"}],"displayName":"0181","displayTotal":33,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-23 00:00:00","invoice_number":"0182","amount":"114.00","balance":"0.00","invoice_items":[{"product_key":"New York","cost":"114.00","qty":"1.00"}],"displayName":"0182","displayTotal":114,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-16 00:00:00","invoice_number":"0183","amount":"938.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"938.00","qty":"1.00"}],"displayName":"0183","displayTotal":938,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-15 00:00:00","invoice_number":"0184","amount":"101.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"101.00","qty":"1.00"}],"displayName":"0184","displayTotal":101,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-03 00:00:00","invoice_number":"0185","amount":"87.00","balance":"0.00","invoice_items":[{"product_key":"Indiana","cost":"87.00","qty":"1.00"}],"displayName":"0185","displayTotal":87,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-20 00:00:00","invoice_number":"0186","amount":"58.00","balance":"0.00","invoice_items":[{"product_key":"Iowa","cost":"58.00","qty":"1.00"}],"displayName":"0186","displayTotal":58,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-08-24 00:00:00","invoice_number":"0187","amount":"961.00","balance":"0.00","invoice_items":[{"product_key":"California","cost":"961.00","qty":"1.00"}],"displayName":"0187","displayTotal":961,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-30 00:00:00","invoice_number":"0188","amount":"132.00","balance":"0.00","invoice_items":[{"product_key":"Colorado","cost":"132.00","qty":"1.00"}],"displayName":"0188","displayTotal":132,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-07-13 00:00:00","invoice_number":"0189","amount":"60.00","balance":"0.00","invoice_items":[{"product_key":"Hawaii","cost":"60.00","qty":"1.00"}],"displayName":"0189","displayTotal":60,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"5","created_at":"2014-09-30 00:00:00","invoice_number":"0190","amount":"114.00","balance":"0.00","invoice_items":[{"product_key":"Alabama","cost":"114.00","qty":"1.00"}],"displayName":"0190","displayTotal":114,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-07-13 00:00:00","invoice_number":"0191","amount":"93.00","balance":"93.00","invoice_items":[{"product_key":"Kentucky","cost":"93.00","qty":"1.00"}],"displayName":"0191","displayTotal":93,"displayBalance":93,"displayPercent":0,"displayAge":82},{"invoice_status_id":"5","created_at":"2014-10-01 00:00:00","invoice_number":"0192","amount":"41.00","balance":"0.00","invoice_items":[{"product_key":"Arizona","cost":"41.00","qty":"1.00"}],"displayName":"0192","displayTotal":41,"displayBalance":0,"displayPercent":1,"displayAge":0},{"invoice_status_id":"1","created_at":"2014-09-19 00:00:00","invoice_number":"0193","amount":"91.00","balance":"91.00","invoice_items":[{"product_key":"Iowa","cost":"91.00","qty":"1.00"}],"displayName":"0193","displayTotal":91,"displayBalance":91,"displayPercent":0,"displayAge":14}] \ No newline at end of file diff --git a/app/tests/data/products.response.json b/app/tests/data/products.response.json deleted file mode 100644 index c0b7ecf826..0000000000 --- a/app/tests/data/products.response.json +++ /dev/null @@ -1 +0,0 @@ -[{"key":"Alabama","values":{"amount":642,"paid":484,"age":84},"displayName":"Alabama","displayTotal":642,"displayBalance":158,"displayPercent":"0.75","displayAge":84},{"key":"Arizona","values":{"amount":7480,"paid":5062,"age":52},"displayName":"Arizona","displayTotal":7480,"displayBalance":2418,"displayPercent":"0.68","displayAge":52},{"key":"California","values":{"amount":6249,"paid":5545,"age":58},"displayName":"California","displayTotal":6249,"displayBalance":704,"displayPercent":"0.89","displayAge":58},{"key":"Colorado","values":{"amount":1260,"paid":666,"age":68},"displayName":"Colorado","displayTotal":1260,"displayBalance":594,"displayPercent":"0.53","displayAge":68},{"key":"Connecticut","values":{"amount":578,"paid":393,"age":74},"displayName":"Connecticut","displayTotal":578,"displayBalance":185,"displayPercent":"0.68","displayAge":74},{"key":"Delaware","values":{"amount":209,"paid":186,"age":72},"displayName":"Delaware","displayTotal":209,"displayBalance":23,"displayPercent":"0.89","displayAge":72},{"key":"Florida","values":{"amount":262,"paid":200,"age":65},"displayName":"Florida","displayTotal":262,"displayBalance":62,"displayPercent":"0.76","displayAge":65},{"key":"Georgia","values":{"amount":71,"paid":71},"displayName":"Georgia","displayTotal":71,"displayBalance":0,"displayPercent":"1.00"},{"key":"Hawaii","values":{"amount":536,"paid":536},"displayName":"Hawaii","displayTotal":536,"displayBalance":0,"displayPercent":"1.00"},{"key":"Idaho","values":{"amount":315,"paid":315},"displayName":"Idaho","displayTotal":315,"displayBalance":0,"displayPercent":"1.00"},{"key":"Illinois","values":{"amount":1281,"paid":1281},"displayName":"Illinois","displayTotal":1281,"displayBalance":0,"displayPercent":"1.00"},{"key":"Indiana","values":{"amount":227,"paid":148,"age":76},"displayName":"Indiana","displayTotal":227,"displayBalance":79,"displayPercent":"0.65","displayAge":76},{"key":"Iowa","values":{"amount":1659,"paid":1261,"age":9.5},"displayName":"Iowa","displayTotal":1659,"displayBalance":398,"displayPercent":"0.76","displayAge":9.5},{"key":"Kansas","values":{"amount":342,"paid":295,"age":78},"displayName":"Kansas","displayTotal":342,"displayBalance":47,"displayPercent":"0.86","displayAge":78},{"key":"Kentucky","values":{"amount":1077,"paid":984,"age":82},"displayName":"Kentucky","displayTotal":1077,"displayBalance":93,"displayPercent":"0.91","displayAge":82},{"key":"Louisiana","values":{"amount":2092,"paid":1151,"age":99},"displayName":"Louisiana","displayTotal":2092,"displayBalance":941,"displayPercent":"0.55","displayAge":99},{"key":"Maine","values":{"amount":211,"paid":143,"age":17},"displayName":"Maine","displayTotal":211,"displayBalance":68,"displayPercent":"0.68","displayAge":17},{"key":"Maryland","values":{"amount":321,"paid":125,"age":25},"displayName":"Maryland","displayTotal":321,"displayBalance":196,"displayPercent":"0.39","displayAge":25},{"key":"Massachusetts","values":{"amount":190,"paid":0,"age":76},"displayName":"Massachusetts","displayTotal":190,"displayBalance":190,"displayPercent":"0.00","displayAge":76},{"key":"Michigan","values":{"amount":522,"paid":387,"age":58},"displayName":"Michigan","displayTotal":522,"displayBalance":135,"displayPercent":"0.74","displayAge":58},{"key":"New York","values":{"amount":4396,"paid":2669,"age":16.5},"displayName":"New York","displayTotal":4396,"displayBalance":1727,"displayPercent":"0.61","displayAge":16.5}] \ No newline at end of file diff --git a/app/views/reports/d3.blade.php b/app/views/reports/d3.blade.php index 0dfea6d6c8..7a879312d8 100644 --- a/app/views/reports/d3.blade.php +++ b/app/views/reports/d3.blade.php @@ -205,7 +205,7 @@ visibleTooltip = d.displayName; } - d3.select("#tooltipTitle").text(d.displayName); + d3.select("#tooltipTitle").text(truncate(d.displayName, 18)); d3.select("#tooltipTotal").text(formatMoney(d.displayTotal)); d3.select("#tooltipBalance").text(formatMoney(d.displayBalance)); d3.select("#tooltipAge").text(pluralize('? day', parseInt(d.displayAge))); diff --git a/public/built.js b/public/built.js index 6384f73442..74192fffd9 100644 --- a/public/built.js +++ b/public/built.js @@ -47041,7 +47041,6 @@ function populateInvoiceComboboxes(clientId, invoiceId) { var client = clientMap[invoice.client.public_id]; setComboboxValue($('.client-select'), client.public_id, getClientDisplayName(client)); if (!parseFloat($('#amount').val())) { - //$('#amount').val(formatMoney(invoice.balance, invoice.currency_id, true)); $('#amount').val(parseFloat(invoice.balance).toFixed(2)); } } @@ -47813,4 +47812,6 @@ function roundToTwo(num, toString) { return toString ? val.toFixed(2) : val; } - +function truncate(str, length) { + return (str && str.length > length) ? (str.substr(0, length-1) + '...') : str; +} \ No newline at end of file diff --git a/public/js/script.js b/public/js/script.js index bc2c35cbf8..6b2f81e3f9 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -1887,4 +1887,6 @@ function roundToTwo(num, toString) { return toString ? val.toFixed(2) : val; } - +function truncate(str, length) { + return (str && str.length > length) ? (str.substr(0, length-1) + '...') : str; +} \ No newline at end of file