cashboard 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.autotest +26 -0
- data/.gitignore +2 -0
- data/LICENSE +19 -0
- data/README.textile +58 -0
- data/Rakefile +25 -0
- data/cashboard.gemspec +129 -0
- data/examples/create_account.rb +38 -0
- data/examples/list_stuff_in_account.rb +15 -0
- data/examples/simple_workflow.rb +35 -0
- data/examples/time_tracking.rb +30 -0
- data/examples/toggle_timer.rb +0 -0
- data/lib/cashboard/account.rb +21 -0
- data/lib/cashboard/base.rb +223 -0
- data/lib/cashboard/behaviors/base.rb +4 -0
- data/lib/cashboard/behaviors/lists_line_items.rb +32 -0
- data/lib/cashboard/behaviors/toggleable.rb +18 -0
- data/lib/cashboard/client_company.rb +25 -0
- data/lib/cashboard/client_contact.rb +32 -0
- data/lib/cashboard/company_membership.rb +6 -0
- data/lib/cashboard/document_template.rb +10 -0
- data/lib/cashboard/employee.rb +29 -0
- data/lib/cashboard/errors.rb +48 -0
- data/lib/cashboard/estimate.rb +43 -0
- data/lib/cashboard/expense.rb +14 -0
- data/lib/cashboard/invoice.rb +75 -0
- data/lib/cashboard/invoice_line_item.rb +15 -0
- data/lib/cashboard/invoice_payment.rb +7 -0
- data/lib/cashboard/line_item.rb +27 -0
- data/lib/cashboard/payment.rb +22 -0
- data/lib/cashboard/project.rb +38 -0
- data/lib/cashboard/project_assignment.rb +9 -0
- data/lib/cashboard/time_entry.rb +45 -0
- data/lib/cashboard/version.rb +3 -0
- data/lib/cashboard.rb +75 -0
- data/lib/typecasted_open_struct.rb +82 -0
- data/test/fixtures/account.xml +50 -0
- data/test/fixtures/cashboard_credentials.yml +3 -0
- data/test/fixtures/client_companies.xml +41 -0
- data/test/fixtures/client_contacts.xml +53 -0
- data/test/fixtures/company_memberships.xml +21 -0
- data/test/fixtures/document_templates.xml +53 -0
- data/test/fixtures/employees.xml +51 -0
- data/test/fixtures/estimates.xml +243 -0
- data/test/fixtures/expenses.xml +101 -0
- data/test/fixtures/invoice_line_items.xml +138 -0
- data/test/fixtures/invoice_payments.xml +10 -0
- data/test/fixtures/invoices.xml +231 -0
- data/test/fixtures/line_items.xml +243 -0
- data/test/fixtures/payments.xml +93 -0
- data/test/fixtures/project_assignments.xml +30 -0
- data/test/fixtures/projects.xml +129 -0
- data/test/fixtures/time_entries.xml +213 -0
- data/test/full.rb +3 -0
- data/test/test_helper.rb +112 -0
- data/test/unit/account_test.rb +85 -0
- data/test/unit/document_template_test.rb +18 -0
- data/test/unit/estimate_test.rb +166 -0
- data/test/unit/expense_test.rb +16 -0
- data/test/unit/invoice_test.rb +185 -0
- data/test/unit/project_test.rb +198 -0
- data/test/unit/time_entry_test.rb +225 -0
- metadata +220 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<account>
|
3
|
+
<created_at read_only="true">2010-07-28 21:09:59</created_at>
|
4
|
+
<currency_type_code>USD</currency_type_code>
|
5
|
+
<date_format>mm_dd_yyyy</date_format>
|
6
|
+
<expenses_billable>true</expenses_billable>
|
7
|
+
<is_disabled read_only="true">false</is_disabled>
|
8
|
+
<next_payment_date read_only="true">2010-07-27</next_payment_date>
|
9
|
+
<price_plan_max>10.00</price_plan_max>
|
10
|
+
<round_time_to_nearest_minutes>1</round_time_to_nearest_minutes>
|
11
|
+
<subdomain read_only="true">paid</subdomain>
|
12
|
+
<time_entries_billable>true</time_entries_billable>
|
13
|
+
<owner>
|
14
|
+
<api_key read_only="true">6tq36lv3i7llk5ivo1mjlffd1pc09vkw56kncwplzdxo6v7xh6</api_key>
|
15
|
+
<last_login read_only="true">2010-07-27 14:10:02</last_login>
|
16
|
+
<login_count read_only="true">2</login_count>
|
17
|
+
<address></address>
|
18
|
+
<address2></address2>
|
19
|
+
<city></city>
|
20
|
+
<country_code></country_code>
|
21
|
+
<custom_1></custom_1>
|
22
|
+
<custom_2></custom_2>
|
23
|
+
<custom_3></custom_3>
|
24
|
+
<email_address>mrmoney@payingcustomer.com</email_address>
|
25
|
+
<employee_status_code read_only="true">2</employee_status_code>
|
26
|
+
<first_name>Mr</first_name>
|
27
|
+
<last_name>Money</last_name>
|
28
|
+
<notes></notes>
|
29
|
+
<password></password>
|
30
|
+
<state></state>
|
31
|
+
<telephone></telephone>
|
32
|
+
<url></url>
|
33
|
+
<zip></zip>
|
34
|
+
</owner>
|
35
|
+
<company>
|
36
|
+
<name>Widgets Unlimited</name>
|
37
|
+
<address>5 Market St</address>
|
38
|
+
<address2>Suite 201</address2>
|
39
|
+
<city>San Francisco</city>
|
40
|
+
<state>CA</state>
|
41
|
+
<zip>95555</zip>
|
42
|
+
<country_code>US</country_code>
|
43
|
+
<url></url>
|
44
|
+
<telephone></telephone>
|
45
|
+
<notes></notes>
|
46
|
+
<custom_1></custom_1>
|
47
|
+
<custom_2></custom_2>
|
48
|
+
<custom_3></custom_3>
|
49
|
+
</company>
|
50
|
+
</account>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<client_companies type="array">
|
3
|
+
<client_company>
|
4
|
+
<link rel="memberships" href="http://apicashboard.i/client_companies/438872084/memberships"/>
|
5
|
+
<link rel="self" href="http://apicashboard.i/client_companies/438872084"/>
|
6
|
+
<id>438872084</id>
|
7
|
+
<name>Survial LTD</name>
|
8
|
+
<address>1500 Cuts Ave.</address>
|
9
|
+
<address2></address2>
|
10
|
+
<city>Bumfuck</city>
|
11
|
+
<state>CA</state>
|
12
|
+
<zip>90001</zip>
|
13
|
+
<country_code>US</country_code>
|
14
|
+
<url></url>
|
15
|
+
<telephone></telephone>
|
16
|
+
<currency_type_code></currency_type_code>
|
17
|
+
<notes></notes>
|
18
|
+
<custom_1></custom_1>
|
19
|
+
<custom_2></custom_2>
|
20
|
+
<custom_3></custom_3>
|
21
|
+
</client_company>
|
22
|
+
<client_company>
|
23
|
+
<link rel="memberships" href="http://apicashboard.i/client_companies/760501033/memberships"/>
|
24
|
+
<link rel="self" href="http://apicashboard.i/client_companies/760501033"/>
|
25
|
+
<id>760501033</id>
|
26
|
+
<name>Bobs Manufacturing</name>
|
27
|
+
<address>222 Industrial Lane</address>
|
28
|
+
<address2></address2>
|
29
|
+
<city>Fremont</city>
|
30
|
+
<state>CA</state>
|
31
|
+
<zip>95111</zip>
|
32
|
+
<country_code>US</country_code>
|
33
|
+
<url></url>
|
34
|
+
<telephone></telephone>
|
35
|
+
<currency_type_code></currency_type_code>
|
36
|
+
<notes></notes>
|
37
|
+
<custom_1></custom_1>
|
38
|
+
<custom_2></custom_2>
|
39
|
+
<custom_3></custom_3>
|
40
|
+
</client_company>
|
41
|
+
</client_companies>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<client_contacts type="array">
|
3
|
+
<client_contact>
|
4
|
+
<link rel="memberships" href="http://apicashboard.i/client_contacts/121898072/memberships"/>
|
5
|
+
<link rel="self" href="http://apicashboard.i/client_contacts/121898072"/>
|
6
|
+
<id>121898072</id>
|
7
|
+
<api_key read_only="true">3i4yhd3l1g1poonnkwm9jyglb4u7xou1gghpttxyhm0f150xrk</api_key>
|
8
|
+
<last_login read_only="true"></last_login>
|
9
|
+
<login_count read_only="true">0</login_count>
|
10
|
+
<address></address>
|
11
|
+
<address2></address2>
|
12
|
+
<city></city>
|
13
|
+
<country_code></country_code>
|
14
|
+
<currency_type_code></currency_type_code>
|
15
|
+
<custom_1></custom_1>
|
16
|
+
<custom_2></custom_2>
|
17
|
+
<custom_3></custom_3>
|
18
|
+
<email_address>bobbarker@bmanufac.biz</email_address>
|
19
|
+
<first_name>Bob</first_name>
|
20
|
+
<last_name>Barker</last_name>
|
21
|
+
<notes></notes>
|
22
|
+
<password></password>
|
23
|
+
<state></state>
|
24
|
+
<telephone></telephone>
|
25
|
+
<url></url>
|
26
|
+
<zip></zip>
|
27
|
+
</client_contact>
|
28
|
+
<client_contact>
|
29
|
+
<link rel="memberships" href="http://apicashboard.i/client_contacts/225395361/memberships"/>
|
30
|
+
<link rel="self" href="http://apicashboard.i/client_contacts/225395361"/>
|
31
|
+
<id>225395361</id>
|
32
|
+
<api_key read_only="true"></api_key>
|
33
|
+
<last_login read_only="true"></last_login>
|
34
|
+
<login_count read_only="true">0</login_count>
|
35
|
+
<address></address>
|
36
|
+
<address2></address2>
|
37
|
+
<city></city>
|
38
|
+
<country_code>IE</country_code>
|
39
|
+
<currency_type_code></currency_type_code>
|
40
|
+
<custom_1></custom_1>
|
41
|
+
<custom_2></custom_2>
|
42
|
+
<custom_3></custom_3>
|
43
|
+
<email_address></email_address>
|
44
|
+
<first_name>Joe</first_name>
|
45
|
+
<last_name>Jones</last_name>
|
46
|
+
<notes></notes>
|
47
|
+
<password></password>
|
48
|
+
<state></state>
|
49
|
+
<telephone></telephone>
|
50
|
+
<url></url>
|
51
|
+
<zip></zip>
|
52
|
+
</client_contact>
|
53
|
+
</client_contacts>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<company_memberships type="array">
|
3
|
+
<company_membership>
|
4
|
+
<link rel="self" href="http://apicashboard.i/company_memberships/760501033"/>
|
5
|
+
<id>760501033</id>
|
6
|
+
<person_id>121898072</person_id>
|
7
|
+
<company_id>760501033</company_id>
|
8
|
+
</company_membership>
|
9
|
+
<company_membership>
|
10
|
+
<link rel="self" href="http://apicashboard.i/company_memberships/323507299"/>
|
11
|
+
<id>323507299</id>
|
12
|
+
<person_id>215816037</person_id>
|
13
|
+
<company_id>695681551</company_id>
|
14
|
+
</company_membership>
|
15
|
+
<company_membership>
|
16
|
+
<link rel="self" href="http://apicashboard.i/company_memberships/837986434"/>
|
17
|
+
<id>837986434</id>
|
18
|
+
<person_id>496989602</person_id>
|
19
|
+
<company_id>695681551</company_id>
|
20
|
+
</company_membership>
|
21
|
+
</company_memberships>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<document_templates type="array">
|
3
|
+
<document_template>
|
4
|
+
<link rel="self" href="http://apicashboard.i/document_templates/HTML_INVOICE_2"/>
|
5
|
+
<id>89758287</id>
|
6
|
+
<content>This is another invoice template that's different.</content>
|
7
|
+
<created_at>2010-07-28 21:10:00</created_at>
|
8
|
+
<has_been_modified read_only="true">true</has_been_modified>
|
9
|
+
<is_default read_only="true">false</is_default>
|
10
|
+
<name>HTML_INVOICE_2</name>
|
11
|
+
<title></title>
|
12
|
+
</document_template>
|
13
|
+
<document_template>
|
14
|
+
<link rel="self" href="http://apicashboard.i/document_templates/html_estimate_2"/>
|
15
|
+
<id>476377787</id>
|
16
|
+
<content>New estimate template.</content>
|
17
|
+
<created_at>2010-07-28 21:10:00</created_at>
|
18
|
+
<has_been_modified read_only="true">true</has_been_modified>
|
19
|
+
<is_default read_only="true">false</is_default>
|
20
|
+
<name>html_estimate_2</name>
|
21
|
+
<title></title>
|
22
|
+
</document_template>
|
23
|
+
<document_template>
|
24
|
+
<link rel="self" href="http://apicashboard.i/document_templates/html_invoice"/>
|
25
|
+
<id>593363170</id>
|
26
|
+
<content>Standard invoice template stuff here.</content>
|
27
|
+
<created_at>2010-07-28 21:10:00</created_at>
|
28
|
+
<has_been_modified read_only="true">true</has_been_modified>
|
29
|
+
<is_default read_only="true">true</is_default>
|
30
|
+
<name>html_invoice</name>
|
31
|
+
<title></title>
|
32
|
+
</document_template>
|
33
|
+
<document_template>
|
34
|
+
<link rel="self" href="http://apicashboard.i/document_templates/custom_content"/>
|
35
|
+
<id>897848990</id>
|
36
|
+
<content>this is hella custom!</content>
|
37
|
+
<created_at>2010-07-28 21:10:00</created_at>
|
38
|
+
<has_been_modified read_only="true">true</has_been_modified>
|
39
|
+
<is_default read_only="true">false</is_default>
|
40
|
+
<name>custom_content</name>
|
41
|
+
<title></title>
|
42
|
+
</document_template>
|
43
|
+
<document_template>
|
44
|
+
<link rel="self" href="http://apicashboard.i/document_templates/html_payment_2"/>
|
45
|
+
<id>940837125</id>
|
46
|
+
<content>Some other payment receipt</content>
|
47
|
+
<created_at>2010-07-28 21:10:00</created_at>
|
48
|
+
<has_been_modified read_only="true">true</has_been_modified>
|
49
|
+
<is_default read_only="true">false</is_default>
|
50
|
+
<name>html_payment_2</name>
|
51
|
+
<title></title>
|
52
|
+
</document_template>
|
53
|
+
</document_templates>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<employees type="array">
|
3
|
+
<employee>
|
4
|
+
<link rel="self" href="http://apicashboard.i/employees/215816037"/>
|
5
|
+
<id>215816037</id>
|
6
|
+
<api_key read_only="true">6tq36lv3i7llk5ivo1mjlffd1pc09vkw56kncwplzdxo6v7xh6</api_key>
|
7
|
+
<last_login read_only="true">2010-07-27 14:10:02</last_login>
|
8
|
+
<login_count read_only="true">2</login_count>
|
9
|
+
<address></address>
|
10
|
+
<address2></address2>
|
11
|
+
<city></city>
|
12
|
+
<country_code></country_code>
|
13
|
+
<custom_1></custom_1>
|
14
|
+
<custom_2></custom_2>
|
15
|
+
<custom_3></custom_3>
|
16
|
+
<email_address>mrmoney@payingcustomer.com</email_address>
|
17
|
+
<employee_status_code read_only="true">2</employee_status_code>
|
18
|
+
<first_name>Mr</first_name>
|
19
|
+
<last_name>Money</last_name>
|
20
|
+
<notes></notes>
|
21
|
+
<password></password>
|
22
|
+
<state></state>
|
23
|
+
<telephone></telephone>
|
24
|
+
<url></url>
|
25
|
+
<zip></zip>
|
26
|
+
</employee>
|
27
|
+
<employee>
|
28
|
+
<link rel="self" href="http://apicashboard.i/employees/496989602"/>
|
29
|
+
<id>496989602</id>
|
30
|
+
<api_key read_only="true">ntwk3zmz4tbj4n842awn2d4p1hu06estzhjlr3dmi84iusjj8o</api_key>
|
31
|
+
<last_login read_only="true">2010-07-27 14:10:02</last_login>
|
32
|
+
<login_count read_only="true">0</login_count>
|
33
|
+
<address></address>
|
34
|
+
<address2></address2>
|
35
|
+
<city></city>
|
36
|
+
<country_code></country_code>
|
37
|
+
<custom_1></custom_1>
|
38
|
+
<custom_2></custom_2>
|
39
|
+
<custom_3></custom_3>
|
40
|
+
<email_address>manuallabor@payingcustomer.com</email_address>
|
41
|
+
<employee_status_code read_only="true">0</employee_status_code>
|
42
|
+
<first_name>Manual</first_name>
|
43
|
+
<last_name>Laborer</last_name>
|
44
|
+
<notes></notes>
|
45
|
+
<password></password>
|
46
|
+
<state></state>
|
47
|
+
<telephone></telephone>
|
48
|
+
<url></url>
|
49
|
+
<zip></zip>
|
50
|
+
</employee>
|
51
|
+
</employees>
|
@@ -0,0 +1,243 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<estimates type="array">
|
3
|
+
<estimate>
|
4
|
+
<link rel="self" href="http://apicashboard.i/estimates/80170468"/>
|
5
|
+
<link rel="toggle_status" href="http://apicashboard.i/estimates/80170468/toggle_status"/>
|
6
|
+
<link rel="line_items" href="http://apicashboard.i/estimates/80170468/line_items"/>
|
7
|
+
<id>80170468</id>
|
8
|
+
<assigned_id>CLOSED-1</assigned_id>
|
9
|
+
<agreement_text></agreement_text>
|
10
|
+
<client_id>760501033</client_id>
|
11
|
+
<client_type>Company</client_type>
|
12
|
+
<created_on>2010-07-28 21:10:00</created_on>
|
13
|
+
<deposit_amount rel="financial">50.00</deposit_amount>
|
14
|
+
<discount_percentage rel="financial"></discount_percentage>
|
15
|
+
<document_template_id></document_template_id>
|
16
|
+
<has_been_sent>true</has_been_sent>
|
17
|
+
<intro_text></intro_text>
|
18
|
+
<is_active read_only="true">false</is_active>
|
19
|
+
<name>Old and crusty Estimate</name>
|
20
|
+
<requires_agreement>true</requires_agreement>
|
21
|
+
<sales_tax rel="financial"></sales_tax>
|
22
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
23
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
24
|
+
<discount_best read_only="true" rel="financial">-0.0</discount_best>
|
25
|
+
<discount_worst read_only="true" rel="financial">-0.0</discount_worst>
|
26
|
+
<item_actual_best read_only="true" rel="financial">0.0</item_actual_best>
|
27
|
+
<item_actual_worst read_only="true" rel="financial">0.0</item_actual_worst>
|
28
|
+
<item_cost_best read_only="true" rel="financial">0.0</item_cost_best>
|
29
|
+
<item_cost_worst read_only="true" rel="financial">0.0</item_cost_worst>
|
30
|
+
<item_profit_best read_only="true" rel="financial">0.0</item_profit_best>
|
31
|
+
<item_profit_worst read_only="true" rel="financial">0.0</item_profit_worst>
|
32
|
+
<item_taxable_best read_only="true" rel="financial">0.0</item_taxable_best>
|
33
|
+
<item_taxable_worst read_only="true" rel="financial">0.0</item_taxable_worst>
|
34
|
+
<price_best read_only="true" rel="financial">0.0</price_best>
|
35
|
+
<price_worst read_only="true" rel="financial">0.0</price_worst>
|
36
|
+
<tax_cost_best read_only="true" rel="financial">0.0</tax_cost_best>
|
37
|
+
<tax_cost_worst read_only="true" rel="financial">0.0</tax_cost_worst>
|
38
|
+
<tax_cost_2_best read_only="true" rel="financial">0.0</tax_cost_2_best>
|
39
|
+
<tax_cost_2_worst read_only="true" rel="financial">0.0</tax_cost_2_worst>
|
40
|
+
<time_best read_only="true">00</time_best>
|
41
|
+
<time_worst read_only="true">00</time_worst>
|
42
|
+
</estimate>
|
43
|
+
<estimate>
|
44
|
+
<link rel="self" href="http://apicashboard.i/estimates/112106857"/>
|
45
|
+
<link rel="toggle_status" href="http://apicashboard.i/estimates/112106857/toggle_status"/>
|
46
|
+
<link rel="line_items" href="http://apicashboard.i/estimates/112106857/line_items"/>
|
47
|
+
<id>112106857</id>
|
48
|
+
<assigned_id>PERSONAL-1</assigned_id>
|
49
|
+
<agreement_text></agreement_text>
|
50
|
+
<client_id>121898072</client_id>
|
51
|
+
<client_type>Person</client_type>
|
52
|
+
<created_on>2010-07-28 21:10:00</created_on>
|
53
|
+
<deposit_amount rel="financial">0.00</deposit_amount>
|
54
|
+
<discount_percentage rel="financial"></discount_percentage>
|
55
|
+
<document_template_id></document_template_id>
|
56
|
+
<has_been_sent>true</has_been_sent>
|
57
|
+
<intro_text></intro_text>
|
58
|
+
<is_active read_only="true">true</is_active>
|
59
|
+
<name>A personal estimate for one person</name>
|
60
|
+
<requires_agreement>true</requires_agreement>
|
61
|
+
<sales_tax rel="financial"></sales_tax>
|
62
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
63
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
64
|
+
<discount_best read_only="true" rel="financial">-0.0</discount_best>
|
65
|
+
<discount_worst read_only="true" rel="financial">-0.0</discount_worst>
|
66
|
+
<item_actual_best read_only="true" rel="financial">0.0</item_actual_best>
|
67
|
+
<item_actual_worst read_only="true" rel="financial">0.0</item_actual_worst>
|
68
|
+
<item_cost_best read_only="true" rel="financial">0.0</item_cost_best>
|
69
|
+
<item_cost_worst read_only="true" rel="financial">0.0</item_cost_worst>
|
70
|
+
<item_profit_best read_only="true" rel="financial">0.0</item_profit_best>
|
71
|
+
<item_profit_worst read_only="true" rel="financial">0.0</item_profit_worst>
|
72
|
+
<item_taxable_best read_only="true" rel="financial">0.0</item_taxable_best>
|
73
|
+
<item_taxable_worst read_only="true" rel="financial">0.0</item_taxable_worst>
|
74
|
+
<price_best read_only="true" rel="financial">0.0</price_best>
|
75
|
+
<price_worst read_only="true" rel="financial">0.0</price_worst>
|
76
|
+
<tax_cost_best read_only="true" rel="financial">0.0</tax_cost_best>
|
77
|
+
<tax_cost_worst read_only="true" rel="financial">0.0</tax_cost_worst>
|
78
|
+
<tax_cost_2_best read_only="true" rel="financial">0.0</tax_cost_2_best>
|
79
|
+
<tax_cost_2_worst read_only="true" rel="financial">0.0</tax_cost_2_worst>
|
80
|
+
<time_best read_only="true">00</time_best>
|
81
|
+
<time_worst read_only="true">00</time_worst>
|
82
|
+
</estimate>
|
83
|
+
<estimate>
|
84
|
+
<link rel="self" href="http://apicashboard.i/estimates/200482051"/>
|
85
|
+
<link rel="toggle_status" href="http://apicashboard.i/estimates/200482051/toggle_status"/>
|
86
|
+
<link rel="line_items" href="http://apicashboard.i/estimates/200482051/line_items"/>
|
87
|
+
<id>200482051</id>
|
88
|
+
<assigned_id>0000002</assigned_id>
|
89
|
+
<agreement_text></agreement_text>
|
90
|
+
<client_id>695681551</client_id>
|
91
|
+
<client_type>Company</client_type>
|
92
|
+
<created_on>2010-07-28 21:10:00</created_on>
|
93
|
+
<deposit_amount rel="financial">0.00</deposit_amount>
|
94
|
+
<discount_percentage rel="financial"></discount_percentage>
|
95
|
+
<document_template_id></document_template_id>
|
96
|
+
<has_been_sent>false</has_been_sent>
|
97
|
+
<intro_text></intro_text>
|
98
|
+
<is_active read_only="true">true</is_active>
|
99
|
+
<name>An internal estimate</name>
|
100
|
+
<requires_agreement>true</requires_agreement>
|
101
|
+
<sales_tax rel="financial"></sales_tax>
|
102
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
103
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
104
|
+
<discount_best read_only="true" rel="financial">-0.0</discount_best>
|
105
|
+
<discount_worst read_only="true" rel="financial">-0.0</discount_worst>
|
106
|
+
<item_actual_best read_only="true" rel="financial">0.0</item_actual_best>
|
107
|
+
<item_actual_worst read_only="true" rel="financial">0.0</item_actual_worst>
|
108
|
+
<item_cost_best read_only="true" rel="financial">0.0</item_cost_best>
|
109
|
+
<item_cost_worst read_only="true" rel="financial">0.0</item_cost_worst>
|
110
|
+
<item_profit_best read_only="true" rel="financial">0.0</item_profit_best>
|
111
|
+
<item_profit_worst read_only="true" rel="financial">0.0</item_profit_worst>
|
112
|
+
<item_taxable_best read_only="true" rel="financial">0.0</item_taxable_best>
|
113
|
+
<item_taxable_worst read_only="true" rel="financial">0.0</item_taxable_worst>
|
114
|
+
<price_best read_only="true" rel="financial">0.0</price_best>
|
115
|
+
<price_worst read_only="true" rel="financial">0.0</price_worst>
|
116
|
+
<tax_cost_best read_only="true" rel="financial">0.0</tax_cost_best>
|
117
|
+
<tax_cost_worst read_only="true" rel="financial">0.0</tax_cost_worst>
|
118
|
+
<tax_cost_2_best read_only="true" rel="financial">0.0</tax_cost_2_best>
|
119
|
+
<tax_cost_2_worst read_only="true" rel="financial">0.0</tax_cost_2_worst>
|
120
|
+
<time_best read_only="true">00</time_best>
|
121
|
+
<time_worst read_only="true">00</time_worst>
|
122
|
+
</estimate>
|
123
|
+
<estimate>
|
124
|
+
<link rel="self" href="http://apicashboard.i/estimates/296221756"/>
|
125
|
+
<link rel="toggle_status" href="http://apicashboard.i/estimates/296221756/toggle_status"/>
|
126
|
+
<link rel="line_items" href="http://apicashboard.i/estimates/296221756/line_items"/>
|
127
|
+
<id>296221756</id>
|
128
|
+
<assigned_id>NO-ASSOC-PROJECT</assigned_id>
|
129
|
+
<agreement_text></agreement_text>
|
130
|
+
<client_id>438872084</client_id>
|
131
|
+
<client_type>Company</client_type>
|
132
|
+
<created_on>2010-07-28 21:10:00</created_on>
|
133
|
+
<deposit_amount rel="financial">0.00</deposit_amount>
|
134
|
+
<discount_percentage rel="financial"></discount_percentage>
|
135
|
+
<document_template_id></document_template_id>
|
136
|
+
<has_been_sent>true</has_been_sent>
|
137
|
+
<intro_text></intro_text>
|
138
|
+
<is_active read_only="true">true</is_active>
|
139
|
+
<name>Estimate with no project</name>
|
140
|
+
<requires_agreement>true</requires_agreement>
|
141
|
+
<sales_tax rel="financial"></sales_tax>
|
142
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
143
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
144
|
+
<discount_best read_only="true" rel="financial">-0.0</discount_best>
|
145
|
+
<discount_worst read_only="true" rel="financial">-0.0</discount_worst>
|
146
|
+
<item_actual_best read_only="true" rel="financial">1340.0</item_actual_best>
|
147
|
+
<item_actual_worst read_only="true" rel="financial">2120.0</item_actual_worst>
|
148
|
+
<item_cost_best read_only="true" rel="financial">1340.0</item_cost_best>
|
149
|
+
<item_cost_worst read_only="true" rel="financial">2120.0</item_cost_worst>
|
150
|
+
<item_profit_best read_only="true" rel="financial">0.0</item_profit_best>
|
151
|
+
<item_profit_worst read_only="true" rel="financial">0.0</item_profit_worst>
|
152
|
+
<item_taxable_best read_only="true" rel="financial">0.0</item_taxable_best>
|
153
|
+
<item_taxable_worst read_only="true" rel="financial">0.0</item_taxable_worst>
|
154
|
+
<price_best read_only="true" rel="financial">1340.0</price_best>
|
155
|
+
<price_worst read_only="true" rel="financial">2120.0</price_worst>
|
156
|
+
<tax_cost_best read_only="true" rel="financial">0.0</tax_cost_best>
|
157
|
+
<tax_cost_worst read_only="true" rel="financial">0.0</tax_cost_worst>
|
158
|
+
<tax_cost_2_best read_only="true" rel="financial">0.0</tax_cost_2_best>
|
159
|
+
<tax_cost_2_worst read_only="true" rel="financial">0.0</tax_cost_2_worst>
|
160
|
+
<time_best read_only="true">220</time_best>
|
161
|
+
<time_worst read_only="true">350</time_worst>
|
162
|
+
</estimate>
|
163
|
+
<estimate>
|
164
|
+
<link rel="self" href="http://apicashboard.i/estimates/317862090"/>
|
165
|
+
<link rel="toggle_status" href="http://apicashboard.i/estimates/317862090/toggle_status"/>
|
166
|
+
<link rel="line_items" href="http://apicashboard.i/estimates/317862090/line_items"/>
|
167
|
+
<id>317862090</id>
|
168
|
+
<assigned_id>0000001</assigned_id>
|
169
|
+
<agreement_text></agreement_text>
|
170
|
+
<client_id>760501033</client_id>
|
171
|
+
<client_type>Company</client_type>
|
172
|
+
<created_on>2010-07-28 21:10:00</created_on>
|
173
|
+
<deposit_amount rel="financial">50.00</deposit_amount>
|
174
|
+
<discount_percentage rel="financial"></discount_percentage>
|
175
|
+
<document_template_id></document_template_id>
|
176
|
+
<has_been_sent>false</has_been_sent>
|
177
|
+
<intro_text></intro_text>
|
178
|
+
<is_active read_only="true">true</is_active>
|
179
|
+
<name>Auctions Redesign</name>
|
180
|
+
<requires_agreement>true</requires_agreement>
|
181
|
+
<sales_tax rel="financial"></sales_tax>
|
182
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
183
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
184
|
+
<discount_best read_only="true" rel="financial">-0.0</discount_best>
|
185
|
+
<discount_worst read_only="true" rel="financial">-0.0</discount_worst>
|
186
|
+
<item_actual_best read_only="true" rel="financial">2640.0</item_actual_best>
|
187
|
+
<item_actual_worst read_only="true" rel="financial">2640.0</item_actual_worst>
|
188
|
+
<item_cost_best read_only="true" rel="financial">2640.0</item_cost_best>
|
189
|
+
<item_cost_worst read_only="true" rel="financial">2640.0</item_cost_worst>
|
190
|
+
<item_profit_best read_only="true" rel="financial">0.0</item_profit_best>
|
191
|
+
<item_profit_worst read_only="true" rel="financial">0.0</item_profit_worst>
|
192
|
+
<item_taxable_best read_only="true" rel="financial">1440.0</item_taxable_best>
|
193
|
+
<item_taxable_worst read_only="true" rel="financial">1440.0</item_taxable_worst>
|
194
|
+
<price_best read_only="true" rel="financial">2640.0</price_best>
|
195
|
+
<price_worst read_only="true" rel="financial">2640.0</price_worst>
|
196
|
+
<tax_cost_best read_only="true" rel="financial">0.0</tax_cost_best>
|
197
|
+
<tax_cost_worst read_only="true" rel="financial">0.0</tax_cost_worst>
|
198
|
+
<tax_cost_2_best read_only="true" rel="financial">0.0</tax_cost_2_best>
|
199
|
+
<tax_cost_2_worst read_only="true" rel="financial">0.0</tax_cost_2_worst>
|
200
|
+
<time_best read_only="true">240</time_best>
|
201
|
+
<time_worst read_only="true">240</time_worst>
|
202
|
+
</estimate>
|
203
|
+
<estimate>
|
204
|
+
<link rel="self" href="http://apicashboard.i/estimates/660985040"/>
|
205
|
+
<link rel="toggle_status" href="http://apicashboard.i/estimates/660985040/toggle_status"/>
|
206
|
+
<link rel="line_items" href="http://apicashboard.i/estimates/660985040/line_items"/>
|
207
|
+
<id>660985040</id>
|
208
|
+
<assigned_id>SURVIVAL-1</assigned_id>
|
209
|
+
<agreement_text></agreement_text>
|
210
|
+
<client_id>438872084</client_id>
|
211
|
+
<client_type>Company</client_type>
|
212
|
+
<created_on>2010-07-28 21:10:00</created_on>
|
213
|
+
<deposit_amount rel="financial">0.00</deposit_amount>
|
214
|
+
<discount_percentage rel="financial"></discount_percentage>
|
215
|
+
<document_template_id></document_template_id>
|
216
|
+
<has_been_sent>true</has_been_sent>
|
217
|
+
<intro_text></intro_text>
|
218
|
+
<is_active read_only="true">true</is_active>
|
219
|
+
<name>Surviving the wild - 2 weeks</name>
|
220
|
+
<requires_agreement>true</requires_agreement>
|
221
|
+
<sales_tax rel="financial"></sales_tax>
|
222
|
+
<sales_tax_2 rel="financial"></sales_tax_2>
|
223
|
+
<sales_tax_2_cumulative rel="financial">false</sales_tax_2_cumulative>
|
224
|
+
<discount_best read_only="true" rel="financial">-0.0</discount_best>
|
225
|
+
<discount_worst read_only="true" rel="financial">-0.0</discount_worst>
|
226
|
+
<item_actual_best read_only="true" rel="financial">0.0</item_actual_best>
|
227
|
+
<item_actual_worst read_only="true" rel="financial">0.0</item_actual_worst>
|
228
|
+
<item_cost_best read_only="true" rel="financial">0.0</item_cost_best>
|
229
|
+
<item_cost_worst read_only="true" rel="financial">0.0</item_cost_worst>
|
230
|
+
<item_profit_best read_only="true" rel="financial">0.0</item_profit_best>
|
231
|
+
<item_profit_worst read_only="true" rel="financial">0.0</item_profit_worst>
|
232
|
+
<item_taxable_best read_only="true" rel="financial">0.0</item_taxable_best>
|
233
|
+
<item_taxable_worst read_only="true" rel="financial">0.0</item_taxable_worst>
|
234
|
+
<price_best read_only="true" rel="financial">0.0</price_best>
|
235
|
+
<price_worst read_only="true" rel="financial">0.0</price_worst>
|
236
|
+
<tax_cost_best read_only="true" rel="financial">0.0</tax_cost_best>
|
237
|
+
<tax_cost_worst read_only="true" rel="financial">0.0</tax_cost_worst>
|
238
|
+
<tax_cost_2_best read_only="true" rel="financial">0.0</tax_cost_2_best>
|
239
|
+
<tax_cost_2_worst read_only="true" rel="financial">0.0</tax_cost_2_worst>
|
240
|
+
<time_best read_only="true">00</time_best>
|
241
|
+
<time_worst read_only="true">00</time_worst>
|
242
|
+
</estimate>
|
243
|
+
</estimates>
|
@@ -0,0 +1,101 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<expenses type="array">
|
3
|
+
<expense>
|
4
|
+
<link rel="self" href="http://apicashboard.i/expenses/304580248"/>
|
5
|
+
<id>304580248</id>
|
6
|
+
<amount>100.00</amount>
|
7
|
+
<category></category>
|
8
|
+
<created_on>2010-07-28 00:00:00</created_on>
|
9
|
+
<description>Uncategorized but added notes</description>
|
10
|
+
<invoice_line_item_id read_only="true"></invoice_line_item_id>
|
11
|
+
<is_billable>true</is_billable>
|
12
|
+
<payee_id></payee_id>
|
13
|
+
<payee_type></payee_type>
|
14
|
+
<person_id>215816037</person_id>
|
15
|
+
<project_id>317862090</project_id>
|
16
|
+
</expense>
|
17
|
+
<expense>
|
18
|
+
<link rel="self" href="http://apicashboard.i/expenses/762764203"/>
|
19
|
+
<id>762764203</id>
|
20
|
+
<amount>84.50</amount>
|
21
|
+
<category>dining</category>
|
22
|
+
<created_on>2010-07-21 00:00:00</created_on>
|
23
|
+
<description>Dinner and drinks</description>
|
24
|
+
<invoice_line_item_id read_only="true"></invoice_line_item_id>
|
25
|
+
<is_billable>true</is_billable>
|
26
|
+
<payee_id></payee_id>
|
27
|
+
<payee_type></payee_type>
|
28
|
+
<person_id>496989602</person_id>
|
29
|
+
<project_id>198381282</project_id>
|
30
|
+
</expense>
|
31
|
+
<expense>
|
32
|
+
<link rel="self" href="http://apicashboard.i/expenses/700279589"/>
|
33
|
+
<id>700279589</id>
|
34
|
+
<amount>100.00</amount>
|
35
|
+
<category>entertainment</category>
|
36
|
+
<created_on>2010-07-28 00:00:00</created_on>
|
37
|
+
<description>Getting our clients smashed at the bar. Booyeah!</description>
|
38
|
+
<invoice_line_item_id read_only="true"></invoice_line_item_id>
|
39
|
+
<is_billable>false</is_billable>
|
40
|
+
<payee_id></payee_id>
|
41
|
+
<payee_type></payee_type>
|
42
|
+
<person_id>215816037</person_id>
|
43
|
+
<project_id>317862090</project_id>
|
44
|
+
</expense>
|
45
|
+
<expense>
|
46
|
+
<link rel="self" href="http://apicashboard.i/expenses/689178246"/>
|
47
|
+
<id>689178246</id>
|
48
|
+
<amount>1200.00</amount>
|
49
|
+
<category>payroll</category>
|
50
|
+
<created_on>2010-07-21 00:00:00</created_on>
|
51
|
+
<description>Payment for Admin</description>
|
52
|
+
<invoice_line_item_id read_only="true"></invoice_line_item_id>
|
53
|
+
<is_billable>false</is_billable>
|
54
|
+
<payee_id></payee_id>
|
55
|
+
<payee_type></payee_type>
|
56
|
+
<person_id>215816037</person_id>
|
57
|
+
<project_id></project_id>
|
58
|
+
</expense>
|
59
|
+
<expense>
|
60
|
+
<link rel="self" href="http://apicashboard.i/expenses/761582085"/>
|
61
|
+
<id>761582085</id>
|
62
|
+
<amount>500.00</amount>
|
63
|
+
<category>payroll</category>
|
64
|
+
<created_on>2010-07-21 00:00:00</created_on>
|
65
|
+
<description>Payment for Employee - last two weeks</description>
|
66
|
+
<invoice_line_item_id read_only="true"></invoice_line_item_id>
|
67
|
+
<is_billable>false</is_billable>
|
68
|
+
<payee_id>496989602</payee_id>
|
69
|
+
<payee_type>Person</payee_type>
|
70
|
+
<person_id>215816037</person_id>
|
71
|
+
<project_id></project_id>
|
72
|
+
</expense>
|
73
|
+
<expense>
|
74
|
+
<link rel="self" href="http://apicashboard.i/expenses/568463538"/>
|
75
|
+
<id>568463538</id>
|
76
|
+
<amount>2500.00</amount>
|
77
|
+
<category>purchase order</category>
|
78
|
+
<created_on>2010-07-28 00:00:00</created_on>
|
79
|
+
<description>P.O from Joes Web Design</description>
|
80
|
+
<invoice_line_item_id read_only="true"></invoice_line_item_id>
|
81
|
+
<is_billable>true</is_billable>
|
82
|
+
<payee_id>438872084</payee_id>
|
83
|
+
<payee_type>Company</payee_type>
|
84
|
+
<person_id>215816037</person_id>
|
85
|
+
<project_id>317862090</project_id>
|
86
|
+
</expense>
|
87
|
+
<expense>
|
88
|
+
<link rel="self" href="http://apicashboard.i/expenses/810163646"/>
|
89
|
+
<id>810163646</id>
|
90
|
+
<amount>500.00</amount>
|
91
|
+
<category>weaponry</category>
|
92
|
+
<created_on>2010-07-28 00:00:00</created_on>
|
93
|
+
<description>Rambo knife materials and forging</description>
|
94
|
+
<invoice_line_item_id read_only="true">899664641</invoice_line_item_id>
|
95
|
+
<is_billable>true</is_billable>
|
96
|
+
<payee_id></payee_id>
|
97
|
+
<payee_type></payee_type>
|
98
|
+
<person_id>215816037</person_id>
|
99
|
+
<project_id>660985040</project_id>
|
100
|
+
</expense>
|
101
|
+
</expenses>
|