Changeset 17889
- Timestamp:
- 10/03/08 12:26:49 (2 months ago)
- Files:
-
- trunk/midcom/org.openpsa.invoices/viewer.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/org.openpsa.invoices/viewer.php
r17626 r17889 20 20 21 21 // Match / 22 $this->_request_switch['list_open'] = array( 22 $this->_request_switch['list_open'] = array 23 ( 23 24 'handler' => Array('org_openpsa_invoices_handler_list', 'dashboard'), 24 25 ); … … 33 34 34 35 // Match /list/customer/<company guid> 35 $this->_request_switch['list_customer_open'] = array( 36 $this->_request_switch['list_customer_open'] = array 37 ( 38 'handler' => Array('org_openpsa_invoices_handler_list', 'customer'), 36 39 'fixed_args' => array('list', 'customer'), 37 40 'variable_args' => 1, 38 'handler' => Array('org_openpsa_invoices_handler_list', 'customer'),39 41 ); 40 42 41 43 // Match /list/customer/all/<company guid> 42 $this->_request_switch['list_customer_all'] = array( 44 $this->_request_switch['list_customer_all'] = array 45 ( 46 'handler' => Array('org_openpsa_invoices_handler_list', 'customer'), 43 47 'fixed_args' => array('list', 'customer', 'all'), 44 48 'variable_args' => 1, 45 'handler' => Array('org_openpsa_invoices_handler_list', 'customer'),46 49 ); 47 50 48 51 // Match /list/deliverable/<deliverable guid> 49 $this->_request_switch['list_deliverable_all'] = array( 52 $this->_request_switch['list_deliverable_all'] = array 53 ( 54 'handler' => Array('org_openpsa_invoices_handler_list', 'deliverable'), 50 55 'fixed_args' => array('list', 'deliverable'), 51 56 'variable_args' => 1, 52 'handler' => Array('org_openpsa_invoices_handler_list', 'deliverable'),53 57 ); 54 58 55 59 // Match /invoice/new/ 56 $this->_request_switch['invoice_new_nocustomer'] = array( 60 $this->_request_switch['invoice_new_nocustomer'] = array 61 ( 62 'handler' => Array('org_openpsa_invoices_handler_edit', 'new'), 57 63 'fixed_args' => array('invoice', 'new'), 58 'handler' => Array('org_openpsa_invoices_handler_edit', 'new'),59 64 ); 60 65 61 66 // Match /invoice/new/<company guid> 62 $this->_request_switch['invoice_new'] = array( 67 $this->_request_switch['invoice_new'] = array 68 ( 69 'handler' => Array('org_openpsa_invoices_handler_edit', 'new'), 63 70 'fixed_args' => array('invoice', 'new'), 64 71 'variable_args' => 1, 65 'handler' => Array('org_openpsa_invoices_handler_edit', 'new'),66 72 ); 67 73 68 74 // Match /invoice/edit/<guid> 69 $this->_request_switch['invoice_edit'] = array( 75 $this->_request_switch['invoice_edit'] = array 76 ( 77 'handler' => Array('org_openpsa_invoices_handler_edit', 'edit'), 70 78 'fixed_args' => array('invoice', 'edit'), 71 79 'variable_args' => 1, 72 'handler' => Array('org_openpsa_invoices_handler_edit', 'edit'),73 80 ); 74 81 75 82 // Match /invoice/delete/<guid> 76 $this->_request_switch['invoice_delete'] = array( 83 $this->_request_switch['invoice_delete'] = array 84 ( 85 'handler' => Array('org_openpsa_invoices_handler_delete', 'delete'), 77 86 'fixed_args' => array('invoice', 'delete'), 78 87 'variable_args' => 1, 79 'handler' => Array('org_openpsa_invoices_handler_delete', 'delete'),80 88 ); 81 89 82 90 // Match /invoice/mark_sent/<guid> 83 $this->_request_switch['invoice_mark_sent'] = array( 91 $this->_request_switch['invoice_mark_sent'] = array 92 ( 93 'handler' => Array('org_openpsa_invoices_handler_edit', 'mark_sent'), 84 94 'fixed_args' => array('invoice', 'mark_sent'), 85 95 'variable_args' => 1, 86 'handler' => Array('org_openpsa_invoices_handler_edit', 'mark_sent'),87 96 ); 88 97 89 98 // Match /invoice/mark_paid/<guid> 90 $this->_request_switch['invoice_mark_paid'] = array( 99 $this->_request_switch['invoice_mark_paid'] = array 100 ( 101 'handler' => Array('org_openpsa_invoices_handler_edit', 'mark_paid'), 91 102 'fixed_args' => array('invoice', 'mark_paid'), 92 103 'variable_args' => 1, 93 'handler' => Array('org_openpsa_invoices_handler_edit', 'mark_paid'),94 104 ); 95 105 96 106 // Match /invoice/<guid> 97 $this->_request_switch['invoice'] = array( 107 $this->_request_switch['invoice'] = array 108 ( 109 'handler' => Array('org_openpsa_invoices_handler_edit', 'view'), 98 110 'fixed_args' => array('invoice'), 99 111 'variable_args' => 1, 100 'handler' => Array('org_openpsa_invoices_handler_edit', 'view'),101 112 ); 102 113 … … 110 121 ); 111 122 112 $_MIDCOM->add_link_head(array 123 $_MIDCOM->add_link_head 124 ( 125 array 113 126 ( 114 127 'rel' => 'stylesheet',
