mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-28 11:08:53 -04:00
build/refactor/fix: tighten tooling, rename accessors to camelCase, and correct model bugs * build: tighten gitignore, lockfile, and script config - gitignore /build and /.php-cs-fixer.cache - allow core-js@3.50.0 postinstall script in package.json * refactor: rename snake_case data accessors to camelCase Rename get_info, get_multiple_info, get_sale_items, get_sale_payments, and save_customer across Customer, Employee, Item, Sale, and Supplier models to PSR-12 camelCase, updating every call site in controllers, libraries, and views. * test: update calls to match renamed camelCase accessors Update HomeTest, ItemsControllerTest, and ItemTest to call getInfo()/getMultipleInfo() instead of the old snake_case model methods. * fix: correct independent bugs in Item, Item_taxes, and Attribute models - Item::delete()/delete_list(): let $this->db->transStatus() alone decide success instead of accumulating a bitwise-AND over intermediate results, which could report failure (and trigger error toasts) even when the delete had actually completed - Item_taxes: correct $table property from 'item_taxes' to 'items_taxes' - Attribute::getDefinitionNames(): pass an array to QueryBuilder->whereNotIn(), which requires one Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
95 lines
1.2 KiB
Plaintext
95 lines
1.2 KiB
Plaintext
# Dependency directories
|
|
node_modules
|
|
vendor
|
|
public/resources
|
|
public/images/menubar/*
|
|
!public/images/menubar/.gitkeep
|
|
public/license/*
|
|
!public/license/.gitkeep
|
|
app/Config/email.php
|
|
npm-debug.log*
|
|
.vscode
|
|
|
|
# Docker
|
|
!docker/.env
|
|
docker/data/database/db/*
|
|
docker/data/certbot/conf/*
|
|
docker/data/ospos/app/*
|
|
|
|
# Editors
|
|
## SublimeText
|
|
*.tmlanguage.cache
|
|
*.tmPreferences.cache
|
|
*.stTheme.cache
|
|
*.sublime-workspace
|
|
|
|
## VisualStudioCode
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
|
|
## Vim
|
|
*.sw[a-p]
|
|
|
|
## WebStorm/IntelliJ
|
|
/.idea
|
|
modules.xml
|
|
*.ipr
|
|
*.iml
|
|
|
|
# System files
|
|
*.DS_Store
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
ehthumbs_vista.db
|
|
Desktop.ini
|
|
$RECYCLE.BIN/
|
|
._*
|
|
.DocumentRevisions-V100
|
|
.fseventsd
|
|
.Spotlight-V100
|
|
.TemporaryItems
|
|
.Trashes
|
|
.VolumeIcon.icns
|
|
.com.apple.timemachine.donotpresent
|
|
|
|
# Other
|
|
build/
|
|
!tools/build/
|
|
generate_languages.php
|
|
dist
|
|
/patches
|
|
translations
|
|
/.buildpath
|
|
/.project
|
|
/.settings/*
|
|
*.patch
|
|
git-svn-diff.py
|
|
*.bash
|
|
.swp
|
|
system/
|
|
*.swp
|
|
*.rej
|
|
*.orig
|
|
*~
|
|
*.~
|
|
.env
|
|
.env.lock
|
|
.env.tmp.*
|
|
auth.json
|
|
|
|
*.png
|
|
*.jpg
|
|
*.jpeg
|
|
*.webp
|
|
*copy*
|
|
/writable/logs/*.log
|
|
/writable/debugbar/*.json
|
|
/app/Database/database.sql
|
|
/writable/cache/*
|
|
/.env.bak
|
|
/.php-cs-fixer.cache
|
|
/build
|