| 1 |
<?php |
| 2 |
/** |
| 3 |
* Invoice Meta Keys Constants |
| 4 |
* |
| 5 |
* @package Easy_Invoice |
| 6 |
* @subpackage Constants |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace EasyInvoice\Constants; |
| 10 |
|
| 11 |
/** |
| 12 |
* |
| 13 |
* Contains all slugs used for the invoice post type. |
| 14 |
*/ |
| 15 |
class PagesSlugs { |
| 16 |
// Invoice Details |
| 17 |
const INVOICE_NEW = 'easy-invoice-builder'; |
| 18 |
const INVOICE_ID = 'invoice_id'; |
| 19 |
const DASHBOARD = 'easy-invoice'; |
| 20 |
const ALL_INVOICES = 'easy-invoice-all'; |
| 21 |
const CLIENTS = 'easy-invoice-clients'; |
| 22 |
const CLIENT_EDIT = 'easy-invoice-client-edit'; |
| 23 |
const CLIENT_VIEW = 'easy-invoice-client-view'; |
| 24 |
const SETTINGS = 'easy-invoice-settings'; |
| 25 |
const LICENSE = 'easy-invoice-license'; |
| 26 |
const REPORTS = 'easy-invoice-reports'; |
| 27 |
const INVOICE_PREVIEW = 'easy-invoice-preview'; |
| 28 |
|
| 29 |
// Email Settings |
| 30 |
const EMAIL_SETTINGS = 'easy-invoice-email-settings'; |
| 31 |
const EMAIL_SETTINGS_GENERAL = 'easy-invoice-email-settings-general'; |
| 32 |
const EMAIL_SETTINGS_INVOICE = 'easy-invoice-email-settings-invoice'; |
| 33 |
const EMAIL_SETTINGS_QUOTE = 'easy-invoice-email-settings-quote'; |
| 34 |
const EMAIL_SETTINGS_PAYMENT = 'easy-invoice-email-settings-payment'; |
| 35 |
const EMAIL_SETTINGS_PAYMENT_REMINDER = 'easy-invoice-email-settings-payment-reminder'; |
| 36 |
|
| 37 |
// Quote Details |
| 38 |
const ALL_QUOTES = 'easy-quote-all'; |
| 39 |
const QUOTE_NEW = 'easy-invoice-quote-builder'; |
| 40 |
const QUOTE_ID = 'quote_id'; |
| 41 |
const QUOTE_PREVIEW = 'easy-quote-preview'; |
| 42 |
|
| 43 |
/** |
| 44 |
* Payments page slug |
| 45 |
*/ |
| 46 |
const PAYMENTS = 'easy-invoice-payments'; |
| 47 |
|
| 48 |
/** |
| 49 |
* New payment page slug |
| 50 |
*/ |
| 51 |
const PAYMENT_NEW = 'easy-invoice-payment-new'; |
| 52 |
|
| 53 |
/** |
| 54 |
* Item Library page slug |
| 55 |
*/ |
| 56 |
const ITEM_LIBRARY = 'easy-invoice-item-library'; |
| 57 |
|
| 58 |
const TEMPLATES = 'easy-invoice-templates'; |
| 59 |
const TEMPLATES_NEW = 'easy-invoice-templates-new'; |
| 60 |
const EXPORT_IMPORT = 'easy-invoice-export-import'; |
| 61 |
const PAYMENT_THANK_YOU = 'easy-invoice-payment-thank-you'; |
| 62 |
|
| 63 |
/** |
| 64 |
* Addons listing page |
| 65 |
*/ |
| 66 |
const ADDONS = 'easy-invoice-addons'; |
| 67 |
} |
| 68 |
|