-
Home
-
easyReservations
-
6.0-alpha.23 (latest)
-
Code
-
Classes
- ER_Receipt
Total Complexity |
169 |
Dependencies |
12 |
Dependents |
0 |
Total lines |
1,283 |
Lines of code |
610 |
Logical lines of code |
339 |
Comment lines |
473 |
Methods |
57 |
Properties |
3 |
Methods 57
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
calculate_totals() |
A |
41 |
14 |
55 |
update_taxes() |
A |
46 |
12 |
35 |
set_status() |
A |
50 |
11 |
27 |
save_items() |
S |
52 |
7 |
26 |
status_transition() |
S |
47 |
6 |
37 |
get_item() |
S |
56 |
7 |
18 |
get_formatted_total() |
S |
54 |
7 |
18 |
get_formatted_subtotal() |
S |
57 |
7 |
15 |
calculate_taxes() |
S |
56 |
5 |
17 |
get_items() |
S |
59 |
5 |
13 |
get_tax_totals() |
S |
53 |
4 |
21 |
add_item() |
S |
56 |
4 |
19 |
save() |
S |
57 |
4 |
18 |
get_formatted_item_subtotal() |
S |
59 |
4 |
14 |
get_item_total() |
S |
61 |
4 |
12 |
get_item_subtotal() |
S |
61 |
4 |
12 |
update_status() |
S |
52 |
3 |
26 |
add_custom() |
S |
57 |
3 |
17 |
get_items_taxes() |
S |
64 |
4 |
9 |
has_status() |
S |
75 |
3 |
3 |
get_formatted_discount() |
S |
66 |
3 |
8 |
get_item_tax() |
S |
67 |
3 |
7 |
get_status() |
S |
67 |
3 |
7 |
get_formatted_custom() |
S |
60 |
2 |
13 |
remove_item() |
S |
65 |
2 |
9 |
get_item_count() |
S |
73 |
2 |
4 |
get_custom_data() |
S |
66 |
2 |
9 |
add_order_note() |
S |
68 |
2 |
7 |
get_taxes_by_id() |
S |
66 |
2 |
8 |
get_taxes_totals() |
S |
66 |
2 |
8 |
get_total_discount() |
S |
66 |
2 |
8 |
get_values_for_total() |
S |
66 |
1 |
9 |
get_item_types() |
S |
67 |
1 |
9 |
add_status_transition_note() |
S |
77 |
1 |
3 |
set_total() |
S |
78 |
1 |
3 |
cast_item() |
S |
79 |
1 |
3 |
get_date_created() |
S |
79 |
1 |
3 |
get_date_modified() |
S |
79 |
1 |
3 |
get_type() |
S |
82 |
1 |
3 |
get_discount_total() |
S |
79 |
1 |
3 |
get_subtotal() |
S |
74 |
1 |
4 |
set_total_tax() |
S |
79 |
1 |
3 |
set_discount_tax() |
S |
79 |
1 |
3 |
set_prices_include_tax() |
S |
79 |
1 |
3 |
set_date_modified() |
S |
80 |
1 |
3 |
set_date_created() |
S |
80 |
1 |
3 |
get_discount_tax() |
S |
79 |
1 |
3 |
get_total() |
S |
79 |
1 |
3 |
get_total_tax() |
S |
79 |
1 |
3 |
get_prices_include_tax() |
S |
79 |
1 |
3 |
get_cart_total() |
S |
71 |
1 |
7 |
get_cart_subtotal() |
S |
71 |
1 |
7 |
get_total_fees() |
S |
69 |
1 |
8 |
handle_exception() |
S |
67 |
1 |
9 |
get_taxes() |
S |
80 |
1 |
3 |
get_fees() |
S |
80 |
1 |
3 |
set_discount_total() |
S |
79 |
1 |
3 |