Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhukmax/pz_kohana
https://github.com/zhukmax/pz_kohana
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zhukmax/pz_kohana
- Owner: ZhukMax
- License: mit
- Created: 2024-04-01T18:07:38.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-02T01:34:48.000Z (8 months ago)
- Last Synced: 2024-04-02T21:35:59.324Z (8 months ago)
- Language: PHP
- Size: 1.09 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
### Stack:
* PHP 5.6
* PHP framework: Kohana 3.3
* MySQL 5.7
* NGINX
### Task:
Need to make a web page with an authorization form.([login.php](application%2Fviews%2Fauth%2Flogin.php), [Auth.php](application%2Fclasses%2FController%2FAuth.php))There must be two users in the database: admin and user ([init.sql](init.sql), models: [Model_PaymentSystem.php](application%2Fclasses%2FModel%2FModel_PaymentSystem.php), [Model_Custom_User.php](application%2Fclasses%2FModel%2FCustom%2FModel_Custom_User.php), [Model_PaymentInvoice.php](application%2Fclasses%2FModel%2FModel_PaymentInvoice.php) ). Each user has their own section.
#### Section for user:
form for creating a payment invoice: select payment system, filling in payment details and amount table with list of the payment invoices[invoice.php](application%2Fviews%2Fuser%2Finvoice.php), [User.php](application%2Fclasses%2FController%2FUser.php)
#### Section for admin:
table with list of the payment invoices, the admin can cancel or approve each invoice, also admin can download invoice in pdf format (custom html layout)
([Admin.php](application%2Fclasses%2FController%2FAdmin.php), [invoices.php](application%2Fviews%2Fadmin%2Finvoices.php), [invoice_pdf.php](application%2Fviews%2Fadmin%2Finvoice_pdf.php))table with list of the payment systems form with creating and edititng payment system, if payment system is off, then user cant create payment invoice
([Admin.php](application%2Fclasses%2FController%2FAdmin.php),
[payment_systems.php](application%2Fviews%2Fadmin%2Fpayment_systems.php),
[create_payment_system.php](application%2Fviews%2Fadmin%2Fcreate_payment_system.php),
[edit_payment_system.php](application%2Fviews%2Fadmin%2Fedit_payment_system.php))
#### Payment invoice statuses:
* creating
* approved
* cancelledAll forms should only be submitted with JQuery Ajax, except for downloading.