- PHP 5.6
- PHP framework: Kohana 3.3
- MySQL 5.7
- NGINX
Need to make a web page with an authorization form.(login.php, Auth.php)
There must be two users in the database: admin and user (init.sql, models: Model_PaymentSystem.php, Model_Custom_User.php, Model_PaymentInvoice.php ). Each user has their own section.
form for creating a payment invoice: select payment system, filling in payment details and amount table with list of the payment invoices
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, invoices.php, invoice_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, payment_systems.php, create_payment_system.php, edit_payment_system.php)
- creating
- approved
- cancelled
All forms should only be submitted with JQuery Ajax, except for downloading.