├── public ├── vendor │ ├── datatables-editor │ │ ├── css │ │ │ ├── dataTables.editor.css │ │ │ └── scss │ │ │ │ ├── inline.scss │ │ │ │ ├── processing.scss │ │ │ │ ├── envelope.scss │ │ │ │ ├── upload.scss │ │ │ │ ├── datatable.scss │ │ │ │ ├── bubble.scss │ │ │ │ ├── fields.scss │ │ │ │ ├── lightbox.scss │ │ │ │ └── main.scss │ │ └── js │ │ │ ├── editor.jqueryui.min.js │ │ │ ├── editor.foundation.min.js │ │ │ ├── editor.semanticui.min.js │ │ │ ├── editor.bootstrap.min.js │ │ │ ├── editor.bootstrap4.min.js │ │ │ ├── editor.jqueryui.js │ │ │ └── editor.foundation.js │ ├── font-awesome │ │ ├── less │ │ │ ├── extras.less │ │ │ ├── screen-reader.less │ │ │ ├── fixed-width.less │ │ │ ├── larger.less │ │ │ ├── list.less │ │ │ ├── core.less │ │ │ ├── stacked.less │ │ │ ├── font-awesome.less │ │ │ ├── bordered-pulled.less │ │ │ ├── spinning.less │ │ │ ├── rotated-flipped.less │ │ │ ├── path.less │ │ │ ├── animated.less │ │ │ └── mixins.less │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── scss │ │ │ ├── _fixed-width.scss │ │ │ ├── _screen-reader.scss │ │ │ ├── _larger.scss │ │ │ ├── _list.scss │ │ │ ├── _core.scss │ │ │ ├── font-awesome.scss │ │ │ ├── _stacked.scss │ │ │ ├── _bordered-pulled.scss │ │ │ ├── _spinning.scss │ │ │ ├── _rotated-flipped.scss │ │ │ ├── _path.scss │ │ │ ├── _animated.scss │ │ │ ├── _extras.scss │ │ │ └── _mixins.scss │ │ └── HELP-US-OUT.txt │ ├── images │ │ ├── favicon.ico │ │ ├── sort_asc.png │ │ ├── sort_both.png │ │ ├── sort_desc.png │ │ ├── Sorting icons.psd │ │ ├── sort_asc_disabled.png │ │ └── sort_desc_disabled.png │ ├── datatables │ │ ├── images │ │ │ ├── favicon.ico │ │ │ ├── sort_asc.png │ │ │ ├── sort_both.png │ │ │ ├── sort_desc.png │ │ │ ├── Sorting icons.psd │ │ │ ├── sort_asc_disabled.png │ │ │ └── sort_desc_disabled.png │ │ ├── js │ │ │ ├── dataTables.bootstrap.min.js │ │ │ ├── dataTables.bootstrap4.min.js │ │ │ ├── dataTables.foundation.min.js │ │ │ ├── dataTables.material.min.js │ │ │ ├── dataTables.semanticui.min.js │ │ │ ├── dataTables.uikit.min.js │ │ │ └── dataTables.jqueryui.min.js │ │ └── css │ │ │ ├── dataTables.material.min.css │ │ │ ├── dataTables.foundation.min.css │ │ │ ├── dataTables.semanticui.min.css │ │ │ ├── dataTables.material.css │ │ │ ├── dataTables.uikit.min.css │ │ │ ├── dataTables.semanticui.css │ │ │ ├── dataTables.foundation.css │ │ │ ├── dataTables.bootstrap.min.css │ │ │ └── dataTables.uikit.css │ ├── bootstrap │ │ └── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ ├── morrisjs │ │ └── morris.css │ ├── metisMenu │ │ ├── metisMenu.min.css │ │ ├── metisMenu.css │ │ ├── metisMenu.min.js │ │ └── metisMenu.js │ ├── datatables-plugins │ │ ├── dataTables.bootstrap.min.js │ │ └── select.bootstrap.min.css │ ├── flot │ │ ├── jquery.flot.symbol.js │ │ └── jquery.flot.resize.js │ ├── datatables-responsive │ │ ├── dataTables.responsive.scss │ │ └── dataTables.responsive.css │ └── bootstrap-social │ │ ├── bootstrap-social.less │ │ └── bootstrap-social.scss ├── dist │ ├── favicon-32x32.png │ └── js │ │ ├── work.min.js │ │ └── work.js ├── index.php └── .htaccess ├── controllers ├── HomeController.php ├── ProfileController.php ├── Controller.php ├── TableController.php ├── LoginController.php ├── ProductController.php └── RateController.php ├── views ├── components │ ├── header.php │ ├── top-links.php │ └── menu.php ├── errors │ └── 404.php ├── table.php ├── auth │ └── login.php └── layouts │ ├── error.php │ └── app.php ├── model ├── Model.php ├── Product.php ├── Customer.php ├── Employee.php ├── Merchant.php ├── Rate.php ├── ItemsSold.php ├── Transaction.php ├── Stock.php └── User.php ├── routes ├── Route.php ├── ValidateRoutes.php └── WebRoutes.php ├── helpers ├── Auth.php ├── ActivitySummary.php └── ValidateParams.php ├── bootstrap └── app.php └── README.md /public/vendor/datatables-editor/css/dataTables.editor.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/vendor/font-awesome/less/extras.less: -------------------------------------------------------------------------------- 1 | // Extras 2 | // -------------------------- 3 | -------------------------------------------------------------------------------- /public/dist/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/dist/favicon-32x32.png -------------------------------------------------------------------------------- /public/vendor/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/images/favicon.ico -------------------------------------------------------------------------------- /public/vendor/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/images/sort_asc.png -------------------------------------------------------------------------------- /public/vendor/images/sort_both.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/images/sort_both.png -------------------------------------------------------------------------------- /public/vendor/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/images/sort_desc.png -------------------------------------------------------------------------------- /public/vendor/images/Sorting icons.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/images/Sorting icons.psd -------------------------------------------------------------------------------- /public/vendor/images/sort_asc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/images/sort_asc_disabled.png -------------------------------------------------------------------------------- /public/vendor/datatables/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/datatables/images/favicon.ico -------------------------------------------------------------------------------- /public/vendor/datatables/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/datatables/images/sort_asc.png -------------------------------------------------------------------------------- /public/vendor/images/sort_desc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/images/sort_desc_disabled.png -------------------------------------------------------------------------------- /public/vendor/datatables/images/sort_both.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/datatables/images/sort_both.png -------------------------------------------------------------------------------- /public/vendor/datatables/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/datatables/images/sort_desc.png -------------------------------------------------------------------------------- /public/vendor/datatables/images/Sorting icons.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/datatables/images/Sorting icons.psd -------------------------------------------------------------------------------- /public/vendor/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /public/vendor/datatables/images/sort_asc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/datatables/images/sort_asc_disabled.png -------------------------------------------------------------------------------- /public/vendor/datatables/images/sort_desc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/datatables/images/sort_desc_disabled.png -------------------------------------------------------------------------------- /public/vendor/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /public/vendor/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /public/vendor/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /public/vendor/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /public/vendor/font-awesome/less/screen-reader.less: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { .sr-only(); } 5 | .sr-only-focusable { .sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /public/vendor/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /public/vendor/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxxorsid/stock-management-system/HEAD/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /public/vendor/font-awesome/scss/_screen-reader.scss: -------------------------------------------------------------------------------- 1 | // Screen Readers 2 | // ------------------------- 3 | 4 | .sr-only { @include sr-only(); } 5 | .sr-only-focusable { @include sr-only-focusable(); } 6 | -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | start(); -------------------------------------------------------------------------------- /public/vendor/font-awesome/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /controllers/HomeController.php: -------------------------------------------------------------------------------- 1 | 2 | 8 | Jewellery Financial Accounting 9 | 10 | -------------------------------------------------------------------------------- /public/vendor/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /public/vendor/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /model/Model.php: -------------------------------------------------------------------------------- 1 | conn = new mysqli($servername, $username, $password, $dbname); 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /routes/Route.php: -------------------------------------------------------------------------------- 1 | 0?this.window.innerWidth:this.screen.width;n<768?($("div.navbar-collapse").addClass("collapse"),i=100):$("div.navbar-collapse").removeClass("collapse");var e=(this.window.innerHeight>0?this.window.innerHeight:this.screen.height)-1;e-=i,e<1&&(e=1),e>i&&$("#page-wrapper").css("min-height",e+"px")});for(var i=window.location,n=$("ul.nav a").filter(function(){return this.href==i}).addClass("active").parent();;){if(!n.is("li"))break;n=n.parent().addClass("in").parent()}}); -------------------------------------------------------------------------------- /public/vendor/font-awesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /public/vendor/font-awesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | @import "screen-reader.less"; 19 | -------------------------------------------------------------------------------- /helpers/ActivitySummary.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Redirect Trailing Slashes If Not A Folder... 9 | RewriteCond %{REQUEST_FILENAME} !-d 10 | RewriteRule ^(.*)/$ /$1 [L,R=301] 11 | 12 | # Handle Front Controller... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_FILENAME} !-f 15 | RewriteRule ^ index.php [L] 16 | 17 | # Handle Authorization Header 18 | RewriteCond %{HTTP:Authorization} . 19 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 20 | 21 | -------------------------------------------------------------------------------- /controllers/Controller.php: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /public/vendor/font-awesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /public/vendor/metisMenu/metisMenu.min.css: -------------------------------------------------------------------------------- 1 | /* 2 | * metismenu - v1.1.3 3 | * Easy menu jQuery plugin for Twitter Bootstrap 3 4 | * https://github.com/onokumus/metisMenu 5 | * 6 | * Made by Osman Nuri Okumus 7 | * Under MIT License 8 | */ 9 | 10 | .arrow{float:right;line-height:1.42857}.glyphicon.arrow:before{content:"\e079"}.active>a>.glyphicon.arrow:before{content:"\e114"}.fa.arrow:before{content:"\f104"}.active>a>.fa.arrow:before{content:"\f107"}.plus-times{float:right}.fa.plus-times:before{content:"\f067"}.active>a>.fa.plus-times{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.plus-minus{float:right}.fa.plus-minus:before{content:"\f067"}.active>a>.fa.plus-minus:before{content:"\f068"} -------------------------------------------------------------------------------- /public/vendor/font-awesome/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /public/vendor/font-awesome/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /public/vendor/font-awesome/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /public/vendor/font-awesome/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /views/errors/404.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |

6 | Oops!

7 |

8 | 404 Not Found

9 |
10 | Sorry, an error has occured, Requested page not found! 11 |
12 | 18 |
19 |
20 |
21 |
22 | 23 | -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |

5 |
6 | 7 |
8 | 9 |
10 |
11 |
12 |
13 | 14 |
15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 |
25 | 26 |
27 | 28 |
29 | 30 |
31 | -------------------------------------------------------------------------------- /controllers/TableController.php: -------------------------------------------------------------------------------- 1 | count(); 19 | $transactions = new Transaction(); 20 | $transactions = $transactions->count(); 21 | $employees = new Employee(); 22 | $employees = $employees->count(); 23 | $sold_items = new ItemsSold(); 24 | $sold_items = $sold_items->count(); 25 | $data['data'] = ['employees' => $employees, 'customers' => $customers, 'transactions' => $transactions, 'items_sold' => $sold_items]; 26 | header('Content-type: application/json'); 27 | echo json_encode($data); 28 | 29 | } 30 | } -------------------------------------------------------------------------------- /public/vendor/metisMenu/metisMenu.css: -------------------------------------------------------------------------------- 1 | /* 2 | * metismenu - v1.1.3 3 | * Easy menu jQuery plugin for Twitter Bootstrap 3 4 | * https://github.com/onokumus/metisMenu 5 | * 6 | * Made by Osman Nuri Okumus 7 | * Under MIT License 8 | */ 9 | .arrow { 10 | float: right; 11 | line-height: 1.42857; 12 | } 13 | 14 | .glyphicon.arrow:before { 15 | content: "\e079"; 16 | } 17 | 18 | .active > a > .glyphicon.arrow:before { 19 | content: "\e114"; 20 | } 21 | 22 | 23 | /* 24 | * Require Font-Awesome 25 | * http://fortawesome.github.io/Font-Awesome/ 26 | */ 27 | 28 | 29 | .fa.arrow:before { 30 | content: "\f104"; 31 | } 32 | 33 | .active > a > .fa.arrow:before { 34 | content: "\f107"; 35 | } 36 | 37 | .plus-times { 38 | float: right; 39 | } 40 | 41 | .fa.plus-times:before { 42 | content: "\f067"; 43 | } 44 | 45 | .active > a > .fa.plus-times { 46 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); 47 | -webkit-transform: rotate(45deg); 48 | -moz-transform: rotate(45deg); 49 | -ms-transform: rotate(45deg); 50 | -o-transform: rotate(45deg); 51 | transform: rotate(45deg); 52 | } 53 | 54 | .plus-minus { 55 | float: right; 56 | } 57 | 58 | .fa.plus-minus:before { 59 | content: "\f067"; 60 | } 61 | 62 | .active > a > .fa.plus-minus:before { 63 | content: "\f068"; 64 | } -------------------------------------------------------------------------------- /public/vendor/font-awesome/scss/_extras.scss: -------------------------------------------------------------------------------- 1 | /* EXTRAS 2 | * -------------------------- */ 3 | 4 | /* Stacked and layered icon */ 5 | 6 | /* Animated rotating icon */ 7 | .#{$fa-css-prefix}-spin { 8 | -webkit-animation: spin 2s infinite linear; 9 | -moz-animation: spin 2s infinite linear; 10 | -o-animation: spin 2s infinite linear; 11 | animation: spin 2s infinite linear; 12 | } 13 | 14 | @-moz-keyframes spin { 15 | 0% { -moz-transform: rotate(0deg); } 16 | 100% { -moz-transform: rotate(359deg); } 17 | } 18 | @-webkit-keyframes spin { 19 | 0% { -webkit-transform: rotate(0deg); } 20 | 100% { -webkit-transform: rotate(359deg); } 21 | } 22 | @-o-keyframes spin { 23 | 0% { -o-transform: rotate(0deg); } 24 | 100% { -o-transform: rotate(359deg); } 25 | } 26 | @-ms-keyframes spin { 27 | 0% { -ms-transform: rotate(0deg); } 28 | 100% { -ms-transform: rotate(359deg); } 29 | } 30 | @keyframes spin { 31 | 0% { transform: rotate(0deg); } 32 | 100% { transform: rotate(359deg); } 33 | } 34 | 35 | 36 | // Icon rotations & flipping 37 | // ------------------------- 38 | 39 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 40 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 41 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 42 | 43 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 44 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 45 | -------------------------------------------------------------------------------- /routes/ValidateRoutes.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 30 |
31 |
32 | 33 | 34 | -------------------------------------------------------------------------------- /public/vendor/datatables-editor/css/scss/inline.scss: -------------------------------------------------------------------------------- 1 | 2 | // Inline form editing 3 | // Hide the label and allow the field to take the full width 4 | div.DTE_Inline { 5 | position: relative; 6 | display: table; 7 | width: 100%; 8 | 9 | div.DTE_Inline_Field, 10 | div.DTE_Inline_Buttons { 11 | display: table-cell; 12 | vertical-align: middle; 13 | 14 | div.DTE_Field { 15 | padding: 0; 16 | 17 | >label { 18 | display: none; 19 | } 20 | 21 | input { 22 | width: 100%; 23 | } 24 | } 25 | 26 | div.DTE_Form_Buttons button { 27 | margin: -6px 0 -6px 4px; 28 | padding: 5px; 29 | } 30 | } 31 | 32 | // Have the input types take up full space, taking into account the cell padding 33 | div.DTE_Field input[type="color"], 34 | div.DTE_Field input[type="date"], 35 | div.DTE_Field input[type="datetime"], 36 | div.DTE_Field input[type="datetime-local"], 37 | div.DTE_Field input[type="email"], 38 | div.DTE_Field input[type="month"], 39 | div.DTE_Field input[type="number"], 40 | div.DTE_Field input[type="password"], 41 | div.DTE_Field input[type="search"], 42 | div.DTE_Field input[type="tel"], 43 | div.DTE_Field input[type="text"], 44 | div.DTE_Field input[type="time"], 45 | div.DTE_Field input[type="url"], 46 | div.DTE_Field input[type="week"] { 47 | margin: -6px 0; 48 | } 49 | 50 | div.DTE_Field_Error, 51 | div.DTE_Form_Error { 52 | font-size: 11px; 53 | line-height: 1.2em; 54 | padding: 0; 55 | margin-top: 10px; 56 | 57 | &:empty { 58 | margin-top: 0; 59 | } 60 | } 61 | } 62 | 63 | // Responsive integration 64 | span.dtr-data div.DTE_Inline { 65 | display: inline-table; 66 | } -------------------------------------------------------------------------------- /public/vendor/datatables-editor/js/editor.jqueryui.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | jQuery UI integration for DataTables' Editor 3 | ©2015 SpryMedia Ltd - datatables.net/license 4 | */ 5 | (function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net-jqui","datatables.net-editor"],function(c){return b(c,window,document)}):"object"===typeof exports?module.exports=function(c,a){c||(c=window);if(!a||!a.fn.dataTable)a=require("datatables.net-jqui")(c,a).$;a.fn.dataTable.Editor||require("datatables.net-editor")(c,a);return b(a,c,c.document)}:b(jQuery,window,document)})(function(b){var c=b.fn.dataTable,a=c.Editor,e=!1;a.defaults.display="jqueryui";b.extend(!0,b.fn.dataTable.Editor.classes, 6 | {form:{button:"btn ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"}});a.display.jqueryui=b.extend(!0,{},a.models.displayController,{init:function(d){d.__dialouge=b("
").css("display","none").appendTo("body").dialog(b.extend(true,a.display.jqueryui.modalOptions,{autoOpen:false,buttons:{A:function(){}},closeOnEscape:false}));b(d.__dialouge).on("dialogclose",function(){e||d.close()});return a.display.jqueryui},open:function(d,a,c){d.__dialouge.append(a).dialog("open");b(d.dom.formError).appendTo(d.__dialouge.parent().find("div.ui-dialog-buttonpane")); 7 | d.__dialouge.parent().find(".ui-dialog-title").html(d.dom.header.innerHTML);d.__dialouge.parent().addClass("DTED");a=b(d.dom.buttons).children().addClass("ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only").each(function(){b(this).wrapInner('')});d.__dialouge.parent().find("div.ui-dialog-buttonset").empty().append(a.parent());c&&c()},close:function(a,b){if(a.__dialouge){e=true;a.__dialouge.dialog("close");e=false}b&&b()},node:function(a){return a.__dialouge[0]}, 8 | captureFocus:!1});a.display.jqueryui.modalOptions={width:600,modal:!0};return c.Editor}); 9 | -------------------------------------------------------------------------------- /views/components/menu.php: -------------------------------------------------------------------------------- 1 | 2 |