Skip to content

hossammonir/pioneer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pioneer ERP Integration

This package is a wrapper for the Pioneer ERP API.

Installation

You can install the package via composer:

composer require hossammonir/pioneer

Publish repository configurations

php artisan vendor:publish --provider="HossamMonir\Pioneer\PioneerServiceProvider"

This will publish msegat.php configurations to config/pioneer.php

Usage

Get Superior Information

use Hossammonir\Pioneer\Pioneer;

Pioneer::setNationalityNumber('xxxxxxxxxx')
->superior();

Get Superior Students

use Hossammonir\Pioneer\Pioneer;

Pioneer::setNationalityNumber('xxxxxxxxxx')
->students();

Get Superior Students Statements for each Student

use Hossammonir\Pioneer\Pioneer;

Pioneer::setNationalityNumber('xxxxxxxxxx')
->studentsStatement();

Optional Parameters

setEducationalYear($id) : set the educational year to get the statement for it

Get Superior Summarized Statement

use Hossammonir\Pioneer\Pioneer;

Pioneer::setNationalityNumber('xxxxxxxxxx')
->summarizedStatement();

Get Superior Payments

use Hossammonir\Pioneer\Pioneer;

Pioneer::setNationalityNumber('xxxxxxxxxx')
->payments();

Optional Parameters

setReceiptType($id) : set the receipt type to get the payments for it ( 0 for refunds Receipts , 1 for payments Receipts)

Get Nationalities List

use Hossammonir\Pioneer\Pioneer;

Pioneer::nationalities();

Get Educational Years List

use Hossammonir\Pioneer\Pioneer;

Pioneer::educationalYears();

Get branches List

use Hossammonir\Pioneer\Pioneer;

Pioneer::branches();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages