Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3549 commits
Select commit Hold shift + click to select a range
6f3dc5f
Fixed php cs issues
tanmayjay Jul 26, 2021
e58c5f0
Added routes for sales tax reports
tanmayjay Jul 26, 2021
594ebdc
Added modules in store
tanmayjay Jul 26, 2021
b1961bf
Added pro activation state
tanmayjay Jul 26, 2021
192bb66
Added vuex in the exported acct libraries
tanmayjay Jul 26, 2021
b3af2a8
Added sales tax report in overview list
tanmayjay Jul 26, 2021
423bc80
Updated invoice single content template
tanmayjay Jul 26, 2021
38c55d9
Added all category sales tax reports list
tanmayjay Jul 26, 2021
2eeedd4
Added template for agency based sales tax report
tanmayjay Jul 26, 2021
f2351b5
Added agency based sales tax report component
tanmayjay Jul 26, 2021
ce9cbcd
Added template for category based sales tax report
tanmayjay Jul 26, 2021
b363247
Added component for category based sales tax report
tanmayjay Jul 26, 2021
2cfa1d6
Added template for customer based sales tax report
tanmayjay Jul 26, 2021
b11481b
Added component for customer based sales tax report
tanmayjay Jul 26, 2021
5c2d64b
Added template for transaction based sales tax report
tanmayjay Jul 26, 2021
3cc7e73
Added component for transaction based sales tax report
tanmayjay Jul 26, 2021
0b9b9ad
Renamed settings folder name for psr-4 compatibility
tanmayjay Jul 26, 2021
365cf17
Added less source files
tanmayjay Jul 26, 2021
5758790
Restructured classes for settings
tanmayjay Jul 26, 2021
2be9dac
Added main app for settinghs
tanmayjay Jul 26, 2021
f2ab587
Added supporting scripts for settings app
tanmayjay Jul 26, 2021
3a468fc
Added settings view for the app root
tanmayjay Jul 26, 2021
af1299b
Added components for settings
tanmayjay Jul 26, 2021
2d8cfeb
Fixed some issues
tanmayjay Jul 26, 2021
eb399a7
Added action handle after event of module deactivation
tanmayjay Aug 2, 2021
e2ddb26
Added schema for synced_taxes table
tanmayjay Aug 3, 2021
ee95f6b
Added updater for 191
tanmayjay Aug 3, 2021
e1a2c13
Added synced_tax data insert method
tanmayjay Aug 3, 2021
68a4824
Added method to get synced tax data
tanmayjay Aug 3, 2021
f64e4ed
Added ajax action for license settings
tanmayjay Aug 4, 2021
f9c12ca
Added license instantiation
tanmayjay Aug 4, 2021
d3bb35f
Updated settings field function
tanmayjay Aug 4, 2021
b862bc5
Updated license class
tanmayjay Aug 4, 2021
42beaee
Added component for license
tanmayjay Aug 4, 2021
b7c1a20
Fixed activities filtering issue
tanmayjay Aug 4, 2021
7def1d4
Added routes for license
tanmayjay Aug 4, 2021
b65936f
Updated license activation process
tanmayjay Aug 4, 2021
691965f
Updated purchase details tax entry
tanmayjay Aug 5, 2021
465b335
Updated currency validation process
tanmayjay Aug 5, 2021
279eb1a
Updated csv export data management for employee
tanmayjay Aug 5, 2021
e9d0c56
Updated some restriction in validation
tanmayjay Aug 5, 2021
8df57a5
Fixed inconsistent date of birth export issue
tanmayjay Aug 5, 2021
246ede9
Updated pay rate datatype
tanmayjay Aug 5, 2021
018dd4f
Added bg process action in updates
tanmayjay Aug 5, 2021
50093a7
Updated pay rate validation
tanmayjay Aug 5, 2021
2efa32f
Updated currency validation rule
tanmayjay Aug 5, 2021
9a43b96
Added bg process for employee data migrator
tanmayjay Aug 5, 2021
3b6b87b
Added pay rate migrator bg process
tanmayjay Aug 5, 2021
a20cd4e
Added updater for 191
tanmayjay Aug 5, 2021
f9b9642
Updated array casting issue
tanmayjay Aug 5, 2021
22bab4b
Included bg process file
tanmayjay Aug 5, 2021
4728aa9
Updated installer for synced tax schema
tanmayjay Aug 8, 2021
fc1f0c1
Updated synced tax schema updater
tanmayjay Aug 8, 2021
727cd44
Fixed some undefined index issues
tanmayjay Aug 8, 2021
a201d5b
Fixed attachment issue in invoice
tanmayjay Aug 8, 2021
ee5110a
Added function to insert synced tax info
tanmayjay Aug 8, 2021
072e3e2
Updated some validation massage
tanmayjay Aug 9, 2021
d4d6f77
Fixed some minor issues
tanmayjay Aug 9, 2021
9841e04
removed some debugging codes
tanmayjay Aug 9, 2021
adb1c90
Update employee data bg process
tanmayjay Aug 10, 2021
22430cd
Fixed empty discount insert for invoices
tanmayjay Aug 10, 2021
e291e50
Added shipment_tax column
tanmayjay Aug 11, 2021
33ca0f1
Added ledgers for shipments
tanmayjay Aug 11, 2021
9471d19
Added shipping tax column in updater
tanmayjay Aug 11, 2021
bcf6ff2
Added ledger data dumper
tanmayjay Aug 11, 2021
a5e1512
Updated api for shipping ledger entry
tanmayjay Aug 11, 2021
ffbe967
Updated api for shipping tax ledger entry
tanmayjay Aug 11, 2021
b47ccee
Added shipping amount in transaction list api
tanmayjay Aug 11, 2021
441814f
Updated invoice single template to show shipping amount
tanmayjay Aug 11, 2021
09773bd
Added missiong shipping tax in api
tanmayjay Aug 11, 2021
45cdd4f
Updated tooltip for accounting employee
tanmayjay Aug 12, 2021
c93d30a
Updated employee table design in accounting
tanmayjay Aug 12, 2021
7d415c3
Fixed name issue of datepicker component
tanmayjay Aug 12, 2021
e6d7ffe
Fixed name was not inserting in accounting employee
tanmayjay Aug 12, 2021
ecabc12
Added on select trigger for agencies
tanmayjay Aug 12, 2021
2228f08
Added on select trigger for categories
tanmayjay Aug 12, 2021
68e0236
Added on select trigger for customers
tanmayjay Aug 12, 2021
6a85e5e
Removed old financial helper class
tanmayjay Aug 12, 2021
e68b35a
Updated final accounts info in trial balance
tanmayjay Aug 12, 2021
906c70c
Updated final accounts helper in reports
tanmayjay Aug 12, 2021
7445b13
Updated usage of financial year in people
tanmayjay Aug 12, 2021
6e5c8ed
Updated final accounts class info in closing balance
tanmayjay Aug 12, 2021
46d1592
Updated accounting common class
tanmayjay Aug 12, 2021
30cfc71
Added helper class for final accounts
tanmayjay Aug 13, 2021
0b7ba68
Added localized data for leave type delete
tanmayjay Jul 26, 2021
9603758
Added method to process leave type delete request
tanmayjay Jul 26, 2021
a929f8f
Added ajax action to delete leave type
tanmayjay Jul 26, 2021
dcc8632
Added processing for leave type delete
tanmayjay Jul 26, 2021
d728cfd
Updated leave type delete confirmation text
tanmayjay Jul 27, 2021
2a05a36
Added some localized variables
tanmayjay Jul 30, 2021
7f0ea72
Added ajax action to get a single leave type
tanmayjay Jul 30, 2021
a94f471
Added ajax action to update and create a leave type
tanmayjay Jul 30, 2021
63d424e
Updated insert leave policy name method
tanmayjay Jul 30, 2021
eb251af
Updated edit feature of leave type
tanmayjay Jul 30, 2021
b29864e
Update form selector of leave type
tanmayjay Jul 30, 2021
b1dbd6e
Added leave type related actions
tanmayjay Jul 30, 2021
7dd9181
Added leave policy delete option
tanmayjay Jul 30, 2021
fa4cc32
Added responsive styles for requests
tanmayjay Aug 1, 2021
ccb25dc
Added necessary scripts for leave
tanmayjay Aug 1, 2021
37f7de0
Added leave related events
tanmayjay Aug 1, 2021
c44f47f
Added method for mobile responsiveness
tanmayjay Aug 1, 2021
1a4f717
Removed unused scripts
tanmayjay Aug 1, 2021
43ea2e1
Added ajax action for leave type bulk delete
tanmayjay Aug 1, 2021
8d51a34
Added leave type actions from form handler
tanmayjay Aug 1, 2021
8632bf5
Updated leave type list table
tanmayjay Aug 1, 2021
d7db70d
Updated request page template
tanmayjay Aug 1, 2021
65eee5d
Updated policy name template
tanmayjay Aug 1, 2021
27019ea
Updated delete policy UX
tanmayjay Aug 1, 2021
3605e62
Added bulk delete process for leave type
tanmayjay Aug 2, 2021
a1b20c7
Added styling for reponsive issues
tanmayjay Aug 3, 2021
afc737c
Updated column alignment
tanmayjay Aug 3, 2021
a24978a
Updated leave policy delete ux
tanmayjay Aug 3, 2021
a80599e
Fixed some localization
tanmayjay Aug 9, 2021
283cd77
Fixed employee permanent delete was not working
tanmayjay Aug 12, 2021
ed67d59
Updated metabox design in employee single page
tanmayjay Aug 4, 2021
4c20ceb
Fixed termination widget was not showing
tanmayjay Aug 4, 2021
1bde2dc
Add More Data and Link on CRM Task Creating Email (#1273)
ManiruzzamanAkash Aug 13, 2021
a5c94b3
Side Menubar and Toolbar Menu list Hiding Enhancement (#1277)
ManiruzzamanAkash Aug 13, 2021
04d83c5
Enhance/announcement listing tab (#1281)
NAbdulla1 Aug 13, 2021
1e980ce
Email Settings Section Redesigned & Structured - Integration Mailgun …
ManiruzzamanAkash Aug 13, 2021
5b4863e
Added method to parse agency wise tax rate
tanmayjay Aug 13, 2021
25d4c24
Updated api for tax agencies update
tanmayjay Aug 13, 2021
66d7511
Updated api for tax cat update
tanmayjay Aug 13, 2021
4845bdc
Updated api for tax zone update
tanmayjay Aug 13, 2021
f7c008d
Updated tax rate create api
tanmayjay Aug 14, 2021
d525696
Updated tax rate function return data
tanmayjay Aug 14, 2021
cd5a886
Fixed insert id return issue
tanmayjay Aug 15, 2021
5fb9f29
FIxed missing tax cat column in purchase details
tanmayjay Aug 16, 2021
a78beaa
Updated schema for purchase details
tanmayjay Aug 16, 2021
f94c368
Fixed undefined index for tax amount in purchases
tanmayjay Aug 16, 2021
3a08dd5
Updated schema in data updater
tanmayjay Aug 16, 2021
a02c839
Added header colspan computed property
tanmayjay Aug 16, 2021
80b90cb
Added responsive colspan in table headers
tanmayjay Aug 16, 2021
901b16f
Added responsive colspan in table footers
tanmayjay Aug 16, 2021
98b1bd4
Fixed some issues on invoice single content component
tanmayjay Aug 16, 2021
6ea3295
Removed old updater file
tanmayjay Aug 16, 2021
d58dd95
Removed old bg process file
tanmayjay Aug 16, 2021
4118f92
Added bg process for 1100
tanmayjay Aug 16, 2021
19dceae
Added updater for 1100
tanmayjay Aug 16, 2021
189b0c6
Included bg process file
tanmayjay Aug 16, 2021
0dfd197
Added updater for 1.10.0
tanmayjay Aug 16, 2021
83f5e13
Updated version information
tanmayjay Aug 16, 2021
8edd2aa
Updated version info in settings
tanmayjay Aug 16, 2021
d791d36
Updated version info in accounting
tanmayjay Aug 16, 2021
a110f38
Updated version info in announcement
tanmayjay Aug 16, 2021
de57824
Updated version info in hrm
tanmayjay Aug 16, 2021
fef9a00
Updated bg process's memory exceed action name
tanmayjay Aug 16, 2021
b47112d
Release version 1.10.0
tanmayjay Aug 17, 2021
05df478
Merge branch 'release/1.10.0'
tanmayjay Aug 17, 2021
e7c91d2
Merge tag 'v1.10.0' into develop
tanmayjay Aug 17, 2021
942452b
Fixed user email updating issue
tanmayjay Aug 17, 2021
971bc8a
Fixed some data inconsistency for an employee
tanmayjay Sep 13, 2021
9a1e333
Fixed Department Parent Sorting Logic to fix redundant data (#1288) (…
tanmayjay Oct 8, 2021
4387969
Fix/crm (#1290)
Arif-me Oct 11, 2021
e992b14
Revert "Fix/crm (#1290)" (#1296)
tanmayjay Oct 11, 2021
353e420
Enhance/crm capabilities (#1299)
NAbdulla1 Oct 12, 2021
27742f8
Revert "Enhance/crm capabilities (#1299)" (#1300)
tanmayjay Oct 12, 2021
45867d0
Added promotional notice on halloween
tanmayjay Oct 11, 2021
f3a64ec
Removed temporary updater functionality
tanmayjay Oct 11, 2021
372fb85
Added prefix in date validation function name
tanmayjay Oct 11, 2021
20c958d
Updated date validation function
tanmayjay Oct 11, 2021
243e18d
Updated notice data
tanmayjay Oct 11, 2021
7456b9d
fixed phpass not found by updating wp-browser dependencies (#1292)
NAbdulla1 Oct 11, 2021
42a4713
Fix hrm crm acc manager import export not working (#1293)
NAbdulla1 Oct 11, 2021
c973c38
Fix/crm (#1297)
tanmayjay Oct 11, 2021
a304f96
Enhancement for CRM capabilities (#1301)
tanmayjay Oct 12, 2021
b714d68
Fixed permission issue for csv export
tanmayjay Oct 12, 2021
1b428ac
Updated permission check for import/export option
tanmayjay Oct 12, 2021
96af730
Updated permission for crm csv import
tanmayjay Oct 12, 2021
12e9195
Updated permission for company import export
tanmayjay Oct 12, 2021
98a5ce7
Release version 1.10.1
tanmayjay Oct 12, 2021
7390daa
Merge branch 'release/1.10.1'
tanmayjay Oct 12, 2021
3a33d26
Merge tag 'v1.10.1' into develop
tanmayjay Oct 12, 2021
1023e9c
Enhancement: Invoice Attachment Download Links in Print Mode or Invoi…
ManiruzzamanAkash Nov 16, 2021
377c054
Sync version 1.10.2 (#1312)
tanmayjay Nov 16, 2021
dd16b7f
Release version 1.10.2
tanmayjay Nov 16, 2021
a0db4aa
Merge branch 'release/1.10.2'
tanmayjay Nov 16, 2021
260f57b
Merge tag 'v1.10.2' into develop
tanmayjay Nov 16, 2021
139a228
Fixed undefined error on contact form settings
tanmayjay Dec 24, 2021
dbe59d1
Fixed crm settings were not being saved
tanmayjay Dec 24, 2021
a95d9d2
Added holiday promotional notice
tanmayjay Dec 21, 2021
0d88abc
Updated promotional notice
tanmayjay Dec 21, 2021
b3763b0
Fixed double entry of people in accounting on auto import (#1316)
Arif-me Dec 24, 2021
7d27398
replaced ` ` with space for input to the erp-pdf-invoice (#1317)
NAbdulla1 Dec 24, 2021
b9052ed
fixed wrong module name passed to action hook 'erp_module_after_deact…
NAbdulla1 Dec 24, 2021
84328d5
hidden Email Templates in Settings when CRM module is not active (#1313)
NAbdulla1 Dec 24, 2021
1fda78f
Enhance/separate crm agent contact caching (#1304)
NAbdulla1 Dec 24, 2021
6155112
Release version 1.10.3
tanmayjay Dec 24, 2021
1a65c40
Merge branch 'release/1.10.3'
tanmayjay Dec 24, 2021
b16eb19
Merge tag 'v1.10.3' into develop
tanmayjay Dec 24, 2021
15945c7
Fixed pagination issue on people table
tanmayjay Dec 27, 2021
0381bcc
Updated pdf generator to include currency
tanmayjay Dec 27, 2021
7007e21
Added function to format amount
tanmayjay Dec 27, 2021
27cb829
Release version 1.10.4
tanmayjay Dec 29, 2021
8dea38d
Merge branch 'release/1.10.4'
tanmayjay Dec 29, 2021
b18d55d
Merge tag 'v1.10.4' into develop
tanmayjay Dec 29, 2021
e277807
Added promotional offer notice support through api
tanmayjay Mar 15, 2022
9c648b8
Release version 1.10.5
tanmayjay Mar 15, 2022
ebc31bb
Merge branch 'release/1.10.5'
tanmayjay Mar 15, 2022
9dfb378
Merge tag 'v1.10.5' into develop
tanmayjay Mar 15, 2022
34d0637
Bump mustache/mustache from 2.13.0 to 2.14.1 (#1326)
dependabot[bot] May 23, 2022
2b0b309
Fix: sanitization, escaping, and other necessary permissions (#1338)
tanmayjay May 23, 2022
8e18578
Release version 1.10.6
tanmayjay May 24, 2022
1816fa8
Merge branch 'release/1.10.6'
tanmayjay May 24, 2022
10196ab
Merge tag 'v1.10.6' into develop
tanmayjay May 24, 2022
a4c9125
Removed symphony var dumper package
tanmayjay May 24, 2022
0bdd9e5
Improved sanitizations and securities
tanmayjay May 25, 2022
f094e68
fix: Fixed escaping and translation issues (#1342)
ManiruzzamanAkash May 25, 2022
043c95b
Fixed attachments upload issue
tanmayjay May 25, 2022
d077711
Fixed invoice attachment issue
tanmayjay May 25, 2022
c5e7397
Fixed some warnings
tanmayjay May 25, 2022
5f9db8a
Updated error handling for invoice creation
tanmayjay May 25, 2022
0c8c0c1
Updated some coding standard
tanmayjay May 25, 2022
606aa56
Fixed accounting top transaction menu links
tanmayjay May 26, 2022
5604cad
Fixed people routing issues
tanmayjay May 26, 2022
5097753
Fixed trial balance aopi issue
tanmayjay May 26, 2022
e6e2161
Fixed some escaping usage
tanmayjay May 26, 2022
1bc0900
Update Chart JS libraries and Fix some Issues (#1345)
ManiruzzamanAkash May 26, 2022
600b44c
Updated some cs
tanmayjay May 26, 2022
62b69c9
Merge branch 'develop' of https://github.com/wp-erp/wp-erp into develop
tanmayjay May 26, 2022
6d00d6c
Enqueued chart js library
tanmayjay May 26, 2022
ac6721a
Fixed some issues
tanmayjay May 26, 2022
f2dbe46
Updated some packages
tanmayjay May 26, 2022
deda013
Fixed some minor issues (#1348)
tanmayjay May 26, 2022
dafa78a
fix: Fixed undefined title and description issues on base layout (#1347)
ManiruzzamanAkash May 26, 2022
c894bab
Fixed some issues
tanmayjay May 27, 2022
7dd440b
Fixed some phpcs issues
tanmayjay May 28, 2022
f864f67
Updated promotional notice processing
tanmayjay Jun 2, 2022
2e36048
Updated readme file to refer promotional api
tanmayjay Jun 2, 2022
c22001a
Fix: ERP reset issues (#1337)
tanmayjay Jun 10, 2022
0194a67
Fix: IMAP issues (#1333)
tanmayjay Jun 10, 2022
d19659a
Updated some table schemas
tanmayjay Apr 8, 2022
908a676
Added fraction support for quantity
tanmayjay Apr 8, 2022
27d6f49
Updated updater file version info
tanmayjay Jun 9, 2022
de52f12
fixed contact life-stage 2nd row not clickable on contact listing and…
NAbdulla1 Jun 10, 2022
30936f6
fixed empty value field problem if multiple gravity-form field map to…
NAbdulla1 Jun 10, 2022
202ddee
checked if CRM module is active inside `erp_get_peoples` function (#1…
NAbdulla1 Jun 10, 2022
3c29c91
Fix/transactions filter not loading all people customer vendor (#1328)
NAbdulla1 Jun 10, 2022
b976fe6
Fix/acc customer vendor csv sample download not working (#1329)
NAbdulla1 Jun 14, 2022
4d381cc
Fix/crm contact schedule different timezone issue (#1322)
NAbdulla1 Jun 14, 2022
aa73270
Feature/mailchimp autosync (#1332)
NAbdulla1 Jun 14, 2022
45d4cc9
fix/crm-lifestage-non-english-char-problem (#1334)
NAbdulla1 Jun 14, 2022
44db8e5
Updated npm packages for compatibility (#1336)
tanmayjay Jun 14, 2022
9b9f042
Updated some version info
tanmayjay Jun 14, 2022
3764a00
fix lifestage with non-english character can't be assigned to contact…
NAbdulla1 Jun 14, 2022
0888f8c
Release version 1.11.0
tanmayjay Jun 15, 2022
702a9f5
Merge branch 'release/1.11.0'
tanmayjay Jun 15, 2022
ec8815a
Merge tag 'v1.11.0' into develop
tanmayjay Jun 15, 2022
a533b30
erp hr frontend to spanish
johnfelipe Jun 28, 2022
bfb31a0
deals to spanish
johnfelipe Jun 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
WP_ROOT_FOLDER="/Applications/MAMP/htdocs/erp"
WP_ADMIN_PATH="/wp-admin"
DB_NAME="wptests"
DB_HOST="localhost:8889"
DB_USER="root"
DB_PASSWORD="1111"
TABLE_PREFIX="wp_"
TEST_DB_NAME="wptests"
TEST_DB_HOST="localhost:8889"
TEST_DB_USER="root"
TEST_DB_PASSWORD="1111"
TEST_TABLE_PREFIX="wp_"
WP_URL="http://localhost:8888/erp/"
WP_DOMAIN="example.com"
ADMIN_EMAIL="admin@example.com"
ADMIN_USERNAME="admin"
ADMIN_PASSWORD="admin"
17 changes: 17 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
WP_ROOT_FOLDER="/Applications/MAMP/htdocs/erp"
WP_ADMIN_PATH="/wp-admin"
DB_NAME="wptests"
DB_HOST="localhost:8889"
DB_USER="root"
DB_PASSWORD="1111"
TABLE_PREFIX="wp_"
TEST_DB_NAME="wptests"
TEST_DB_HOST="localhost:8889"
TEST_DB_USER="root"
TEST_DB_PASSWORD="1111"
TEST_TABLE_PREFIX="wp_"
WP_URL="http://localhost:8888/erp/"
WP_DOMAIN="example.com"
ADMIN_EMAIL="admin@example.com"
ADMIN_USERNAME="admin"
ADMIN_PASSWORD="admin"
39 changes: 39 additions & 0 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
on: pull_request

name: Inspections
jobs:
runPHPCSInspection:
name: Run PHPCS inspection
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.3"
coverage: none
tools: composer, cs2pr

- name: Get Composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Setup cache
uses: pat-s/always-upload-cache@v1.1.4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer install --prefer-dist --no-suggest --no-progress

- id: changes
run: |
URL="https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files"
FILES=$(curl -s -X GET -G $URL | jq -r '.[] | .filename' | xargs)
echo "::set-output name=files::$FILES"

- name: Detect coding standard violations
run: vendor/bin/phpcs ${{ steps.changes.outputs.files }} -q --report=checkstyle | cs2pr --graceful-warnings
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config.codekit
.idea
.codekit-cache
# Composer
/vendor/
node_modules
build
Expand All @@ -9,3 +10,5 @@ nbproject
debug.log
.netbeans.xml
plugin-deploy.sh
.env
phpcs-report.txt
25 changes: 25 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

require_once __DIR__ . '/vendor/tareq1988/wp-php-cs-fixer/loader.php';

$finder = PhpCsFixer\Finder::create()
->exclude( 'node_modules' )
->exclude( 'vendors' )
->exclude( 'assets' )
->exclude( 'i18n' )
->exclude( 'bin' )
->in( __DIR__ )
;

$config = PhpCsFixer\Config::create()
->registerCustomFixers( [
new WeDevs\Fixer\SpaceInsideParenthesisFixer(),
new WeDevs\Fixer\BlankLineAfterClassOpeningFixer(),
] )
->setRiskyAllowed( true )
->setUsingCache( false )
->setRules( WeDevs\Fixer\Fixer::rules() )
->setFinder( $finder )
;

return $config;
6 changes: 5 additions & 1 deletion .svnignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ composer.lock
package.json
debug.log
plugin-deploy.sh
vendor/composer/autoload_static.php
.editorconfig
.gitignore
.github
package-lock.json
.svnignore
112 changes: 71 additions & 41 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ module.exports = function(grunt) {
},

// Compile all .less files.
less: {
admin: {
less: {admin: {
files: {
'<%= dirs.css %>/admin.css': '<%= dirs.less %>/admin/admin.less',
'<%= dirs.css %>/setup.css': '<%= dirs.less %>/admin/setup.less',
'<%= dirs.css %>/accounting.css': '<%= dirs.less %>/admin/accounting.less'
'<%= dirs.css %>/setup.css': '<%= dirs.less %>/admin/setup.less'
}
},

Expand All @@ -38,14 +36,15 @@ module.exports = function(grunt) {
'<%= dirs.js %>/jquery-popup.min.js': ['<%= dirs.js %>/jquery-popup.js'],
'<%= dirs.js %>/settings.min.js': ['<%= dirs.js %>/settings.js'],
'<%= dirs.js %>/upload.min.js': ['<%= dirs.js %>/upload.js'],
'<%= dirs.js %>/system-status.min.js': ['<%= dirs.js %>/system-status.js'],
'<%= dirs.js %>/erp-all.min.js': [
'<%= dirs.js %>/erp.min.js',
'<%= dirs.js %>/jquery-popup.min.js',
'<%= dirs.js %>/settings.min.js',
'<%= dirs.js %>/upload.min.js',
'<%= dirs.js %>/upload.min.js'
],
'<%= dirs.hrmJS %>/hrm.min.js': ['<%= dirs.hrmJS %>/hrm.js'],
'<%= dirs.hrmJS %>/leave.min.js': ['<%= dirs.hrmJS %>/leave.js'],
'<%= dirs.hrmJS %>/leave.min.js': ['<%= dirs.hrmJS %>/leave.js']
}
}
},
Expand All @@ -57,26 +56,10 @@ module.exports = function(grunt) {
all: [
'Gruntfile.js',
'<%= dirs.js %>/*.js',
'!<%= dirs.js %>/*.min.js',
'!<%= dirs.js %>/*.min.js'
]
},

// Generate POT files.
makepot: {
target: {
options: {
exclude: ['build/.*', 'node_modules/*', 'assets/*'],
domainPath: '/i18n/languages/', // Where to save the POT file.
potFilename: 'wp-erp.pot', // Name of the POT file.
type: 'wp-plugin', // Type of project (wp-plugin or wp-theme).
potHeaders: {
'report-msgid-bugs-to': 'http://wperp.com/support/',
'language-team': 'LANGUAGE <EMAIL@ADDRESS>'
}
}
}
},

watch: {
less: {
files: [
Expand All @@ -92,7 +75,7 @@ module.exports = function(grunt) {
js: {
files: [
'<%= dirs.js %>/*',
'<%= dirs.hrmJS %>/*',
'<%= dirs.hrmJS %>/*'
],
tasks: ['uglify']
}
Expand All @@ -116,6 +99,7 @@ module.exports = function(grunt) {
'!.git/**',
'!Gruntfile.js',
'!package.json',
'!package-lock.json',
'!composer.json',
'!composer.lock',
'!debug.log',
Expand All @@ -131,13 +115,24 @@ module.exports = function(grunt) {
'!tests/**',
'!README.md',
'!CONTRIBUTING.md',
'!**/*~'
'!**/*~',
'!phpcs.xml',
'!.env',
'!.env.example',
'!codeception.yml',
'!eslintrc.js',
'!webpack.config.js',
'!modules/accounting/assets/less/**',
'!modules/accounting/assets/src/**',
'!vendor/google/apiclient-services/src/Google/Service/**',
'vendor/google/apiclient-services/src/Google/Service/Gmail.php',
'vendor/google/apiclient-services/src/Google/Service/Gmail/**'
],
dest: 'build/'
}
},

//Compress build directory into <name>.zip and <name>-<version>.zip
// Compress build directory into <name>.zip and <name>-<version>.zip
compress: {
main: {
options: {
Expand All @@ -151,30 +146,65 @@ module.exports = function(grunt) {
}
},

run: {
options: {},

reset: {
cmd: 'npm',
args: ['run', 'build']
},

makepot: {
cmd: 'npm',
args: ['run', 'makepot']
},

removeDev: {
cmd: 'composer',
args: ['install', '--no-dev']
},

dumpautoload: {
cmd: 'composer',
args: ['dump-autoload', '-o']
},

composerInstall: {
cmd: 'composer',
args: ['install']
}
}

});

// Load NPM tasks to be used here
grunt.loadNpmTasks( 'grunt-contrib-less' );
grunt.loadNpmTasks( 'grunt-contrib-concat' );
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
grunt.loadNpmTasks( 'grunt-wp-i18n' );
grunt.loadNpmTasks( 'grunt-contrib-uglify' );
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-contrib-clean' );
grunt.loadNpmTasks( 'grunt-contrib-copy' );
grunt.loadNpmTasks( 'grunt-contrib-compress' );
grunt.loadNpmTasks( 'grunt-text-replace' );
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-compress');
grunt.loadNpmTasks('grunt-run');

grunt.registerTask('default', [
'less', 'uglify'
]);

grunt.registerTask( 'release', [
'makepot',
'uglify',
grunt.registerTask('release', [
'uglify'
]);

grunt.registerTask( 'zip', [
'clean', 'copy', 'compress'
grunt.registerTask('zip', [
'clean',
'run:reset',
'run:makepot',
'run:removeDev',
'run:dumpautoload',
'copy',
'compress',
'run:composerInstall',
'run:dumpautoload'
]);
};
65 changes: 31 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,51 +4,48 @@ An open-source ERP (Enterprise Resource Planning) solution for WordPress. View [

## Core Components

* HRM - Human Resource Management
* CRM - Customer Relationship Management
* Accounting - Double Entry Accounting
- HRM - Human Resource Management
- CRM - Customer Relationship Management
- Accounting - Double Entry Accounting

## Other Components

* [Project Management](https://wedevs.com/wp-project-manager-pro/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=WP+Project+Manager)
- [Project Management](https://wedevs.com/wp-project-manager-pro/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=WP+Project+Manager)

## Available Add-ons

* [Custom Field Builder](https://wperp.com/downloads/custom-field-builder/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=custom+field+builder)
* [Employee Recruitment](https://wperp.com/downloads/recruitment/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=recruitment)
* [Document Manager](https://wperp.com/downloads/document-manager/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=document+manager)
* [Payroll](https://wperp.com/downloads/payroll/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=payroll)
* [Attendance Management](https://wperp.com/downloads/attendance/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=attendance)
* [Payment Gateway](https://wperp.com/downloads/payment-gateway/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=payment+gateway)
* [HR Frontend](https://wperp.com/downloads/hr-frontend/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=hr-frontend)
* [WooCommerce Integration](https://wperp.com/downloads/woocommerce/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=woocommerce)
* [Email Campaign](https://wperp.com/downloads/wp-erp-email-campaign/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=wp+erp+email+campaign)
* [Deals](https://wperp.com/downloads/deals/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=deals)
* [Workflow](https://wperp.com/downloads/workflow/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=workflow)
* [Reimbursement](https://wperp.com/downloads/reimbursement/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=reimbursement)
* [Inventory](https://wperp.com/downloads/inventory/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=inventory)
* [SMS Notification](https://wperp.com/downloads/sms-notification/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=sms+notification)
* [Asset Manager](https://wperp.com/downloads/asset-manager/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=asset+manager)
* [Gravity Forms](https://wperp.com/downloads/crm-gravity-forms/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=crm+gravity+forms)
* [Salesforce Contacts Sync](https://wperp.com/downloads/salesforce-contact-sync/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=salesforce+contact+sync)
* [Hubspot Contacts Sync](https://wperp.com/downloads/hubspot-contacts-sync/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=hubspot+contacts+sync)
* [Mailchimp Contacts Sync](https://wperp.com/downloads/mailchimp-contacts-sync/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=mailchimp+contacts+sync)
- [Custom Field Builder](https://wperp.com/downloads/custom-field-builder/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=custom+field+builder)
- [Employee Recruitment](https://wperp.com/downloads/recruitment/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=recruitment)
- [Document Manager](https://wperp.com/downloads/document-manager/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=document+manager)
- [Payroll](https://wperp.com/downloads/payroll/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=payroll)
- [Attendance Management](https://wperp.com/downloads/attendance/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=attendance)
- [Payment Gateway](https://wperp.com/downloads/payment-gateway/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=payment+gateway)
- [HR Frontend](https://wperp.com/downloads/hr-frontend/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=hr-frontend)
- [WooCommerce Integration](https://wperp.com/downloads/woocommerce/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=woocommerce)
- [Email Campaign](https://wperp.com/downloads/wp-erp-email-campaign/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=wp+erp+email+campaign)
- [Deals](https://wperp.com/downloads/deals/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=deals)
- [Workflow](https://wperp.com/downloads/workflow/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=workflow)
- [Reimbursement](https://wperp.com/downloads/reimbursement/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=reimbursement)
- [Inventory](https://wperp.com/downloads/inventory/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=inventory)
- [SMS Notification](https://wperp.com/downloads/sms-notification/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=sms+notification)
- [Asset Manager](https://wperp.com/downloads/asset-manager/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=asset+manager)
- [Gravity Forms](https://wperp.com/downloads/crm-gravity-forms/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=crm+gravity+forms)
- [Salesforce Contacts Sync](https://wperp.com/downloads/salesforce-contact-sync/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=salesforce+contact+sync)
- [Hubspot Contacts Sync](https://wperp.com/downloads/hubspot-contacts-sync/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=hubspot+contacts+sync)
- [Mailchimp Contacts Sync](https://wperp.com/downloads/mailchimp-contacts-sync/?utm_medium=referral&utm_source=github&utm_campaign=WP+ERP+Readme&utm_content=mailchimp+contacts+sync)

## Minimum Requirement
- PHP 5.6
- WordPress 4.4+

## Installation
- PHP 5.6
- WordPress 4.4+

* Clone the repository inside `/wp-content/plugins/`
* CD into folder `cd wp-erp` and run `composer install`
* Lastly run `composer dump-autoload -o`
## Installation

- Clone the repository inside `/wp-content/plugins/`
- CD into folder `cd wp-erp` and run `composer install` and then `composer dump-autoload -o`
- Lastly run `npm install` and then `npm run build`
- Activate the plugin

## Who's behind?

* Project Lead: [Tareq Hasan](https://github.com/tareq1988)
* Core Developers: [Edi Amin](https://github.com/ediamin), [Sultan Nasir Uddin](https://github.com/sultann)
* Contributors: [Shawon Chowdhury](https://github.com/shawon786) and [List of Contributors](https://github.com/wp-erp/wp-erp/graphs/contributors)

An open-source project by [weDevs](https://wedevs.com/?utm_source=github&utm_medium=credit&utm_term=opensource&utm_content=wperp&utm_campaign=product)
An open-source project by [weDevs](https://wedevs.com/?utm_source=github&utm_medium=credit&utm_term=opensource&utm_content=wperp&utm_campaign=product), contributed by a bunch of [people](https://github.com/wp-erp/wp-erp/graphs/contributors).
Loading