├── resources
├── front-end
│ ├── plugins
│ │ └── blank.txt
│ └── img
│ │ ├── po.png
│ │ ├── amex.png
│ │ ├── bacs.jpg
│ │ ├── check.png
│ │ ├── euro.png
│ │ ├── laser.png
│ │ ├── visa.png
│ │ ├── amazon.png
│ │ ├── diners.png
│ │ ├── dollar.png
│ │ ├── maestro.png
│ │ ├── paypal.png
│ │ ├── spinner.gif
│ │ ├── 2checkout.png
│ │ ├── amex-gold.png
│ │ ├── amex-green.png
│ │ ├── discover.png
│ │ ├── gift-card.png
│ │ ├── mastercard.png
│ │ ├── spinner-2x.gif
│ │ ├── visa-card.png
│ │ ├── visa-debit.png
│ │ ├── google-checkout.png
│ │ ├── visa-electron.png
│ │ ├── western-union.png
│ │ └── wire-transfer.png
├── admin
│ ├── plugins
│ │ ├── dropdown
│ │ │ ├── .gitignore
│ │ │ ├── icons
│ │ │ │ ├── clipboard.png
│ │ │ │ ├── scissors.png
│ │ │ │ ├── arrow-curve.png
│ │ │ │ ├── cross-script.png
│ │ │ │ ├── document-copy.png
│ │ │ │ └── arrow-curve-180-left.png
│ │ │ ├── bower.json
│ │ │ ├── component.json
│ │ │ ├── readme.md
│ │ │ └── jquery.dropdown.min.js
│ │ └── select2
│ │ │ ├── .gitignore
│ │ │ └── js
│ │ │ └── i18n
│ │ │ ├── zh-TW.js
│ │ │ ├── zh-CN.js
│ │ │ ├── az.js
│ │ │ ├── fi.js
│ │ │ ├── ja.js
│ │ │ ├── tr.js
│ │ │ ├── ko.js
│ │ │ ├── ar.js
│ │ │ ├── id.js
│ │ │ ├── vi.js
│ │ │ ├── is.js
│ │ │ ├── et.js
│ │ │ ├── th.js
│ │ │ ├── nb.js
│ │ │ ├── sv.js
│ │ │ ├── bg.js
│ │ │ ├── hu.js
│ │ │ ├── km.js
│ │ │ ├── ms.js
│ │ │ ├── da.js
│ │ │ ├── en.js
│ │ │ ├── he.js
│ │ │ ├── hi.js
│ │ │ ├── fa.js
│ │ │ ├── hr.js
│ │ │ ├── eu.js
│ │ │ ├── mk.js
│ │ │ ├── de.js
│ │ │ ├── pt-BR.js
│ │ │ ├── lv.js
│ │ │ ├── pt.js
│ │ │ ├── ca.js
│ │ │ ├── es.js
│ │ │ ├── it.js
│ │ │ ├── gl.js
│ │ │ ├── sl.js
│ │ │ ├── fr.js
│ │ │ ├── nl.js
│ │ │ ├── ro.js
│ │ │ ├── lt.js
│ │ │ ├── pl.js
│ │ │ ├── el.js
│ │ │ ├── sr.js
│ │ │ ├── uk.js
│ │ │ ├── sr-Cyrl.js
│ │ │ ├── ru.js
│ │ │ ├── sk.js
│ │ │ └── cs.js
│ ├── img
│ │ ├── basic.png
│ │ ├── slate.png
│ │ ├── stripe.png
│ │ ├── Paypal-EC.png
│ │ ├── default.png
│ │ ├── original.png
│ │ ├── sprout
│ │ │ ├── badass.png
│ │ │ ├── basic.png
│ │ │ ├── got-it.png
│ │ │ ├── yipee.png
│ │ │ ├── headshot.png
│ │ │ ├── thinking.png
│ │ │ └── struggle-is-real.png
│ │ ├── time-calculator.png
│ │ ├── project-panorama-logo.png
│ │ ├── upgrade
│ │ │ ├── clients-report-upgrade.png
│ │ │ ├── invoices-report-upgrade.png
│ │ │ ├── payments-report-upgrade.png
│ │ │ └── estimates-report-upgrade.png
│ │ └── gravity-ninja-formidible-wpforms.png
│ ├── icons
│ │ ├── estimate.png
│ │ ├── invoices.png
│ │ ├── estimate_wt.png
│ │ ├── invoices_wt.png
│ │ ├── sproutapps.png
│ │ ├── sproutapps-banner.png
│ │ ├── sproutapps-flat.png
│ │ ├── sproutapps-flat-small.png
│ │ └── sproutapps-flat-small-white.png
│ ├── css
│ │ └── sproutapps-ff
│ │ │ ├── sproutapps-ff.eot
│ │ │ ├── sproutapps-ff.ttf
│ │ │ ├── sproutapps-ff.woff
│ │ │ ├── .fontcustom-data
│ │ │ └── style.css
│ └── js
│ │ ├── customizer.js
│ │ ├── notification.js
│ │ └── sprout_invoice.js
└── deprecated-front-end
│ ├── plugins
│ └── blank.txt
│ └── img
│ ├── amex.png
│ ├── bacs.jpg
│ ├── euro.png
│ ├── po.png
│ ├── visa.png
│ ├── amazon.png
│ ├── check.png
│ ├── diners.png
│ ├── dollar.png
│ ├── laser.png
│ ├── paypal.png
│ ├── 2checkout.png
│ ├── amex-gold.png
│ ├── discover.png
│ ├── gift-card.png
│ ├── maestro.png
│ ├── spinner.gif
│ ├── visa-card.png
│ ├── amex-green.png
│ ├── mastercard.png
│ ├── spinner-2x.gif
│ ├── visa-debit.png
│ ├── visa-electron.png
│ ├── western-union.png
│ ├── wire-transfer.png
│ └── google-checkout.png
├── views
├── widgets
│ └── submit-estimate.php
├── templates
│ ├── logo.png
│ ├── checkout
│ │ ├── credit-card
│ │ │ ├── confirmation.php
│ │ │ ├── review.php
│ │ │ └── form.php
│ │ ├── checks
│ │ │ └── form.php
│ │ ├── popayment
│ │ │ └── form.php
│ │ └── bacs
│ │ │ └── form.php
│ ├── theme
│ │ ├── basic
│ │ │ ├── logo.png
│ │ │ ├── checkout
│ │ │ │ ├── checks
│ │ │ │ │ └── form.php
│ │ │ │ ├── popayment
│ │ │ │ │ └── form.php
│ │ │ │ ├── bacs
│ │ │ │ │ └── form.php
│ │ │ │ ├── credit-card
│ │ │ │ │ └── form.php
│ │ │ │ └── autopay-selection.php
│ │ │ └── attachments-info
│ │ │ │ ├── thumbnails-no-links-pdf.php
│ │ │ │ ├── thumbnails-no-links.php
│ │ │ │ ├── thumbnails-pdf.php
│ │ │ │ └── thumbnails.php
│ │ ├── default
│ │ │ ├── logo.png
│ │ │ ├── styles
│ │ │ │ ├── _setup.scss
│ │ │ │ ├── _buttons.scss
│ │ │ │ ├── style.scss
│ │ │ │ ├── _invoice-totals.scss
│ │ │ │ ├── _paybar.scss
│ │ │ │ ├── _typography.scss
│ │ │ │ ├── _notes.scss
│ │ │ │ ├── _header.scss
│ │ │ │ ├── _invoice-items.scss
│ │ │ │ ├── _intro.scss
│ │ │ │ ├── _reset.scss
│ │ │ │ └── _invoice.scss
│ │ │ ├── checkout
│ │ │ │ ├── checks
│ │ │ │ │ └── form.php
│ │ │ │ ├── popayment
│ │ │ │ │ └── form.php
│ │ │ │ ├── bacs
│ │ │ │ │ └── form.php
│ │ │ │ ├── credit-card
│ │ │ │ │ └── form.php
│ │ │ │ └── autopay-selection.php
│ │ │ └── attachments-info
│ │ │ │ ├── thumbnails-no-links-pdf.php
│ │ │ │ ├── thumbnails-no-links.php
│ │ │ │ ├── thumbnails-pdf.php
│ │ │ │ └── thumbnails.php
│ │ ├── slate
│ │ │ ├── functions.php
│ │ │ └── customizer.php
│ │ └── original
│ │ │ ├── functions.php
│ │ │ └── customizer.php
│ ├── invoice
│ │ └── checkout-confirmation.php
│ ├── messages.php
│ └── estimate
│ │ └── estimate-submission-form.php
├── admin
│ ├── meta-boxes
│ │ ├── clients
│ │ │ ├── advanced.php
│ │ │ ├── name.php
│ │ │ ├── create-user-modal.php
│ │ │ ├── creation-modal.php
│ │ │ └── info.php
│ │ ├── notifications
│ │ │ └── shortcodes.php
│ │ ├── projects
│ │ │ ├── name.php
│ │ │ ├── info.php
│ │ │ ├── information-doc-select.php
│ │ │ └── client-submit.php
│ │ ├── invoices
│ │ │ ├── send.php
│ │ │ ├── payments.php
│ │ │ ├── notes.php
│ │ │ └── quick-links.php
│ │ └── estimates
│ │ │ ├── send.php
│ │ │ ├── notes.php
│ │ │ └── quick-links.php
│ ├── options
│ │ └── destroy-everything.php
│ ├── reports
│ │ ├── dashboard.php
│ │ ├── clients.php
│ │ ├── invoices.php
│ │ ├── payments.php
│ │ ├── estimates.php
│ │ └── admin.php
│ ├── dashboards
│ │ ├── invoices-status-chart.php
│ │ ├── payments-status-chart.php
│ │ ├── estimates-status-chart.php
│ │ ├── balances-chart.php
│ │ ├── requests-converted-chart.php
│ │ └── premium
│ │ │ └── payments-status-chart.php
│ ├── sections
│ │ ├── edit-private-note.php
│ │ ├── add-line-item.php
│ │ ├── line-item-totals.php
│ │ └── line-items.php
│ ├── messages.php
│ ├── importer
│ │ └── admin.php
│ ├── payment-processors
│ │ ├── no-settings.php
│ │ ├── cc-no-settings.php
│ │ ├── admin-free-paypal-download.php
│ │ ├── cc-settings.php
│ │ └── settings.php
│ └── addons
│ │ ├── settings-template-addon.php
│ │ └── settings-template-mp-addon.php
└── notifications
│ ├── request-received.php
│ ├── payment-reminder.php
│ ├── admin-estimate-declined.php
│ ├── admin-request-submitted.php
│ ├── admin-payment.php
│ ├── admin-estimate-accepted.php
│ ├── estimate.php
│ ├── payment-final.php
│ ├── payment-cleared.php
│ ├── payment-deposit.php
│ └── invoice.php
├── screenshot-1.png
├── screenshot-2.png
├── screenshot-3.png
├── screenshot-4.gif
├── screenshot-5.gif
├── screenshot-6.gif
├── screenshot-7.png
├── bundles
└── default.png
├── languages
├── sprout-invoices.mo
├── sprout-invoices-uk.mo
├── sprout-invoices-ar_SA.mo
├── sprout-invoices-cs_CZ.mo
├── sprout-invoices-da_DK.mo
├── sprout-invoices-de_DE.mo
├── sprout-invoices-en_GB.mo
├── sprout-invoices-es_AR.mo
├── sprout-invoices-es_ES.mo
├── sprout-invoices-fr_FR.mo
├── sprout-invoices-id_ID.mo
├── sprout-invoices-it_IT.mo
├── sprout-invoices-nl_NL.mo
├── sprout-invoices-pt_BR.mo
├── sprout-invoices-pt_PT.mo
├── sprout-invoices-ru_RU.mo
├── sprout-invoices-sr_RS.mo
├── sprout-invoices-sv_SE.mo
├── sprout-invoices-zh_TW.mo
├── readme.md
└── readme.txt
├── importers
├── csv-examples
│ ├── payments.csv
│ ├── clients.csv
│ ├── invoices.csv
│ └── estimates.csv
└── lib
│ └── harvest
│ └── Harvest
│ ├── Exception.php
│ ├── Category.php
│ ├── Throttle.php
│ ├── Client.php
│ ├── Contact.php
│ ├── Task.php
│ ├── InvoiceItemCategory.php
│ ├── TaskAssignment.php
│ ├── Payment.php
│ ├── UserAssignment.php
│ ├── ExpenseCategory.php
│ ├── InvoiceMessage.php
│ ├── Expense.php
│ ├── DayEntry.php
│ └── Invoice.php
├── controllers
├── messages
│ └── Messages.php
├── invoices
│ ├── Invoices_Scheduled.php
│ └── Invoices_Records.php
├── estimates
│ └── Estimates_Scheduled.php
└── payment-processing
│ └── Offsite_Processors.php
├── phpunit.xml
├── .github
└── ISSUE_TEMPLATE
│ └── customer-template.md
├── tests
├── bootstrap.php
├── test-time-tracking.php
├── test-invoice.php
└── test-invoice-functions.php
└── Sprout_Invoices.class.php
/resources/front-end/plugins/blank.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/resources/admin/icons/sproutapps-flat-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/icons/sproutapps-flat-small.png
--------------------------------------------------------------------------------
/resources/admin/img/sprout/struggle-is-real.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/img/sprout/struggle-is-real.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/2checkout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/2checkout.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/amex-gold.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/amex-gold.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/discover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/discover.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/gift-card.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/gift-card.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/maestro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/maestro.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/spinner.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/spinner.gif
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/visa-card.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/visa-card.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/amex-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/amex-green.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/mastercard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/mastercard.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/spinner-2x.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/spinner-2x.gif
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/visa-debit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/visa-debit.png
--------------------------------------------------------------------------------
/resources/admin/css/sproutapps-ff/sproutapps-ff.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/css/sproutapps-ff/sproutapps-ff.eot
--------------------------------------------------------------------------------
/resources/admin/css/sproutapps-ff/sproutapps-ff.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/css/sproutapps-ff/sproutapps-ff.ttf
--------------------------------------------------------------------------------
/resources/admin/css/sproutapps-ff/sproutapps-ff.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/css/sproutapps-ff/sproutapps-ff.woff
--------------------------------------------------------------------------------
/resources/admin/icons/sproutapps-flat-small-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/icons/sproutapps-flat-small-white.png
--------------------------------------------------------------------------------
/resources/admin/plugins/dropdown/icons/clipboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/plugins/dropdown/icons/clipboard.png
--------------------------------------------------------------------------------
/resources/admin/plugins/dropdown/icons/scissors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/plugins/dropdown/icons/scissors.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/visa-electron.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/visa-electron.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/western-union.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/western-union.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/wire-transfer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/wire-transfer.png
--------------------------------------------------------------------------------
/resources/admin/img/upgrade/clients-report-upgrade.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/img/upgrade/clients-report-upgrade.png
--------------------------------------------------------------------------------
/resources/admin/img/upgrade/invoices-report-upgrade.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/img/upgrade/invoices-report-upgrade.png
--------------------------------------------------------------------------------
/resources/admin/img/upgrade/payments-report-upgrade.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/img/upgrade/payments-report-upgrade.png
--------------------------------------------------------------------------------
/resources/admin/plugins/dropdown/icons/arrow-curve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/plugins/dropdown/icons/arrow-curve.png
--------------------------------------------------------------------------------
/resources/admin/plugins/dropdown/icons/cross-script.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/plugins/dropdown/icons/cross-script.png
--------------------------------------------------------------------------------
/resources/deprecated-front-end/img/google-checkout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/deprecated-front-end/img/google-checkout.png
--------------------------------------------------------------------------------
/resources/admin/img/gravity-ninja-formidible-wpforms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/img/gravity-ninja-formidible-wpforms.png
--------------------------------------------------------------------------------
/resources/admin/img/upgrade/estimates-report-upgrade.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/img/upgrade/estimates-report-upgrade.png
--------------------------------------------------------------------------------
/resources/admin/plugins/dropdown/icons/document-copy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/plugins/dropdown/icons/document-copy.png
--------------------------------------------------------------------------------
/resources/admin/plugins/dropdown/icons/arrow-curve-180-left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SproutApps/sprout-invoices/HEAD/resources/admin/plugins/dropdown/icons/arrow-curve-180-left.png
--------------------------------------------------------------------------------
/importers/csv-examples/clients.csv:
--------------------------------------------------------------------------------
1 | First Name,Last Name,Email Address,Company,Address,Address 2,City,State,Zip,Country,Telephone,Web Address,Notes
2 | Required,Required,Required,Required,,,,,,,,,
--------------------------------------------------------------------------------
/controllers/messages/Messages.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/views/admin/options/destroy-everything.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/languages/readme.md:
--------------------------------------------------------------------------------
1 | # Sprout Invoices i18n #
2 |
3 | To help translate, review, or improve a translation,join our WP-Translations Community at
4 | https://www.transifex.com/projects/p/sprout-invoices/
5 |
6 | More info at http://wp-translations.org/
7 |
8 |
--------------------------------------------------------------------------------
/resources/admin/plugins/dropdown/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery-dropdown",
3 | "version": "1.0.5",
4 | "main": [
5 | "./jquery.dropdown.css",
6 | "./jquery.dropdown.js"
7 | ],
8 | "dependencies": {
9 | "jquery": "~1.8.0"
10 | }
11 | }
--------------------------------------------------------------------------------
/resources/admin/plugins/dropdown/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery-dropdown",
3 | "version": "1.0.5",
4 | "repository": {
5 | "type": "git",
6 | "url": "git://github.com/claviska/jquery-dropdown.git"
7 | },
8 | "dependencies": {
9 | "jquery": "~1.8.0"
10 | }
11 | }
--------------------------------------------------------------------------------
/views/admin/reports/dashboard.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/resources/admin/plugins/dropdown/readme.md:
--------------------------------------------------------------------------------
1 | # jQuery Bootstrap-style Dropdowns #
2 |
3 | Copyright [A Beautiful Site, LLC.](http://abeautifulsite.net/)
4 |
5 | Licensed under the MIT license: http://opensource.org/licenses/MIT
6 |
7 | ## Demo & Documentation ##
8 |
9 | http://labs.abeautifulsite.net/jquery-dropdown/
--------------------------------------------------------------------------------
/views/admin/reports/clients.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/views/admin/reports/invoices.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/views/admin/reports/payments.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/views/admin/reports/estimates.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/views/admin/dashboards/invoices-status-chart.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/views/admin/dashboards/payments-status-chart.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/views/admin/dashboards/estimates-status-chart.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/views/notifications/request-received.php:
--------------------------------------------------------------------------------
1 | ---------------------------------------------
2 | Estimate Requested
3 | ---------------------------------------------
4 |
5 | [name]
6 |
7 | We're working on providing you with an estimate now.
8 |
9 | Thank you.
10 |
11 | ID# [estimate_id]
12 |
13 | ---------------------------------------------
14 |
--------------------------------------------------------------------------------
/views/admin/dashboards/balances-chart.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/views/notifications/payment-reminder.php:
--------------------------------------------------------------------------------
1 | Dear [name],
2 |
3 | This is a friendly reminder to let you know that Invoice [invoice_id] is [invoice_past_due_date] days past due. If you have already sent the payment, please disregard this message. If not, we would appreciate your prompt attention to this matter.
4 |
5 | Thank you for your business.
6 |
7 | Cheers!
8 |
--------------------------------------------------------------------------------
/views/admin/dashboards/requests-converted-chart.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/phpunit.xml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 | ./tests/
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/views/admin/meta-boxes/clients/create-user-modal.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/views/notifications/admin-estimate-declined.php:
--------------------------------------------------------------------------------
1 | ---------------------------------------------
2 | Estimate Declined
3 | ---------------------------------------------
4 |
5 | [estimate_subject]
6 |
7 | Estimate ID: [estimate_id]
8 | [estimate_edit_url]
9 | Client: [client_name]
10 | [client_edit_url]
11 | Amount: [estimate_total]
12 |
13 | Bummer!
14 |
15 | ---------------------------------------------
16 |
--------------------------------------------------------------------------------
/views/admin/meta-boxes/clients/creation-modal.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/views/notifications/admin-request-submitted.php:
--------------------------------------------------------------------------------
1 | ---------------------------------------------
2 | Lead Generated Requested
3 | ---------------------------------------------
4 |
5 | [lead_entries]
6 |
7 | Estimate Created: [estimate_id]
8 | [estimate_edit_url]
9 | Client: [client_name]
10 | [client_edit_url]
11 | Amount: [estimate_total]
12 |
13 | Go get 'em
14 |
15 | ---------------------------------------------
16 |
--------------------------------------------------------------------------------
/views/notifications/admin-payment.php:
--------------------------------------------------------------------------------
1 | ---------------------------------------------
2 | Payment Summary
3 | ---------------------------------------------
4 |
5 | Invoice ID: [invoice_id]
6 | [invoice_edit_url]
7 | Client: [client_name]
8 | [client_edit_url]
9 | Invoice Total: [invoice_total]
10 | Payment Total: [payment_total]
11 | All Payments: [invoice_total_payments]
12 |
13 | ---------------------------------------------
14 |
--------------------------------------------------------------------------------
/views/admin/meta-boxes/notifications/shortcodes.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 | [] —
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/_setup.scss:
--------------------------------------------------------------------------------
1 |
2 | /* Body
3 | ---------------------------------------------------------------------------------------------------- */
4 |
5 | body {
6 | background-color: $color-blue;
7 | }
8 |
9 | .row {
10 | width: 100%;
11 | float: left;
12 | position: relative;
13 |
14 | .inner {
15 | width: 80%;
16 | max-width: 800px;
17 | position: relative;
18 | margin: 0px auto;
19 | overflow: hidden;
20 | }
21 | }
--------------------------------------------------------------------------------
/views/notifications/admin-estimate-accepted.php:
--------------------------------------------------------------------------------
1 | ---------------------------------------------
2 | Estimate Accepted
3 | ---------------------------------------------
4 |
5 | [estimate_subject]
6 |
7 | Invoice Created: [invoice_id]
8 | [invoice_edit_url]
9 |
10 | Estimate ID: [estimate_id]
11 | [estimate_edit_url]
12 | Client: [client_name]
13 | [client_edit_url]
14 | Amount: [estimate_total]
15 |
16 | Nice Work!
17 |
18 | ---------------------------------------------
19 |
--------------------------------------------------------------------------------
/views/templates/invoice/checkout-confirmation.php:
--------------------------------------------------------------------------------
1 | 'true' ), $url ) );
9 | exit();
10 |
--------------------------------------------------------------------------------
/views/admin/meta-boxes/projects/name.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/_buttons.scss:
--------------------------------------------------------------------------------
1 |
2 | /* Buttons
3 | ---------------------------------------------------------------------------------------------------- */
4 |
5 | .button {
6 | border: none;
7 | border-radius: 6px;
8 | font-family: 'Roboto', sans-serif;
9 | color: rgba(#ffffff, .85);
10 | height: 50px;
11 | display: inline-block;
12 | padding: 0 20px;
13 | cursor: pointer;
14 | -webkit-font-smoothing: subpixel-antialiased;
15 | -webkit-transition-duration: 0.1s;
16 | transition-duration: 0.1s;
17 | }
18 |
--------------------------------------------------------------------------------
/views/admin/meta-boxes/projects/info.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | false,
10 | 'textarea_rows' => 4,
11 | 'theme_styles' => false,
12 | );
13 | wp_editor_styleless( $project->get_content(), 'content', $editor_settings ); ?>
14 |
--------------------------------------------------------------------------------
/views/notifications/estimate.php:
--------------------------------------------------------------------------------
1 | [name]
2 |
3 | [admin_note]
4 |
5 | ---------------------------------------------
6 | Estimate Summary
7 | ---------------------------------------------
8 |
9 | [estimate_subject]
10 |
11 | Estimate ID: [estimate_id]
12 | Estimate date: [estimate_issue_date]
13 | Client: [client_name]
14 | P.O. Number: [estimate_po_number]
15 | Amount: [estimate_total]
16 |
17 | [line_item_plain_list]
18 |
19 | You can view the estimate here:
20 | [estimate_url]
21 |
22 | Thank you!
23 | ---------------------------------------------
24 |
--------------------------------------------------------------------------------
/views/notifications/payment-final.php:
--------------------------------------------------------------------------------
1 | ---------------------------------------------
2 | Payment Summary
3 | ---------------------------------------------
4 | [name]
5 |
6 | [invoice_subject]
7 |
8 | Invoice ID: [invoice_id]
9 | Issue date: [invoice_issue_date]
10 | Client: [client_name]
11 | P.O. Number: [invoice_po_number]
12 | Amount: [invoice_total]
13 | Payment Total: [payment_total]
14 | Payments: [invoice_total_payments]
15 |
16 | The detailed invoice can be found here: [invoice_url]
17 |
18 | Thank you for your business.
19 | ---------------------------------------------
20 |
--------------------------------------------------------------------------------
/views/notifications/payment-cleared.php:
--------------------------------------------------------------------------------
1 | ---------------------------------------------
2 | Payment Summary
3 | ---------------------------------------------
4 | [name]
5 |
6 | [invoice_subject]
7 |
8 | Invoice ID: [invoice_id]
9 | Issue date: [invoice_issue_date]
10 | Client: [client_name]
11 | P.O. Number: [invoice_po_number]
12 | Amount: [invoice_total]
13 | Payments: [invoice_total_payments]
14 | Payment Total: [payment_total]
15 |
16 | The detailed invoice can be found here: [invoice_url]
17 |
18 | Thank you for your business.
19 | ---------------------------------------------
20 |
--------------------------------------------------------------------------------
/views/admin/meta-boxes/invoices/send.php:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/views/notifications/payment-deposit.php:
--------------------------------------------------------------------------------
1 | ---------------------------------------------
2 | Deposit Payment Summary
3 | ---------------------------------------------
4 | [name]
5 |
6 | [invoice_subject]
7 |
8 | Invoice ID: [invoice_id]
9 | Issue date: [invoice_issue_date]
10 | Client: [client_name]
11 | P.O. Number: [invoice_po_number]
12 | Amount: [invoice_total]
13 | Payments: [invoice_total_payments]
14 | Payment Total: [payment_total]
15 |
16 | The detailed invoice can be found here: [invoice_url]
17 |
18 | Thank you for your business.
19 | ---------------------------------------------
20 |
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/style.scss:
--------------------------------------------------------------------------------
1 |
2 | /* Helpers
3 | ---------------------------------------------------------------------------------------------------- */
4 |
5 | // Base colors
6 |
7 | $color-blue: #4086b0;
8 |
9 | /* Import Everything
10 | ---------------------------------------------------------------------------------------------------- */
11 |
12 | @import 'reset';
13 | @import 'typography';
14 | @import 'buttons';
15 | @import 'setup';
16 | @import 'header';
17 | @import 'intro';
18 | @import 'invoice';
19 | @import 'notes';
20 | @import 'paybar';
21 | @import 'panel';
--------------------------------------------------------------------------------
/languages/readme.txt:
--------------------------------------------------------------------------------
1 | ********************************************************
2 |
3 | Sprout Invoices i18n
4 | ====================
5 |
6 | Do not put custom translations here. They will be deleted
7 | on update.
8 |
9 | Keep custom translations in /wp-content/languages/sprout-apps/
10 |
11 | You want to translate, help, or improve a translation.
12 |
13 | Join our WP-Translations Community at
14 | https://www.transifex.com/projects/p/sprout-invoices/
15 |
16 | More info at http://wp-translations.org/
17 |
18 | ********************************************************
19 |
--------------------------------------------------------------------------------
/views/admin/meta-boxes/estimates/send.php:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/views/admin/sections/edit-private-note.php:
--------------------------------------------------------------------------------
1 |
11 |
12 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/customer-template.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Customer Template
3 | about: Describe this issue
4 | title: "(Sprout) Issue with: "
5 | labels: Needs Review
6 | assignees: elanasparkle
7 |
8 | ---
9 |
10 | DESCRIPTION OF ISSUE
11 | =========================================================
12 | Name | Name of Issue
13 | Submit Date | DATE
14 | Summary | Detailed Description of the issue
15 | Reproduction steps | How to replicate
16 | Platform | WP 5.5.1 / VPS / Sprout Invoices Pro Version / Sprout Invoices Version
17 | PHP Version | 7.4 ETC.
18 | Browser | Chrome, Firefox, Safari
19 |
--------------------------------------------------------------------------------
/views/admin/messages.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | $message ) : ?>
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/views/notifications/invoice.php:
--------------------------------------------------------------------------------
1 | [name]
2 |
3 | [admin_note]
4 |
5 | ---------------------------------------------
6 | Invoice Summary
7 | ---------------------------------------------
8 |
9 | [invoice_subject]
10 |
11 | Invoice ID: [invoice_id]
12 | Issue date: [invoice_issue_date]
13 | Client: [client_name]
14 | P.O. Number: [invoice_po_number]
15 | Amount: [invoice_total]
16 | Deposit Due: [invoice_deposit_amount]
17 | Due: [invoice_due_date]
18 | Payments: [invoice_total_payments]
19 |
20 | [line_item_plain_list]
21 |
22 | The detailed invoice can be found here: [invoice_url]
23 |
24 | Thank you!
25 | ---------------------------------------------
26 |
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/_invoice-totals.scss:
--------------------------------------------------------------------------------
1 |
2 | /* Totals
3 | ---------------------------------------------------------------------------------------------------- */
4 |
5 | #totals {
6 | margin-bottom: 79px;
7 |
8 | @media ('max-width: 480px') {
9 | margin-bottom: 49px;
10 | }
11 |
12 | .items {
13 |
14 | .item {
15 | padding: 16px 0 3px 0;
16 | border-bottom: 1px solid rgba(#ffffff, 0.5);
17 |
18 | &:first-of-type {
19 |
20 | }
21 |
22 | h3 {
23 | float: left;
24 | }
25 |
26 | .total {
27 | float: right;
28 | }
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/zh-TW.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-TW",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="請刪掉"+t+"個字元";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="請再輸入"+t+"個字元";return n},loadingMore:function(){return"載入中…"},maximumSelected:function(e){var t="你只能選擇最多"+e.maximum+"項";return t},noResults:function(){return"沒有找到相符的項目"},searching:function(){return"搜尋中…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/admin/meta-boxes/invoices/payments.php:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
--------------------------------------------------------------------------------
/views/admin/importer/admin.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | $section_settings ) : ?>
10 |
11 |
12 |
13 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/zh-CN.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-CN",[],function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="请删除"+t+"个字符";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="请再输入至少"+t+"个字符";return n},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(e){var t="最多只能选择"+e.maximum+"个项目";return t},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/admin/meta-boxes/invoices/notes.php:
--------------------------------------------------------------------------------
1 | false,
4 | 'textarea_rows' => 4,
5 | 'theme_styles' => false,
6 | );
7 | ?>
8 |
9 | ">
10 |
12 |
13 | ">
14 |
16 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/az.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/az",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return t+" simvol silin"},inputTooShort:function(e){var t=e.minimum-e.input.length;return t+" simvol daxil edin"},loadingMore:function(){return"Daha çox nəticə yüklənir…"},maximumSelected:function(e){return"Sadəcə "+e.maximum+" element seçə bilərsiniz"},noResults:function(){return"Nəticə tapılmadı"},searching:function(){return"Axtarılır…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/admin/meta-boxes/estimates/notes.php:
--------------------------------------------------------------------------------
1 | false,
4 | 'textarea_rows' => 4,
5 | 'theme_styles' => false,
6 | );
7 | ?>
8 |
9 | ">
10 |
12 |
13 | ">
14 |
16 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/fi.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return"Ole hyvä ja anna "+t+" merkkiä vähemmän"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Ole hyvä ja anna "+t+" merkkiä lisää"},loadingMore:function(){return"Ladataan lisää tuloksia…"},maximumSelected:function(e){return"Voit valita ainoastaan "+e.maximum+" kpl"},noResults:function(){return"Ei tuloksia"},searching:function(){}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/ja.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ja",[],function(){return{errorLoading:function(){return"結果が読み込まれませんでした"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" 文字を削除してください";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="少なくとも "+t+" 文字を入力してください";return n},loadingMore:function(){return"読み込み中…"},maximumSelected:function(e){var t=e.maximum+" 件しか選択できません";return t},noResults:function(){return"対象が見つかりません"},searching:function(){return"検索しています…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/css/sproutapps-ff/.fontcustom-data:
--------------------------------------------------------------------------------
1 | {
2 | "fonts": [
3 | "iconvault_089f247ae3a668d46e463c071555147b.ttf",
4 | "iconvault_089f247ae3a668d46e463c071555147b.woff",
5 | "iconvault_089f247ae3a668d46e463c071555147b.eot",
6 | "iconvault_089f247ae3a668d46e463c071555147b.svg"
7 | ],
8 | "templates": [
9 | "iconvault-preview.html",
10 | "iconvault-preview.css"
11 | ],
12 | "file_name": "iconvault_089f247ae3a668d46e463c071555147b",
13 | "glyphs": [
14 | "vault",
15 | "receipt",
16 | "sproutapps-estimates",
17 | "notebook",
18 | "sproutapps-invoices",
19 | "handshake",
20 | "light-saber",
21 | "golf",
22 | "sproutapps-logo",
23 | "sproutapps-flat"
24 | ]
25 | }
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/_paybar.scss:
--------------------------------------------------------------------------------
1 |
2 | /* The Pay Bar
3 | ---------------------------------------------------------------------------------------------------- */
4 |
5 | #paybar {
6 | width: 100%;
7 | position: fixed;
8 | bottom: 0;
9 | left: 0;
10 |
11 | background-color: rgba(#ffffff, .95);
12 | line-height: 50px;
13 | color: $color-blue;
14 |
15 | .inner {
16 | padding: 25px 0;
17 |
18 | .button {
19 | float: right;
20 | background-color: $color-blue;
21 | }
22 |
23 | @media ('max-width: 480px') {
24 | span {
25 | display: none;
26 | }
27 |
28 | .button {
29 | width: 100%;
30 | text-align: center;
31 | }
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/tr.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/tr",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" karakter daha girmelisiniz";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="En az "+t+" karakter daha girmelisiniz";return n},loadingMore:function(){return"Daha fazla…"},maximumSelected:function(e){var t="Sadece "+e.maximum+" seçim yapabilirsiniz";return t},noResults:function(){return"Sonuç bulunamadı"},searching:function(){return"Aranıyor…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/ko.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ko",[],function(){return{errorLoading:function(){return"결과를 불러올 수 없습니다."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="너무 깁니다. "+t+" 글자 지워주세요.";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="너무 짧습니다. "+t+" 글자 더 입력해주세요.";return n},loadingMore:function(){return"불러오는 중…"},maximumSelected:function(e){var t="최대 "+e.maximum+"개까지만 선택 가능합니다.";return t},noResults:function(){return"결과가 없습니다."},searching:function(){return"검색 중…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/admin/sections/add-line-item.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/views/templates/messages.php:
--------------------------------------------------------------------------------
1 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/views/templates/checkout/checks/form.php:
--------------------------------------------------------------------------------
1 |
2 |
11 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/ar.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ar",[],function(){return{errorLoading:function(){return"لا يمكن تحميل النتائج"},inputTooLong:function(e){var t=e.input.length-e.maximum;return"الرجاء حذف "+t+" عناصر"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"الرجاء إضافة "+t+" عناصر"},loadingMore:function(){return"جاري تحميل نتائج إضافية..."},maximumSelected:function(e){return"تستطيع إختيار "+e.maximum+" بنود فقط"},noResults:function(){return"لم يتم العثور على أي نتائج"},searching:function(){return"جاري البحث…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/id.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/id",[],function(){return{errorLoading:function(){return"Data tidak boleh diambil."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Hapuskan "+t+" huruf"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Masukkan "+t+" huruf lagi"},loadingMore:function(){return"Mengambil data…"},maximumSelected:function(e){return"Anda hanya dapat memilih "+e.maximum+" pilihan"},noResults:function(){return"Tidak ada data yang sesuai"},searching:function(){return"Mencari…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/vi.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/vi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vui lòng nhập ít hơn "+t+" ký tự";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vui lòng nhập nhiều hơn "+t+' ký tự"';return n},loadingMore:function(){return"Đang lấy thêm kết quả…"},maximumSelected:function(e){var t="Chỉ có thể chọn được "+e.maximum+" lựa chọn";return t},noResults:function(){return"Không tìm thấy kết quả"},searching:function(){return"Đang tìm…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/tests/bootstrap.php:
--------------------------------------------------------------------------------
1 | ">
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/views/templates/theme/basic/checkout/checks/form.php:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/views/templates/theme/default/checkout/checks/form.php:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/is.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/is",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vinsamlegast styttið texta um "+t+" staf";return t<=1?n:n+"i"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vinsamlegast skrifið "+t+" staf";return t>1&&(n+="i"),n+=" í viðbót",n},loadingMore:function(){return"Sæki fleiri niðurstöður…"},maximumSelected:function(e){return"Þú getur aðeins valið "+e.maximum+" atriði"},noResults:function(){return"Ekkert fannst"},searching:function(){return"Leita…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/admin/payment-processors/cc-no-settings.php:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/et.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/et",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" vähem",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" rohkem",n},loadingMore:function(){return"Laen tulemusi…"},maximumSelected:function(e){var t="Saad vaid "+e.maximum+" tulemus";return e.maximum==1?t+="e":t+="t",t+=" valida",t},noResults:function(){return"Tulemused puuduvad"},searching:function(){return"Otsin…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/th.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/th",[],function(){return{errorLoading:function(){return"ไม่สามารถค้นข้อมูลได้"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="โปรดลบออก "+t+" ตัวอักษร";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="โปรดพิมพ์เพิ่มอีก "+t+" ตัวอักษร";return n},loadingMore:function(){return"กำลังค้นข้อมูลเพิ่ม…"},maximumSelected:function(e){var t="คุณสามารถเลือกได้ไม่เกิน "+e.maximum+" รายการ";return t},noResults:function(){return"ไม่พบข้อมูล"},searching:function(){return"กำลังค้นข้อมูล…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/nb.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nb",[],function(){return{errorLoading:function(){return"Kunne ikke hente resultater."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Vennligst fjern "+t+" tegn"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vennligst skriv inn ";return t>1?n+=" flere tegn":n+=" tegn til",n},loadingMore:function(){return"Laster flere resultater…"},maximumSelected:function(e){return"Du kan velge maks "+e.maximum+" elementer"},noResults:function(){return"Ingen treff"},searching:function(){return"Søker…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/sv.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sv",[],function(){return{errorLoading:function(){return"Resultat kunde inte laddas."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vänligen sudda ut "+t+" tecken";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vänligen skriv in "+t+" eller fler tecken";return n},loadingMore:function(){return"Laddar fler resultat…"},maximumSelected:function(e){var t="Du kan max välja "+e.maximum+" element";return t},noResults:function(){return"Inga träffar"},searching:function(){return"Söker…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/bg.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/bg",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Моля въведете с "+t+" по-малко символ";return t>1&&(n+="a"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Моля въведете още "+t+" символ";return t>1&&(n+="a"),n},loadingMore:function(){return"Зареждат се още…"},maximumSelected:function(e){var t="Можете да направите до "+e.maximum+" ";return e.maximum>1?t+="избора":t+="избор",t},noResults:function(){return"Няма намерени съвпадения"},searching:function(){return"Търсене…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/hu.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hu",[],function(){return{errorLoading:function(){return"Az eredmények betöltése nem sikerült."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Túl hosszú. "+t+" karakterrel több, mint kellene."},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Túl rövid. Még "+t+" karakter hiányzik."},loadingMore:function(){return"Töltés…"},maximumSelected:function(e){return"Csak "+e.maximum+" elemet lehet kiválasztani."},noResults:function(){return"Nincs találat."},searching:function(){return"Keresés…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/km.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/km",[],function(){return{errorLoading:function(){return"មិនអាចទាញយកទិន្នន័យ"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="សូមលុបចេញ "+t+" អក្សរ";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="សូមបញ្ចូល"+t+" អក្សរ រឺ ច្រើនជាងនេះ";return n},loadingMore:function(){return"កំពុងទាញយកទិន្នន័យបន្ថែម..."},maximumSelected:function(e){var t="អ្នកអាចជ្រើសរើសបានតែ "+e.maximum+" ជម្រើសប៉ុណ្ណោះ";return t},noResults:function(){return"មិនមានលទ្ធផល"},searching:function(){return"កំពុងស្វែងរក..."}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/ms.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ms",[],function(){return{errorLoading:function(){return"Keputusan tidak berjaya dimuatkan."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Sila hapuskan "+t+" aksara"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Sila masukkan "+t+" atau lebih aksara"},loadingMore:function(){return"Sedang memuatkan keputusan…"},maximumSelected:function(e){return"Anda hanya boleh memilih "+e.maximum+" pilihan"},noResults:function(){return"Tiada padanan yang ditemui"},searching:function(){return"Mencari…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/_typography.scss:
--------------------------------------------------------------------------------
1 |
2 | /* Base Typography
3 | ---------------------------------------------------------------------------------------------------- */
4 |
5 | body {
6 | font-family: 'Roboto', sans-serif;
7 | font-size: 14px;
8 | font-weight: 300;
9 | line-height: 1.75;
10 | color: rgba(#ffffff, 0.75);
11 | -webkit-font-smoothing: antialiased;
12 | text-rendering: optimizeLegibility;
13 |
14 | strong {
15 | font-weight: 700;
16 | }
17 | }
18 |
19 | // Font large
20 |
21 | @mixin font-large() {
22 | font-size: 32px;
23 | line-height: 1.2;
24 |
25 | @media ('max-width: 900px') {
26 | font-size: 22px;
27 | }
28 | }
29 |
30 | @mixin font-medium() {
31 | font-size: 18px;
32 |
33 | @media ('max-width: 900px') {
34 | font-size: 18px;
35 | }
36 | }
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/da.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/da",[],function(){return{errorLoading:function(){return"Resultaterne kunne ikke indlæses."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Angiv venligst "+t+" tegn mindre"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Angiv venligst "+t+" tegn mere"},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(e){var t="Du kan kun vælge "+e.maximum+" emne";return e.maximum!=1&&(t+="r"),t},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/templates/theme/basic/attachments-info/thumbnails-no-links-pdf.php:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/views/templates/theme/basic/checkout/popayment/form.php:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/views/templates/theme/default/attachments-info/thumbnails-no-links-pdf.php:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/views/templates/theme/default/checkout/popayment/form.php:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/views/templates/checkout/popayment/form.php:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
--------------------------------------------------------------------------------
/views/templates/theme/basic/attachments-info/thumbnails-no-links.php:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/views/templates/theme/default/attachments-info/thumbnails-no-links.php:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/en.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Please enter "+t+" or more characters";return n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/he.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/he",[],function(){return{errorLoading:function(){return"שגיאה בטעינת התוצאות"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="נא למחוק ";return t===1?n+="תו אחד":n+=t+" תווים",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="נא להכניס ";return t===1?n+="תו אחד":n+=t+" תווים",n+=" או יותר",n},loadingMore:function(){return"טוען תוצאות נוספות…"},maximumSelected:function(e){var t="באפשרותך לבחור עד ";return e.maximum===1?t+="פריט אחד":t+=e.maximum+" פריטים",t},noResults:function(){return"לא נמצאו תוצאות"},searching:function(){return"מחפש…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/hi.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hi",[],function(){return{errorLoading:function(){return"परिणामों को लोड नहीं किया जा सका।"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" अक्षर को हटा दें";return t>1&&(n=t+" अक्षरों को हटा दें "),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="कृपया "+t+" या अधिक अक्षर दर्ज करें";return n},loadingMore:function(){return"अधिक परिणाम लोड हो रहे है..."},maximumSelected:function(e){var t="आप केवल "+e.maximum+" आइटम का चयन कर सकते हैं";return t},noResults:function(){return"कोई परिणाम नहीं मिला"},searching:function(){return"खोज रहा है..."}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/fa.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fa",[],function(){return{errorLoading:function(){return"امکان بارگذاری نتایج وجود ندارد."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="لطفاً "+t+" کاراکتر را حذف نمایید";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="لطفاً تعداد "+t+" کاراکتر یا بیشتر وارد نمایید";return n},loadingMore:function(){return"در حال بارگذاری نتایج بیشتر..."},maximumSelected:function(e){var t="شما تنها میتوانید "+e.maximum+" آیتم را انتخاب نمایید";return t},noResults:function(){return"هیچ نتیجهای یافت نشد"},searching:function(){return"در حال جستجو..."}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/hr.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hr",[],function(){function e(e){var t=" "+e+" znak";return e%10<5&&e%10>0&&(e%100<5||e%100>19)?e%10>1&&(t+="a"):t+="ova",t}return{errorLoading:function(){return"Preuzimanje nije uspjelo."},inputTooLong:function(t){var n=t.input.length-t.maximum;return"Unesite "+e(n)},inputTooShort:function(t){var n=t.minimum-t.input.length;return"Unesite još "+e(n)},loadingMore:function(){return"Učitavanje rezultata…"},maximumSelected:function(e){return"Maksimalan broj odabranih stavki je "+e.maximum},noResults:function(){return"Nema rezultata"},searching:function(){return"Pretraga…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/templates/checkout/bacs/form.php:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/eu.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/eu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Idatzi ";return t==1?n+="karaktere bat":n+=t+" karaktere",n+=" gutxiago",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Idatzi ";return t==1?n+="karaktere bat":n+=t+" karaktere",n+=" gehiago",n},loadingMore:function(){return"Emaitza gehiago kargatzen…"},maximumSelected:function(e){return e.maximum===1?"Elementu bakarra hauta dezakezu":e.maximum+" elementu hauta ditzakezu soilik"},noResults:function(){return"Ez da bat datorrenik aurkitu"},searching:function(){return"Bilatzen…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/mk.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/mk",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Ве молиме внесете "+e.maximum+" помалку карактер";return e.maximum!==1&&(n+="и"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Ве молиме внесете уште "+e.maximum+" карактер";return e.maximum!==1&&(n+="и"),n},loadingMore:function(){return"Вчитување резултати…"},maximumSelected:function(e){var t="Можете да изберете само "+e.maximum+" ставк";return e.maximum===1?t+="а":t+="и",t},noResults:function(){return"Нема пронајдено совпаѓања"},searching:function(){return"Пребарување…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/de.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/de",[],function(){return{errorLoading:function(){return"Die Ergebnisse konnten nicht geladen werden."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Bitte "+t+" Zeichen weniger eingeben"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Bitte "+t+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(e){var t="Sie können nur "+e.maximum+" Eintr";return e.maximum===1?t+="ag":t+="äge",t+=" auswählen",t},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/importers/csv-examples/invoices.csv:
--------------------------------------------------------------------------------
1 | Invoice ID,Description,Company,Invoice Date,Due Date,Discount %,Tax 1 %,Tax 2 %,Tax Total,Total,Currency Code,PO Number,Notes,Terms,Line Item Desc,Line Item Rate,Line Item Quantity,Line Item Percentage,Line Item Total
2 | 1,Description Import 1,Company 2,1/1/15,,,,,,1,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9"
3 | 2,Description Import 2,Company 2,1/1/15,,,,,,2,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9"
4 | 3,Description Import 3,Company 2,1/1/15,,,,,,3,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9"
5 | 4,Description Import 4,Company 2,1/1/15,,,,,,4,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9"
6 | 5,Description Import 5,Company 2,1/1/15,,,,,,5,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9"
7 | 6,Description Import 6,Company 2,1/1/15,,,,,,6,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9"
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/pt-BR.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pt-BR",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Apague "+t+" caracter";return t!=1&&(n+="es"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Digite "+t+" ou mais caracteres";return n},loadingMore:function(){return"Carregando mais resultados…"},maximumSelected:function(e){var t="Você só pode selecionar "+e.maximum+" ite";return e.maximum==1?t+="m":t+="ns",t},noResults:function(){return"Nenhum resultado encontrado"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/lv.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/lv",[],function(){function e(e,t,n,r){return e===11?t:e%10===1?n:r}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Lūdzu ievadiet par "+n;return r+=" simbol"+e(n,"iem","u","iem"),r+" mazāk"},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Lūdzu ievadiet vēl "+n;return r+=" simbol"+e(n,"us","u","us"),r},loadingMore:function(){return"Datu ielāde…"},maximumSelected:function(t){var n="Jūs varat izvēlēties ne vairāk kā "+t.maximum;return n+=" element"+e(t.maximum,"us","u","us"),n},noResults:function(){return"Sakritību nav"},searching:function(){return"Meklēšana…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/pt.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pt",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor apague "+t+" ";return n+=t!=1?"caracteres":"carácter",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Introduza "+t+" ou mais caracteres";return n},loadingMore:function(){return"A carregar mais resultados…"},maximumSelected:function(e){var t="Apenas pode seleccionar "+e.maximum+" ";return t+=e.maximum!=1?"itens":"item",t},noResults:function(){return"Sem resultados"},searching:function(){return"A procurar…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/templates/theme/basic/checkout/bacs/form.php:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/views/templates/theme/default/checkout/bacs/form.php:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/ca.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Si us plau, elimina "+t+" car";return t==1?n+="àcter":n+="àcters",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Si us plau, introdueix "+t+" car";return t==1?n+="àcter":n+="àcters",n},loadingMore:function(){return"Carregant més resultats…"},maximumSelected:function(e){var t="Només es pot seleccionar "+e.maximum+" element";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No s'han trobat resultats"},searching:function(){return"Cercant…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/es.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/es",[],function(){return{errorLoading:function(){return"La carga falló"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor, elimine "+t+" car";return t==1?n+="ácter":n+="acteres",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Por favor, introduzca "+t+" car";return t==1?n+="ácter":n+="acteres",n},loadingMore:function(){return"Cargando más resultados…"},maximumSelected:function(e){var t="Sólo puede seleccionar "+e.maximum+" elemento";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No se encontraron resultados"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/importers/csv-examples/estimates.csv:
--------------------------------------------------------------------------------
1 | Invoice ID,Description,Company,Invoice Date,Due Date,Discount %,Tax 1 %,Tax 2 %,Tax Total,Total,Currency Code,PO Number,Notes,Terms,Line Item Desc,Line Item Rate,Line Item Quantity,Line Item Percentage,Line Item Total,Estimate ID
2 | 1,Description Import 1,Company 2,1/1/15,,,,,,1,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9",
3 | 2,Description Import 2,Company 2,1/1/15,,,,,,2,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9",
4 | 3,Description Import 3,Company 2,1/1/15,,,,,,3,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9",
5 | 4,Description Import 4,Company 2,1/1/15,,,,,,4,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9",
6 | 5,Description Import 5,Company 2,1/1/15,,,,,,5,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9",
7 | 6,Description Import 6,Company 2,1/1/15,,,,,,6,,,,,"line1,line2,line3","1,2,3","1,2,3","1,2,3","1,4,9",
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/it.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/it",[],function(){return{errorLoading:function(){return"I risultati non possono essere caricati."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Per favore cancella "+t+" caratter";return t!==1?n+="i":n+="e",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Per favore inserisci "+t+" o più caratteri";return n},loadingMore:function(){return"Caricando più risultati…"},maximumSelected:function(e){var t="Puoi selezionare solo "+e.maximum+" element";return e.maximum!==1?t+="i":t+="o",t},noResults:function(){return"Nessun risultato trovato"},searching:function(){return"Sto cercando…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/controllers/invoices/Invoices_Scheduled.php:
--------------------------------------------------------------------------------
1 | post_type ) {
19 | return;
20 | }
21 |
22 | $invoice = SI_Invoice::get_instance( $post->ID );
23 |
24 | $client = $invoice->get_client();
25 | if ( ! is_a( $client, 'SI_Client' ) ) {
26 | return;
27 | }
28 |
29 | $recipients = $client->get_associated_users();
30 | if ( empty( $recipients ) ) {
31 | return;
32 | }
33 |
34 | do_action( 'send_invoice', $invoice, $recipients );
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/gl.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/gl",[],function(){return{errorLoading:function(){return"Non foi posíbel cargar os resultados."},inputTooLong:function(e){var t=e.input.length-e.maximum;return t===1?"Elimine un carácter":"Elimine "+t+" caracteres"},inputTooShort:function(e){var t=e.minimum-e.input.length;return t===1?"Engada un carácter":"Engada "+t+" caracteres"},loadingMore:function(){return"Cargando máis resultados…"},maximumSelected:function(e){return e.maximum===1?"Só pode seleccionar un elemento":"Só pode seleccionar "+e.maximum+" elementos"},noResults:function(){return"Non se atoparon resultados"},searching:function(){return"Buscando…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/sl.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sl",[],function(){return{errorLoading:function(){return"Zadetkov iskanja ni bilo mogoče naložiti."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Prosim zbrišite "+t+" znak";return t==2?n+="a":t!=1&&(n+="e"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Prosim vpišite še "+t+" znak";return t==2?n+="a":t!=1&&(n+="e"),n},loadingMore:function(){return"Nalagam več zadetkov…"},maximumSelected:function(e){var t="Označite lahko največ "+e.maximum+" predmet";return e.maximum==2?t+="a":e.maximum!=1&&(t+="e"),t},noResults:function(){return"Ni zadetkov."},searching:function(){return"Iščem…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/admin/meta-boxes/clients/info.php:
--------------------------------------------------------------------------------
1 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/views/templates/theme/basic/attachments-info/thumbnails-pdf.php:
--------------------------------------------------------------------------------
1 |
20 |
--------------------------------------------------------------------------------
/views/templates/theme/default/attachments-info/thumbnails-pdf.php:
--------------------------------------------------------------------------------
1 |
20 |
--------------------------------------------------------------------------------
/controllers/estimates/Estimates_Scheduled.php:
--------------------------------------------------------------------------------
1 | post_type ) {
19 | return;
20 | }
21 |
22 | $estimate = SI_Estimate::get_instance( $post->ID );
23 |
24 | $client = $estimate->get_client();
25 | if ( ! is_a( $client, 'SI_Client' ) ) {
26 | return;
27 | }
28 |
29 | $recipients = $client->get_associated_users();
30 | if ( empty( $recipients ) ) {
31 | return;
32 | }
33 |
34 | do_action( 'send_estimate', $estimate, $recipients );
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/fr.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fr",[],function(){return{errorLoading:function(){return"Les résultats ne peuvent pas être chargés."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Supprimez "+t+" caractère";return t!==1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Saisissez "+t+" caractère";return t!==1&&(n+="s"),n},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelected:function(e){var t="Vous pouvez seulement sélectionner "+e.maximum+" élément";return e.maximum!==1&&(t+="s"),t},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/nl.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nl",[],function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Gelieve "+t+" karakters te verwijderen";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Gelieve "+t+" of meer karakters in te voeren";return n},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(e){var t=e.maximum==1?"kan":"kunnen",n="Er "+t+" maar "+e.maximum+" item";return e.maximum!=1&&(n+="s"),n+=" worden geselecteerd",n},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/ro.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ro",[],function(){return{errorLoading:function(){return"Rezultatele nu au putut fi incărcate."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vă rugăm să ștergeți"+t+" caracter";return t!==1&&(n+="e"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vă rugăm să introduceți "+t+"sau mai multe caractere";return n},loadingMore:function(){return"Se încarcă mai multe rezultate…"},maximumSelected:function(e){var t="Aveți voie să selectați cel mult "+e.maximum;return t+=" element",e.maximum!==1&&(t+="e"),t},noResults:function(){return"Nu au fost găsite rezultate"},searching:function(){return"Căutare…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/js/customizer.js:
--------------------------------------------------------------------------------
1 | ( function( $ ) {
2 | wp.customize('si_estimates_color',function( value ) {
3 | value.bind(function(to) {
4 | $('#doc .doc_total').css('background-color', to );
5 | $('.button.primary_button').css('background-color', to );
6 | $('#invoice.paid #doc .doc_total').css('background-color', to );
7 | $('#invoice .button.deposit_paid').css('background-color', to );
8 | $('#line_total').css('color', to );
9 | });
10 | });
11 | wp.customize('si_invoices_color',function( value ) {
12 | value.bind(function(to) {
13 | $('#invoice #doc .doc_total').css('background-color', to );
14 | $('#invoice .button.primary_button').css('background-color', to );
15 | $('#invoice #line_total').css('color', to );
16 | });
17 | });
18 | wp.customize('si_logo',function( value ) {
19 | value.bind(function(to) {
20 | $('#logo img').attr('src', to );
21 | });
22 | });
23 | } )( jQuery );
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/lt.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/lt",[],function(){function e(e,t,n,r){return e%10===1&&(e%100<11||e%100>19)?t:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?n:r}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Pašalinkite "+n+" simbol";return r+=e(n,"į","ius","ių"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Įrašykite dar "+n+" simbol";return r+=e(n,"į","ius","ių"),r},loadingMore:function(){return"Kraunama daugiau rezultatų…"},maximumSelected:function(t){var n="Jūs galite pasirinkti tik "+t.maximum+" element";return n+=e(t.maximum,"ą","us","ų"),n},noResults:function(){return"Atitikmenų nerasta"},searching:function(){return"Ieškoma…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/_notes.scss:
--------------------------------------------------------------------------------
1 |
2 | /* Notes and Terms
3 | ---------------------------------------------------------------------------------------------------- */
4 |
5 | #notes {
6 | padding-bottom: 170px;
7 |
8 | @media ('max-width: 480px') {
9 | padding-bottom: 120px;
10 | }
11 |
12 | .item {
13 | margin-bottom: 24px;
14 |
15 | @media ('max-width: 480px') {
16 | margin-bottom: 42px;
17 | }
18 |
19 | .header {
20 | margin-bottom: 16px;
21 | border-bottom: 1px solid rgba(#ffffff, 0.1);
22 |
23 | h3 {
24 | float: left;
25 | padding: 0 17px 8px 0;
26 | margin-bottom: -1px;
27 | border-bottom: 1px solid rgba(#ffffff, 0.75);
28 | font-size: 12px;
29 | font-weight: 900;
30 | line-height: 1;
31 | text-transform: uppercase;
32 | color: rgba(#ffffff, 0.75);
33 | }
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/pl.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pl",[],function(){var e=["znak","znaki","znaków"],t=["element","elementy","elementów"],n=function(t,n){if(t===1)return n[0];if(t>1&&t<=4)return n[1];if(t>=5)return n[2]};return{errorLoading:function(){return"Nie można załadować wyników."},inputTooLong:function(t){var r=t.input.length-t.maximum;return"Usuń "+r+" "+n(r,e)},inputTooShort:function(t){var r=t.minimum-t.input.length;return"Podaj przynajmniej "+r+" "+n(r,e)},loadingMore:function(){return"Trwa ładowanie…"},maximumSelected:function(e){return"Możesz zaznaczyć tylko "+e.maximum+" "+n(e.maximum,t)},noResults:function(){return"Brak wyników"},searching:function(){return"Trwa wyszukiwanie…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/el.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/el",[],function(){return{errorLoading:function(){return"Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Παρακαλώ διαγράψτε "+t+" χαρακτήρ";return t==1&&(n+="α"),t!=1&&(n+="ες"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Παρακαλώ συμπληρώστε "+t+" ή περισσότερους χαρακτήρες";return n},loadingMore:function(){return"Φόρτωση περισσότερων αποτελεσμάτων…"},maximumSelected:function(e){var t="Μπορείτε να επιλέξετε μόνο "+e.maximum+" επιλογ";return e.maximum==1&&(t+="ή"),e.maximum!=1&&(t+="ές"),t},noResults:function(){return"Δεν βρέθηκαν αποτελέσματα"},searching:function(){return"Αναζήτηση…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/tests/test-time-tracking.php:
--------------------------------------------------------------------------------
1 | 'TEST'
12 | );
13 | $this->invoice_id = SI_Invoice::create_invoice( $args, SI_Invoice::STATUS_TEMP );
14 | $this->invoice = SI_Invoice::get_instance( $this->invoice_id );
15 |
16 | $line_items = array();
17 | for ($i=0; $i < 10; $i++) {
18 | $rate = rand( 100, 1000 );
19 | $qty = rand( 1, 10 );
20 | $line_items[] = array(
21 | 'rate' => $rate,
22 | 'qty' => $qty,
23 | 'desc' => 'This is a test line item for a test invoice.',
24 | 'type' => '',
25 | 'total' => $rate*$qty,
26 | 'tax' => 0,
27 | );
28 | }
29 | $this->invoice->set_line_items( $line_items );
30 | }
31 |
32 | function test_sample() {
33 | $this->assertEquals( 1, 1 );
34 | }
35 | }
36 |
37 |
--------------------------------------------------------------------------------
/views/templates/theme/basic/attachments-info/thumbnails.php:
--------------------------------------------------------------------------------
1 |
20 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/sr.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sr",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?n:r}return{errorLoading:function(){return"Preuzimanje nije uspelo."},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Obrišite "+n+" simbol";return r+=e(n,"","a","a"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Ukucajte bar još "+n+" simbol";return r+=e(n,"","a","a"),r},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(t){var n="Možete izabrati samo "+t.maximum+" stavk";return n+=e(t.maximum,"u","e","i"),n},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/templates/theme/default/attachments-info/thumbnails.php:
--------------------------------------------------------------------------------
1 |
20 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/uk.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/uk",[],function(){function e(e,t,n,r){return e%100>10&&e%100<15?r:e%10===1?t:e%10>1&&e%10<5?n:r}return{errorLoading:function(){return"Неможливо завантажити результати"},inputTooLong:function(t){var n=t.input.length-t.maximum;return"Будь ласка, видаліть "+n+" "+e(t.maximum,"літеру","літери","літер")},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Будь ласка, введіть "+t+" або більше літер"},loadingMore:function(){return"Завантаження інших результатів…"},maximumSelected:function(t){return"Ви можете вибрати лише "+t.maximum+" "+e(t.maximum,"пункт","пункти","пунктів")},noResults:function(){return"Нічого не знайдено"},searching:function(){return"Пошук…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/sr-Cyrl.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sr-Cyrl",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?n:r}return{errorLoading:function(){return"Преузимање није успело."},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Обришите "+n+" симбол";return r+=e(n,"","а","а"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Укуцајте бар још "+n+" симбол";return r+=e(n,"","а","а"),r},loadingMore:function(){return"Преузимање још резултата…"},maximumSelected:function(t){var n="Можете изабрати само "+t.maximum+" ставк";return n+=e(t.maximum,"у","е","и"),n},noResults:function(){return"Ништа није пронађено"},searching:function(){return"Претрага…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/ru.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ru",[],function(){function e(e,t,n,r){return e%10<5&&e%10>0&&e%100<5||e%100>20?e%10>1?n:t:r}return{errorLoading:function(){return"Невозможно загрузить результаты"},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Пожалуйста, введите на "+n+" символ";return r+=e(n,"","a","ов"),r+=" меньше",r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Пожалуйста, введите еще хотя бы "+n+" символ";return r+=e(n,"","a","ов"),r},loadingMore:function(){return"Загрузка данных…"},maximumSelected:function(t){var n="Вы можете выбрать не более "+t.maximum+" элемент";return n+=e(t.maximum,"","a","ов"),n},noResults:function(){return"Совпадений не найдено"},searching:function(){return"Поиск…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/views/templates/estimate/estimate-submission-form.php:
--------------------------------------------------------------------------------
1 |
14 |
15 |
21 |
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/_header.scss:
--------------------------------------------------------------------------------
1 |
2 | /* The Main Header
3 | ---------------------------------------------------------------------------------------------------- */
4 |
5 | #header {
6 | background-color: lighten($color-blue, 2);
7 | text-align: center;
8 |
9 | .inner {
10 | padding: 100px 0 93px;
11 | border-bottom: 1px dashed rgba(#ffffff, .75);
12 |
13 | @media ('max-width: 480px') {
14 | padding: 50px 0 43px;
15 | }
16 |
17 | img {
18 | height: 10vw;
19 | display: inline-block;
20 | margin-bottom: 12px;
21 |
22 | @media ('max-width: 900px') {
23 | height: 20vw;
24 | margin-bottom: 15px;
25 | }
26 | }
27 |
28 | .intro {
29 | h1 {
30 | @include font-large();
31 | margin-bottom: 14px;
32 |
33 | @media ('max-width: 900px') {
34 | font-size: 22px;
35 | }
36 | }
37 |
38 | span {
39 | font-size: 18px;
40 | font-weight: 900;
41 | }
42 | }
43 | }
44 | }
--------------------------------------------------------------------------------
/views/templates/theme/slate/functions.php:
--------------------------------------------------------------------------------
1 |
7 |
8 |
32 |
7 |
8 |
32 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/tests/test-invoice.php:
--------------------------------------------------------------------------------
1 | 'TEST'
12 | );
13 | $this->invoice_id = SI_Invoice::create_invoice( $args, SI_Invoice::STATUS_TEMP );
14 | $this->invoice = SI_Invoice::get_instance( $this->invoice_id );
15 |
16 | $line_items = array();
17 | for ($i=0; $i < 10; $i++) {
18 | $rate = rand( 100, 1000 );
19 | $qty = rand( 1, 10 );
20 | $line_items[] = array(
21 | 'rate' => $rate,
22 | 'qty' => $qty,
23 | 'desc' => 'This is a test line item for a test invoice.',
24 | 'type' => '',
25 | 'total' => $rate*$qty,
26 | 'tax' => 0,
27 | );
28 | }
29 | $this->invoice->set_line_items( $line_items );
30 | }
31 |
32 | function test_set_deposit_with_high_value() {
33 | $total = $this->invoice->get_calculated_total();
34 | $dep = 5000000000000000;
35 | $this->invoice->set_deposit( $dep );
36 | $this->assertEquals( $this->invoice->get_deposit(), $total );
37 | }
38 | }
39 |
40 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/sk.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sk",[],function(){var e={2:function(e){return e?"dva":"dve"},3:function(){return"tri"},4:function(){return"štyri"}};return{inputTooLong:function(t){var n=t.input.length-t.maximum;return n==1?"Prosím, zadajte o jeden znak menej":n>=2&&n<=4?"Prosím, zadajte o "+e[n](!0)+" znaky menej":"Prosím, zadajte o "+n+" znakov menej"},inputTooShort:function(t){var n=t.minimum-t.input.length;return n==1?"Prosím, zadajte ešte jeden znak":n<=4?"Prosím, zadajte ešte ďalšie "+e[n](!0)+" znaky":"Prosím, zadajte ešte ďalších "+n+" znakov"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){return t.maximum==1?"Môžete zvoliť len jednu položku":t.maximum>=2&&t.maximum<=4?"Môžete zvoliť najviac "+e[t.maximum](!1)+" položky":"Môžete zvoliť najviac "+t.maximum+" položiek"},noResults:function(){return"Nenašli sa žiadne položky"},searching:function(){return"Vyhľadávanie…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/tests/test-invoice-functions.php:
--------------------------------------------------------------------------------
1 | 'TEST'
12 | );
13 | $this->invoice_id = SI_Invoice::create_invoice( $args, SI_Invoice::STATUS_TEMP );
14 | $this->invoice = SI_Invoice::get_instance( $this->invoice_id );
15 |
16 | $line_items = array();
17 | for ($i=0; $i < 10; $i++) {
18 | $rate = rand( 100, 1000 );
19 | $qty = rand( 1, 10 );
20 | $line_items[] = array(
21 | 'rate' => $rate,
22 | 'qty' => $qty,
23 | 'desc' => 'This is a test line item for a test invoice.',
24 | 'type' => '',
25 | 'total' => $rate*$qty,
26 | 'tax' => 0,
27 | );
28 | }
29 | $this->invoice->set_line_items( $line_items );
30 |
31 | $total = $this->invoice->get_calculated_total();
32 | $this->invoice->set_total( $total );
33 |
34 | }
35 |
36 | function test_si_has_invoice_deposit() {
37 | $this->invoice->set_deposit( 500 ); // minimum total 1000
38 | $this->assertTrue( si_has_invoice_deposit( $this->invoice_id ) );
39 | }
40 | }
41 |
42 |
--------------------------------------------------------------------------------
/resources/admin/plugins/select2/js/i18n/cs.js:
--------------------------------------------------------------------------------
1 | /*! Select2 4.0.3 | https://github.com/select2/select2/blob/master/LICENSE.md */
2 |
3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/cs",[],function(){function e(e,t){switch(e){case 2:return t?"dva":"dvě";case 3:return"tři";case 4:return"čtyři"}return""}return{errorLoading:function(){return"Výsledky nemohly být načteny."},inputTooLong:function(t){var n=t.input.length-t.maximum;return n==1?"Prosím zadejte o jeden znak méně":n<=4?"Prosím zadejte o "+e(n,!0)+" znaky méně":"Prosím zadejte o "+n+" znaků méně"},inputTooShort:function(t){var n=t.minimum-t.input.length;return n==1?"Prosím zadejte ještě jeden znak":n<=4?"Prosím zadejte ještě další "+e(n,!0)+" znaky":"Prosím zadejte ještě dalších "+n+" znaků"},loadingMore:function(){return"Načítají se další výsledky…"},maximumSelected:function(t){var n=t.maximum;return n==1?"Můžete zvolit jen jednu položku":n<=4?"Můžete zvolit maximálně "+e(n,!1)+" položky":"Můžete zvolit maximálně "+n+" položek"},noResults:function(){return"Nenalezeny žádné položky"},searching:function(){return"Vyhledávání…"}}}),{define:e.define,require:e.require}})();
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/Exception.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 |
22 | /**
23 | * Exception
24 | *
25 | * This file contains the class Harvest_Exception
26 | *
27 | * @author Matthew John Denton
28 | * @package com.mdbitz.harvest
29 | */
30 |
31 | /**
32 | * Harvest Exception Object
33 | *
34 | * @package com.mdbitz.harvest
35 | */
36 | class Harvest_Exception extends Exception
37 | { }
--------------------------------------------------------------------------------
/controllers/invoices/Invoices_Records.php:
--------------------------------------------------------------------------------
1 | %s.', 'sprout-invoices' ), $invoice->get_status_label( $original_status ), $invoice->get_status_label( $status ) ),
32 | self::HISTORY_STATUS_UPDATE,
33 | $invoice->get_id(),
34 | sprintf( __( 'Status update for %s.', 'sprout-invoices' ), $invoice->get_id() ),
35 | 0,
36 | false );
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/Category.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * Category
23 | *
24 | * This file contains the class Harvest_Category
25 | *
26 | * @author Matthew John Denton
27 | * @version 0.1
28 | * @package com.mdbitz.harvest
29 | */
30 |
31 | /**
32 | * Harvest Categroy Object
33 | *
34 | * @package com.mdbitz.harvest
35 | */
36 | class Harvest_Category extends Harvest_Abstract {
37 |
38 | }
--------------------------------------------------------------------------------
/views/admin/sections/line-item-totals.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | $items_total ) : ?>
8 |
9 |
10 |
11 |
12 |
13 |
14 | X', $slug, $id ) : '' ;
16 | ?>
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/Sprout_Invoices.class.php:
--------------------------------------------------------------------------------
1 |
48 | * define( 'SI_DEV', true/false )
49 | *
50 | */
51 | const DEBUG = SI_DEV;
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/views/admin/sections/line-items.php:
--------------------------------------------------------------------------------
1 |
2 | $data ) : ?>
3 |
4 |
8 |
9 |
12 |
13 |
16 |
17 |
18 |
19 | $child_data ) : ?>
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/views/admin/meta-boxes/projects/client-submit.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %s', get_edit_post_link( $project_id ), get_the_title( $project_id ) ) ?>
8 |
9 | get_start_date() && $project->get_end_date() ) : ?>
10 | get_start_date() ), date_i18n( get_option( 'date_format' ), $project->get_end_date() ) ) ?>
11 | get_start_date() ) : ?>
12 | Start—%s', date_i18n( get_option( 'date_format' ), $project->get_start_date() ) ) ?>
13 | get_end_date() ) : ?>
14 | End—%s', date_i18n( get_option( 'date_format' ), $project->get_end_date() ) ) ?>
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/views/admin/payment-processors/admin-free-paypal-download.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/_intro.scss:
--------------------------------------------------------------------------------
1 |
2 | /* The Invoice Intro
3 | ---------------------------------------------------------------------------------------------------- */
4 |
5 | #intro {
6 | .inner {
7 | padding: 42px 0 29px;
8 |
9 | .column {
10 | width: 50%;
11 | float: left;
12 |
13 | &:last-of-type {
14 | text-align: right;
15 | }
16 |
17 | @media ('max-width: 480px') {
18 | width: 100%;
19 | text-align: center;
20 |
21 | &:last-of-type {
22 | margin-top: 35px;
23 | text-align: center;
24 | }
25 | }
26 |
27 | span {
28 | font-size: 12px;
29 | color: rgba(#ffffff, 0.25);
30 | font-weight: 400;
31 | text-transform: uppercase;
32 | }
33 |
34 | h2 {
35 | width: 100%;
36 | float: left;
37 | padding-bottom: 7px;
38 | margin-bottom: 6px;
39 | border-bottom: 1px solid rgba(#ffffff, 0.1);
40 | font-size: 18px;
41 | font-weight: 900;
42 | }
43 |
44 | ul {
45 | li:first-of-type {
46 | font-weight: 400;
47 | color: #ffffff;
48 | }
49 | }
50 |
51 | a {
52 | border-bottom: 1px dashed rgba(#ffffff, 0.1);
53 | color: #ffffff;
54 | font-weight: 400;
55 | }
56 | }
57 | }
58 | }
--------------------------------------------------------------------------------
/views/admin/payment-processors/cc-settings.php:
--------------------------------------------------------------------------------
1 | $section_settings ) : ?>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/views/admin/addons/settings-template-addon.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/views/templates/theme/basic/checkout/credit-card/form.php:
--------------------------------------------------------------------------------
1 |
22 |
23 |
--------------------------------------------------------------------------------
/views/templates/theme/default/checkout/credit-card/form.php:
--------------------------------------------------------------------------------
1 |
22 |
23 |
--------------------------------------------------------------------------------
/views/admin/addons/settings-template-mp-addon.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | corp_bundled ) : ?>
5 |
6 | biz_bundled ) : ?>
7 |
8 | pro_bundled ) : ?>
9 |
10 | free_addon ) : ?>
11 |
12 |
13 |
14 |
15 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/views/admin/payment-processors/settings.php:
--------------------------------------------------------------------------------
1 | $section_settings ) : ?>
2 |
3 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/_reset.scss:
--------------------------------------------------------------------------------
1 |
2 | /* Reset: Primary reset for everything.
3 | ---------------------------------------------------------------------------------------------------- */
4 |
5 | *,
6 | *:before,
7 | *:after {
8 | margin: 0;
9 | padding: 0;
10 | border: 0;
11 | box-sizing: border-box;
12 | font-size: 100%;
13 | font: inherit;
14 | vertical-align: baseline;
15 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0.0);
16 | }
17 |
18 | ol,
19 | ul {
20 | list-style: none;
21 | }
22 |
23 | blockquote {
24 | quotes: none;
25 | }
26 |
27 | blockquote:before,
28 | blockquote:after {
29 | content: none;
30 | }
31 |
32 | table {
33 | border-collapse: collapse;
34 | border-spacing: 0;
35 | }
36 |
37 | html,
38 | body {
39 | width: 100%;
40 | height: 100%;
41 | }
42 |
43 | a,
44 | a img,
45 | a:before,
46 | a:after {
47 | text-decoration: none;
48 | transition-duration: .25s;
49 | }
50 |
51 | button {
52 | cursor: pointer;
53 | }
54 |
55 | canvas {
56 | -moz-user-select: none;
57 | -webkit-user-select: none;
58 | -ms-user-select: none;
59 | }
60 |
61 | video::-webkit-media-controls-start-playback-button {
62 | display: none !important;
63 | }
64 |
65 | input {
66 | border: none;
67 | border-radius: 0;
68 | background: none;
69 | outline: none;
70 | resize: none;
71 | position: relative;
72 | padding: 0;
73 | -webkit-appearance: none;
74 | }
75 |
76 | *:focus {
77 | outline: 0;
78 | }
79 |
--------------------------------------------------------------------------------
/controllers/payment-processing/Offsite_Processors.php:
--------------------------------------------------------------------------------
1 | is_page_complete( SI_Checkouts::PAYMENT_PAGE ) ) { // Make sure to send offsite when it's okay to do so.
24 | do_action( 'si_send_offsite_for_payment', $checkout );
25 | }
26 | }
27 |
28 | /**
29 | * Add additional action for offsite payments on review page.
30 | * @param SI_Checkouts $checkout
31 | * @return
32 | */
33 | public function process_review_page( SI_Checkouts $checkout ) {
34 | do_action( 'si_send_offsite_for_payment_after_review', $checkout );
35 | }
36 |
37 | /**
38 | * Subclasses should override this to identify if they've returned from
39 | * offsite processing
40 | *
41 | * @static
42 | * @return bool
43 | */
44 | public static function returned_from_offsite() {
45 | return false;
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/views/templates/theme/default/styles/_invoice.scss:
--------------------------------------------------------------------------------
1 |
2 |
3 | /* Invoice Section Titles
4 | ---------------------------------------------------------------------------------------------------- */
5 |
6 | .invoice {
7 | .title {
8 | height: 30px;
9 | margin-bottom: 11px;
10 | overflow: hidden;
11 | text-align: center;
12 |
13 | &:after {
14 | width: 100%;
15 | height: 30px;
16 | position: absolute;
17 | top: 50%;
18 | left: 0;
19 | z-index: -1;
20 | border: 1px solid rgba(#ffffff, .75);
21 | border-radius: 6px;
22 | content: '';
23 | }
24 |
25 | h2 {
26 | height: 30px;
27 | display: inline-block;
28 | padding: 0 12px;
29 | background-color: #4086b0;
30 | border-radius: 15px;
31 | border: 1px solid rgba(#ffffff, .75);
32 | font-size: 12px;
33 | font-weight: 900;
34 | line-height: 28px;
35 | text-transform: uppercase;
36 | }
37 | }
38 |
39 | .unit {
40 | height: 19px;
41 | position: absolute;
42 | top: -1px;
43 | padding: 0 8px;
44 | margin-left: 10px;
45 | border-radius: 9.5px;
46 | background-color: rgba(#ffffff, .75);
47 | font-size: 10px;
48 | line-height: 20px;
49 | color: $color-blue;
50 | }
51 | }
52 |
53 | /* Import Work and Totals
54 | ---------------------------------------------------------------------------------------------------- */
55 |
56 | @import 'invoice-items';
57 | @import 'invoice-totals';
58 |
--------------------------------------------------------------------------------
/views/templates/theme/slate/customizer.php:
--------------------------------------------------------------------------------
1 | add_setting( 'si_invoices_color', array(
10 | 'default' => '#FF5B4D',
11 | 'sanitize_callback' => 'sanitize_hex_color',
12 | //'transport' => 'postMessage',
13 | ) );
14 |
15 | $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'si_invoices_color', array(
16 | 'label' => __( 'Invoice Highlight Color (Original Theme)', 'sprout-invoices' ),
17 | 'section' => 'si_custommizer_section',
18 | 'settings' => 'si_invoices_color',
19 | ) ) );
20 | }
21 | if ( 'slate' === SI_Templating_API::get_estimate_theme_option() ) {
22 | // Highlight and link color
23 | $wp_customize->add_setting( 'si_estimates_color', array(
24 | 'default' => '#4D9FFF',
25 | 'sanitize_callback' => 'sanitize_hex_color',
26 | //'transport' => 'postMessage',
27 | ) );
28 |
29 | $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'si_estimates_color', array(
30 | 'label' => __( 'Estimate Highlight Color (Original Theme)', 'sprout-invoices' ),
31 | 'section' => 'si_custommizer_section',
32 | 'settings' => 'si_estimates_color',
33 | ) ) );
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/views/templates/checkout/credit-card/review.php:
--------------------------------------------------------------------------------
1 |
34 |
--------------------------------------------------------------------------------
/views/templates/theme/original/customizer.php:
--------------------------------------------------------------------------------
1 | add_setting( 'si_invoices_color', array(
10 | 'default' => '#FF5B4D',
11 | 'sanitize_callback' => 'sanitize_hex_color',
12 | //'transport' => 'postMessage',
13 | ) );
14 |
15 | $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'si_invoices_color', array(
16 | 'label' => __( 'Invoice Highlight Color (Original Theme)', 'sprout-invoices' ),
17 | 'section' => 'si_custommizer_section',
18 | 'settings' => 'si_invoices_color',
19 | ) ) );
20 | }
21 | if ( 'original' === SI_Templating_API::get_estimate_theme_option() ) {
22 | // Highlight and link color
23 | $wp_customize->add_setting( 'si_estimates_color', array(
24 | 'default' => '#4D9FFF',
25 | 'sanitize_callback' => 'sanitize_hex_color',
26 | //'transport' => 'postMessage',
27 | ) );
28 |
29 | $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'si_estimates_color', array(
30 | 'label' => __( 'Estimate Highlight Color (Original Theme)', 'sprout-invoices' ),
31 | 'section' => 'si_custommizer_section',
32 | 'settings' => 'si_estimates_color',
33 | ) ) );
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/Throttle.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * Throttle
23 | *
24 | * This file contains the class Harvest_Throttle
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest Throttle Object
32 | *
33 | * Properties
34 | *
35 | * timeframe_limit
36 | * count
37 | * max_calls
38 | * lockout_seconds
39 | * last_access_at
40 | *
41 | *
42 | * @package com.mdbitz.harvest
43 | */
44 | class Harvest_Throttle extends Harvest_Abstract {
45 |
46 | /**
47 | * @var string hash
48 | */
49 | protected $_root = "hash";
50 |
51 | }
--------------------------------------------------------------------------------
/resources/admin/css/sproutapps-ff/style.css:
--------------------------------------------------------------------------------
1 | .icon-handshake:before {
2 | content: "\e615";
3 | }
4 |
5 | .icon-lightsaber:before {
6 | content: "\e604";
7 | }
8 |
9 | .icon-vault:before {
10 | content: "\e614";
11 | }
12 |
13 | .icon-sproutapps-flat:before {
14 | content: "\e600";
15 | }
16 |
17 | .icon-sproutapps-logo:before {
18 | content: "\e601";
19 | }
20 |
21 | .icon-sproutapps-invoices:before,
22 | .icon-invoice:before {
23 | content: "\e602";
24 | }
25 |
26 | .icon-golf:before {
27 | content: "\e603";
28 | }
29 |
30 | .icon-help-solid:before {
31 | content: "\e605";
32 | }
33 |
34 | .icon-info-solid:before {
35 | content: "\e606";
36 | }
37 |
38 | .icon-info:before {
39 | content: "\e607";
40 | }
41 |
42 | .icon-question:before {
43 | content: "\e608";
44 | }
45 |
46 | .icon-sproutapps-estimates:before,
47 | .icon-estimate:before {
48 | content: "\e609";
49 | }
50 |
51 | .icon-hour-glass:before {
52 | content: "\e60a";
53 | }
54 |
55 | .icon-percent:before {
56 | content: "\e60b";
57 | }
58 |
59 | .icon-abacus:before {
60 | content: "\e60c";
61 | }
62 |
63 | .icon-calculator:before {
64 | content: "\e60d";
65 | }
66 |
67 | .icon-register:before {
68 | content: "\e60e";
69 | }
70 |
71 | .icon-hackathon:before {
72 | content: "\e60f";
73 | }
74 |
75 | .icon-coins:before {
76 | content: "\e610";
77 | }
78 |
79 | .icon-checklist:before {
80 | content: "\e611";
81 | }
82 |
83 | .icon-notebook:before {
84 | content: "\e612";
85 | }
86 |
87 | .icon-piggy-bank:before {
88 | content: "\e613";
89 | }
90 |
91 |
--------------------------------------------------------------------------------
/views/templates/theme/basic/checkout/autopay-selection.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | $label ) : ?>
29 | >
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/views/templates/theme/default/checkout/autopay-selection.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | $label ) : ?>
29 | >
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/Client.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * Client
23 | *
24 | * This file contains the class Harvest_Client
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest Client Object
32 | *
33 | * Properties
34 | *
35 | * active
36 | * cache-version
37 | * currency
38 | * default-invoice-timeframe
39 | * details
40 | * highrise-id
41 | * id
42 | * name
43 | *
44 | *
45 | * @package com.mdbitz.harvest
46 | */
47 | class Harvest_Client extends Harvest_Abstract {
48 |
49 | /**
50 | * @var string client
51 | */
52 | protected $_root = "client";
53 |
54 | }
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/Contact.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * Contact
23 | *
24 | * This file contains the class Harvest_Contact
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest Contact Object
32 | *
33 | * Properties
34 | *
35 | * client-id
36 | * email
37 | * fax
38 | * first-name
39 | * id
40 | * last-name
41 | * phone-mobile
42 | * phone-office
43 | * title
44 | *
45 | *
46 | * @package com.mdbitz.harvest
47 | */
48 | class Harvest_Contact extends Harvest_Abstract {
49 |
50 | /**
51 | * @var string contact
52 | */
53 | protected $_root = "contact";
54 |
55 | }
--------------------------------------------------------------------------------
/views/templates/checkout/credit-card/form.php:
--------------------------------------------------------------------------------
1 |
24 |
25 |
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/Task.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * Task
23 | *
24 | * This file contains the class Harvest_Task
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest Task Object
32 | *
33 | * Properties
34 | *
35 | * billable-by-default
36 | * cache-version
37 | * created-at
38 | * deactivated
39 | * default-hourly-rate
40 | * id
41 | * is-default
42 | * name
43 | * updated-at
44 | *
45 | *
46 | * @package com.mdbitz.harvest
47 | */
48 | class Harvest_Task extends Harvest_Abstract {
49 |
50 | /**
51 | * @var string task
52 | */
53 | protected $_root = "task";
54 |
55 | }
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/InvoiceItemCategory.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * InvoiceItemCategory
23 | *
24 | * This file contains the class Harvest_InvoiceItemCategory
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest InvoiceItemCategory Object
32 | *
33 | * Properties
34 | *
35 | * created-at
36 | * id
37 | * name
38 | * updated-at
39 | * use-as-expense
40 | * use-as-service
41 | *
42 | *
43 | * @package com.mdbitz.harvest
44 | */
45 | class Harvest_InvoiceItemCategory extends Harvest_Abstract {
46 |
47 | /**
48 | * @var string invoice-item-category
49 | */
50 | protected $_root = "invoice-item-category";
51 |
52 | }
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/TaskAssignment.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * Filter
23 | *
24 | * This file contains the class Harvest_TaskAssignment
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest TaskAssignment Object
32 | *
33 | * Properties
34 | *
35 | * billable
36 | * budget
37 | * deactivated
38 | * hourly-rate
39 | * id
40 | * project-id
41 | * task-id
42 | * estimate
43 | *
44 | *
45 | * @package com.mdbitz.harvest
46 | */
47 | class Harvest_TaskAssignment extends Harvest_Abstract {
48 |
49 | /**
50 | * @var string task-assignment
51 | */
52 | protected $_root = "task-assignment";
53 |
54 | }
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/Payment.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * Payment
23 | *
24 | * This file contains the class Harvest_Payment
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest Payment Object
32 | *
33 | * Properties
34 | *
35 | * amount
36 | * created-at
37 | * id
38 | * invoice-id
39 | * notes
40 | * paid-at
41 | * pay-pal-transaction-id
42 | * recorded-by
43 | * recorded-by-email
44 | *
45 | *
46 | * @package com.mdbitz.harvest
47 | */
48 | class Harvest_Payment extends Harvest_Abstract {
49 |
50 | /**
51 | * @var string payment
52 | */
53 | protected $_root = "payment";
54 |
55 | }
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/UserAssignment.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * UserAssignment
23 | *
24 | * This file contains the class Harvest_UserAssignment
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest UserAssignment Object
32 | *
33 | * Properties
34 | *
35 | * budget
36 | * deactivated
37 | * hourly-rate
38 | * id
39 | * is-project-manager
40 | * project-id
41 | * user-id
42 | * estimate
43 | *
44 | * @package com.mdbitz.harvest
45 | */
46 | class Harvest_UserAssignment extends Harvest_Abstract {
47 |
48 | /**
49 | * @var string user-assignment
50 | */
51 | protected $_root = "user-assignment";
52 |
53 | }
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/ExpenseCategory.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * ExpenseCategory
23 | *
24 | * This file contains the class Harvest_ExpenseCategory
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest Expense Categroy Object
32 | *
33 | * Properties
34 | *
35 | * cache-version
36 | * created-at
37 | * deactivated
38 | * id
39 | * name
40 | * unit-name
41 | * unit-price
42 | * updated-at
43 | *
44 | *
45 | * @package com.mdbitz.harvest
46 | */
47 | class Harvest_ExpenseCategory extends Harvest_Abstract {
48 |
49 | /**
50 | * @var string expense-category
51 | */
52 | protected $_root = "expense-category";
53 |
54 | }
--------------------------------------------------------------------------------
/resources/admin/js/notification.js:
--------------------------------------------------------------------------------
1 | /**
2 | * UI enhancements for SA Notification editor
3 | */
4 |
5 | jQuery(document).ready(function($){
6 |
7 | // Apply classes to list items for highlighting
8 | $('#toplevel_page_sprout-invoices').removeClass('wp-not-current-submenu').addClass('wp-has-current-submenu wp-menu-open');
9 | $('#toplevel_page_sprout-invoices a[href="admin.php?page=sprout-apps"]').removeClass('wp-not-current-submenu').addClass('wp-has-current-submenu wp-menu-open');
10 | $('#toplevel_page_sprout-invoices li a[href*="admin.php?page=sprout-invoices-notifications"]').addClass('current').parent().addClass('current');
11 |
12 | // Remove add new button
13 | $('h2 a[href*="post-new.php?post_type=sa_notification"]').remove();
14 |
15 | function show_hide_notification_type_descriptions( type ) {
16 | $('#normal-sortables .postbox').each(function(){
17 | var $this = $(this);
18 | var id = $this.attr('id');
19 | // Only mess with shortcode meta boxes
20 | if ( id.match(/si_notification_shortcodes_/) ) {
21 | // If it is the selected notification type, show it. Otherwise, hide it.
22 | if ( id.match( new RegExp('^si_notification_shortcodes_' + type + '$') ) ) {
23 | $this.show();
24 | $('.submitdelete').hide();
25 | } else {
26 | $this.hide();
27 | }
28 | }
29 | });
30 |
31 | // Show and hide the appropriate notification type descriptions
32 | $('.notification_type_description').hide();
33 | $('#notification_type_description_' + type).show();
34 | }
35 | $('#notification_type').change(function(){
36 | show_hide_notification_type_descriptions( $(this).val() );
37 | });
38 | show_hide_notification_type_descriptions($('#notification_type').val());
39 | });
40 |
41 |
42 |
--------------------------------------------------------------------------------
/views/admin/meta-boxes/invoices/quick-links.php:
--------------------------------------------------------------------------------
1 |
4 |
5 |
37 |
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/InvoiceMessage.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * InvoiceMessage
23 | *
24 | * This file contains the class Harvest_InvoiceMessage
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest InvoiceMessage Object
32 | *
33 | * Properties
34 | *
35 | * body
36 | * created-at
37 | * id
38 | * include-pay-pal-link
39 | * invoice-id
40 | * send-me-a-copy
41 | * sent-by
42 | * sent-by-email
43 | * subject
44 | * thank-you
45 | * full-recipient-list
46 | *
47 | *
48 | * @package com.mdbitz.harvest
49 | */
50 | class Harvest_InvoiceMessage extends Harvest_Abstract {
51 |
52 | /**
53 | * @var string invoice-message
54 | */
55 | protected $_root = "invoice-message";
56 |
57 | }
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/Expense.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * Expense
23 | *
24 | * This file contains the class Harvest_Expense
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest Expense Object
32 | *
33 | * Properties
34 | *
35 | * created-at
36 | * expense-category-id
37 | * id
38 | * is-billed
39 | * is-closed
40 | * notes
41 | * project-id
42 | * spent-at
43 | * total-cost
44 | * units
45 | * updated-at
46 | * user-id
47 | * has-receipt
48 | * receipt-url
49 | *
50 | *
51 | * @package com.mdbitz.harvest
52 | */
53 | class Harvest_Expense extends Harvest_Abstract {
54 |
55 | /**
56 | * @var string expense
57 | */
58 | protected $_root = "expense";
59 |
60 | }
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/DayEntry.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * DayEntry
23 | *
24 | * This file contains the class Harvest_DayEntry
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest DayEntry Object
32 | *
33 | * Properties
34 | *
35 | * created-at
36 | * hours
37 | * id
38 | * is-billed
39 | * is-closed
40 | * notes
41 | * project-id
42 | * spent-at
43 | * task-id
44 | * timer-started-at
45 | * user-id
46 | *
47 | *
48 | * @package com.mdbitz.harvest
49 | */
50 | class Harvest_DayEntry extends Harvest_Abstract {
51 |
52 | /**
53 | * @var string request
54 | */
55 | protected $_root = "request";
56 |
57 | /**
58 | * @var boolean convert underscore
59 | */
60 | protected $_convert = true;
61 |
62 | }
--------------------------------------------------------------------------------
/views/admin/dashboards/premium/payments-status-chart.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/views/admin/reports/admin.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/resources/admin/js/sprout_invoice.js:
--------------------------------------------------------------------------------
1 | var $ = jQuery.noConflict();
2 |
3 | function si_format_money ( value ) {
4 |
5 | if ( typeof Intl !== 'object' ) {
6 | var parts = value.toString().split(si_js_object.localeconv.mon_decimal_point);
7 | parts[0] = parts[0].replace( /\B(?=(\d{3})+(?!\d))/g, si_js_object.localeconv.mon_thousands_sep );
8 | return si_js_object.localeconv.currency_symbol + parts.join(si_js_object.localeconv.mon_decimal_point);
9 | }
10 | var cformatter = new Intl.NumberFormat( si_js_object.locale_standard, {
11 | style: 'currency',
12 | currency: si_js_object.localeconv.int_curr_symbol.trim(),
13 | maximumFractionDigits: si_js_object.localeconv.int_frac_digits,
14 | minimumFractionDigits: si_js_object.localeconv.int_frac_digits,
15 | });
16 | return cformatter.format( value );
17 | }
18 |
19 | jQuery(function($) {
20 |
21 | /**
22 | * Tooltip with qtip
23 | * @type {}
24 | */
25 | $('.si_tooltip[title!=""], .helptip[title!=""]').qtip({
26 | style: {
27 | classes: 'qtip-bootstrap'
28 | }
29 | });
30 |
31 | jQuery("#the-list .doc_status_change").on('click', function(e) {
32 | e.preventDefault();
33 | var $status_change_link = $( this ),
34 | $status_button = $( this ).closest('.quick_status_update'),
35 | $row_actions = $status_change_link.closest( '.row-actions' ),
36 | $new_status = $status_change_link.data( 'status-change' ),
37 | $id = $status_change_link.data( 'id' ),
38 | $nonce = $status_change_link.data( 'nonce' ),
39 | $status_span = $( '#status_' + $id );
40 |
41 | $status_button.html(si_js_object.inline_spinner);
42 |
43 | $.post( ajaxurl, { action: 'si_change_doc_status', id: $id, status: $new_status, change_status_nonce: $nonce },
44 | function( data ) {
45 | if ( data.error ) {
46 | $status_span.html( data.response );
47 | }
48 | else {
49 | $button_html = $( data.new_button ).html();
50 | // swap out the button with the new one
51 | $status_button.html( $button_html );
52 | };
53 | return data;
54 | }
55 | );
56 | });
57 |
58 | });
59 |
--------------------------------------------------------------------------------
/views/admin/meta-boxes/estimates/quick-links.php:
--------------------------------------------------------------------------------
1 |
4 |
5 |
44 |
--------------------------------------------------------------------------------
/importers/lib/harvest/Harvest/Invoice.php:
--------------------------------------------------------------------------------
1 | .
19 | */
20 |
21 | /**
22 | * Invoice
23 | *
24 | * This file contains the class Harvest_Invoice
25 | *
26 | * @author Matthew John Denton
27 | * @package com.mdbitz.harvest
28 | */
29 |
30 | /**
31 | * Harvest Invoice Object
32 | *
33 | * Properties
34 | *
35 | * amount
36 | * client-id
37 | * client-key
38 | * created-at
39 | * currency
40 | * discount
41 | * discount-amount
42 | * due-amount
43 | * due-at
44 | * due-at-human-format
45 | * estimate-id
46 | * id
47 | * issued-at
48 | * notes
49 | * number
50 | * period-end
51 | * period-start
52 | * purchase-order
53 | * recurring-invoice-id
54 | * state
55 | * subject
56 | * tax
57 | * tax-amount
58 | * tax2
59 | * tax2-amount
60 | * updated-at
61 | * csv-line-items
62 | *
63 | *
64 | * @package com.mdbitz.harvest
65 | */
66 | class Harvest_Invoice extends Harvest_Abstract {
67 |
68 | /**
69 | * @var string invoice
70 | */
71 | protected $_root = "invoice";
72 |
73 | }
--------------------------------------------------------------------------------
/resources/admin/plugins/dropdown/jquery.dropdown.min.js:
--------------------------------------------------------------------------------
1 | /*
2 | * jQuery dropdown: A simple dropdown plugin
3 | *
4 | * Copyright A Beautiful Site, LLC. (http://www.abeautifulsite.net/)
5 | *
6 | * Licensed under the MIT license: http://opensource.org/licenses/MIT
7 | *
8 | */jQuery&&function(e){function t(t,i){var s=t?e(this):i,o=e(s.attr("data-dropdown")),u=s.hasClass("dropdown-open");if(t){if(e(t.target).hasClass("dropdown-ignore"))return;t.preventDefault();t.stopPropagation()}else if(s!==i.target&&e(i.target).hasClass("dropdown-ignore"))return;n();if(u||s.hasClass("dropdown-disabled"))return;s.addClass("dropdown-open");o.data("dropdown-trigger",s).show();r();o.trigger("show",{dropdown:o,trigger:s})}function n(t){var n=t?e(t.target).parents().addBack():null;if(n&&n.is(".dropdown")){if(!n.is(".si-dropdown-menu"))return;if(!n.is("A"))return}e(document).find(".dropdown:visible").each(function(){var t=e(this);t.hide().removeData("dropdown-trigger").trigger("hide",{dropdown:t})});e(document).find(".dropdown-open").removeClass("dropdown-open")}function r(){var t=e(".dropdown:visible").eq(0),n=t.data("dropdown-trigger"),r=n?parseInt(n.attr("data-horizontal-offset")||0,10):null,i=n?parseInt(n.attr("data-vertical-offset")||0,10):null;if(t.length===0||!n)return;t.hasClass("dropdown-relative")?t.css({left:t.hasClass("dropdown-anchor-right")?n.position().left-(t.outerWidth(!0)-n.outerWidth(!0))-parseInt(n.css("margin-right"),10)+r:n.position().left+parseInt(n.css("margin-left"),10)+r,top:n.position().top+n.outerHeight(!0)-parseInt(n.css("margin-top"),10)+i}):t.css({left:t.hasClass("dropdown-anchor-right")?n.offset().left-(t.outerWidth()-n.outerWidth())+r:n.offset().left+r,top:n.offset().top+n.outerHeight()+i})}e.extend(e.fn,{dropdown:function(r,i){switch(r){case"show":t(null,e(this));return e(this);case"hide":n();return e(this);case"attach":return e(this).attr("data-dropdown",i);case"detach":n();return e(this).removeAttr("data-dropdown");case"disable":return e(this).addClass("dropdown-disabled");case"enable":n();return e(this).removeClass("dropdown-disabled")}}});e(document).on("click.dropdown","[data-dropdown]",t);e(document).on("click.dropdown",n);e(window).on("resize",r)}(jQuery);
--------------------------------------------------------------------------------