<p align="center"><a href="https://finance.kiu.org" target="_blank" style="text-decoration: none;font-size: 46px;color:#1e6566;">Finance Portal</a></p>

## Notes

- Store all documents in the documents' folder inside storage/public/documents.
- store URl as documents/filename.extension in database. it placed by **documents** route in routes/documents.php


## Installation

Finance portal is a web application that allows you to manage your finances built on top of [Kiu](https://kiu.org) platform.


- ``composer install``.
- ``setup .env``.
- ``php artisan migrate``.
- ``php artisan db:seed``.
- ``Setup *_PORTAL_URL(sis urls) var in .env (important)``.
- ``SETUP Mail configuration and also set MAIL_ADMIN_ADDRESS (important)``.
- ``You are good to go &check;``.

## Important Links

- [Kiu](https://kiu.org)
- [Kiu sponsor](https://sponsor.kiu.org)
- [Kiu API](https://site-api.kiu.org)
- [Kiu executive](https://executive.kiu.org)
- [KIU Arabic](https://ar.kiu.org)
- [KIU English](https://en.kiu.org)
- [KIU French](https://fr.kiu.org)
- [KIU Urdu](https://ur.kiu.org)
- [KIU Poshto](https://ps.kiu.org)

## Notes

- Store all documents in the documents' folder inside storage/public/documents.
- store URl as documents/filename.extension in database. it placed by *documents* route in routes/documents.php

## How it all works?

let's have a look at the flow of data.

* so we have sis portals (multiple)
* we have admission portal
* we have sponsor portal
* we have executive portal
* **But do we manage and interconnect all of them?**
* **Yes, we do, through finance portal**.
* We have student payments that comes from sis
* we have faculty from sis,
* sponsor payments that come from sponsor portal.
* **Do I have to understand all of them?**
* Yup you have to understand them all.
* **But how do I manage them?**
* remember that will installation we set up urls in .env?.
* That's where the data comes from.
* you create API in each portal and consume it.
* That's all.

## Default USER
    email: admin@kiu.org
    password: 123456789
    
