This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Khi log 1 object nếu object có quá nhiều cấp sẽ hiển thị không đủ thông tin [Array]... | |
| * Sử dung cách convert sang String sẽ giúp xem được hết thông tin | |
| */ | |
| console.log(JSON.stringify(results, null, 4)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.dataTable = $this.dtOptions = $this.DTOptionsBuilder.newOptions() | |
| .withOption('ajax', { | |
| url :'order/datatables', | |
| type:'GET', | |
| data:function(data){ | |
| if(angular.isDate($this.date.start)){ | |
| data.date_start = $this.$filter('date')($this.date.start, "yyyy-MM-dd 00:00:00"); | |
| } | |
| if(angular.isDate($this.date.end)){ | |
| data.date_end = $this.$filter('date')($this.date.end, "yyyy-MM-dd 23:59:99"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - Edit app permissions in the Android Manifest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DirectoryIndex index.php | |
| RewriteEngine on | |
| RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico) | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule ^(.*)$ ./index.php/$1 [L,QSA] |
NewerOlder