Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/julio101290/boilerplatebranchoffice

CodeIgniter4 Boilerplatebranchoffice CRUD MVC contain capture per companie Key,name, address, admin box
https://github.com/julio101290/boilerplatebranchoffice

backtup branchoffice codeigniter4 crud invoice mysql

Last synced: 10 days ago
JSON representation

CodeIgniter4 Boilerplatebranchoffice CRUD MVC contain capture per companie Key,name, address, admin box

Awesome Lists containing this project

README

        

[![Latest Stable Version](https://poser.okvpn.org/julio101290/boilerplatebranchoffice/v/stable)](https://packagist.org/packages/julio101290/boilerplatebranchoffice) [![Total Downloads](https://poser.okvpn.org/julio101290/boilerplatebranchoffice/downloads)](https://packagist.org/packages/julio101290/boilerplatebranchoffice) [![Latest Unstable Version](https://poser.okvpn.org/julio101290/boilerplatebranchoffice/v/unstable)](https://packagist.org/packages/julio101290/boilerplatebranchoffice) [![License](https://poser.okvpn.org/julio101290/boilerplatebranchoffice/license)](https://packagist.org/packages/julio101290/boilerplatebranchoffice)

## CodeIgniter 4 Boilerplate BranchOffice
CodeIgniter4 Boilerplatebranchoffice CRUD MVC contain capture per companie Key,name, address, admin box

## Requirements
* PhpCfdi\SatCatalogos
* julio101290/boilerplatelog
* hermawan/codeigniter4-datatables

## Installation

### Run commands

composer require phpcfdi/sat-catalogos

composer require hermawan/codeigniter4-datatables

composer require julio101290/boilerplatelog

composer require julio101290/boilerplatecompanies

composer require julio101290/boilerplatebranchoffice

### Run command for migration and seeder

php spark boilerplatecompanies:installcompaniescrud

php spark boilerplatelog:installlog

php spark boilerplatebranchoffice:installbranchoffice

### BaseController.php Config

Add SAT Catalogos Factory and use global variabes from conection DNS with SQLite

like

session = \Config\Services::session();

date_default_timezone_set("America/Mazatlan");

//ADD
$dsn = "sqlite:".ROOTPATH."writable/database/catalogossat.db";
$factory = new Factory();
$satCatalogos = $factory->catalogosFromDsn($dsn);
$this->catalogosSAT = $satCatalogos;



}
}


### Make folder and download Database SAT Catalogs
* Download and uncompress the file https://github.com/phpcfdi/resources-sat-catalogs/releases/latest/download/catalogs.db.bz2
* Put in the folder writable/database/catalogossat.db

### Make the menu
![image](https://github.com/user-attachments/assets/3377700f-e5bc-4317-95a4-3b800bead3e5)

# Ready

![image](https://github.com/user-attachments/assets/e844eb79-33a5-43e7-9809-c939b8e1028e)

![image](https://github.com/user-attachments/assets/02d65119-62b4-4040-984c-aae92f763c34)

Usage
-----
You can find how it works with the read code routes, controller and views etc. Finnally... Happy Coding!

Changelog
--------
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------
Contributions are very welcome.

License
-------

This package is free software distributed under the terms of the [MIT license](LICENSE.md).