This package is a wrapper for the Pioneer ERP API.
You can install the package via composer:
composer require hossammonir/pioneer
php artisan vendor:publish --provider="HossamMonir\Pioneer\PioneerServiceProvider"
This will publish msegat.php configurations to config/pioneer.php
use Hossammonir\Pioneer\Pioneer;
Pioneer::setNationalityNumber('xxxxxxxxxx')
->superior();
use Hossammonir\Pioneer\Pioneer;
Pioneer::setNationalityNumber('xxxxxxxxxx')
->students();
use Hossammonir\Pioneer\Pioneer;
Pioneer::setNationalityNumber('xxxxxxxxxx')
->studentsStatement();
setEducationalYear($id) : set the educational year to get the statement for it
use Hossammonir\Pioneer\Pioneer;
Pioneer::setNationalityNumber('xxxxxxxxxx')
->summarizedStatement();
use Hossammonir\Pioneer\Pioneer;
Pioneer::setNationalityNumber('xxxxxxxxxx')
->payments();
setReceiptType($id) : set the receipt type to get the payments for it ( 0 for refunds Receipts , 1 for payments Receipts)
use Hossammonir\Pioneer\Pioneer;
Pioneer::nationalities();
use Hossammonir\Pioneer\Pioneer;
Pioneer::educationalYears();
use Hossammonir\Pioneer\Pioneer;
Pioneer::branches();