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
| MasterReward | |
| - ID (unique ID) | |
| - type of reward | |
| - amount | |
| User | |
| - ID (UserID) | |
| - Name (firstName, lastName) | |
| - birthday | |
| - date register |
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
| # Template PHP Build | |
| # This template allows you to validate your PHP application. | |
| # The workflow allows running tests and code linting on the default branch. | |
| image: php:7.4-alpine | |
| pipelines: | |
| default: |
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
| <?php | |
| $schedule->call(function () { | |
| //Hari Ini | |
| $v_now = Order::where('sisa', 0)->where('dp', '>', 0) | |
| ->whereHas('nota', function($nota) { | |
| $nota->whereDate('notas.updated_at', Carbon::today()); | |
| }); | |
| $pengeluaran_now = Pengeluaran::whereDate('updated_at', Carbon::today()); | |
| $saldo_now = $v_now->sum('jumlah') - $pengeluaran_now->sum('jlh_uang'); |
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
| { | |
| "require": { | |
| "fig/http-message-util": "1.1.5", | |
| "firebase/php-jwt": "v6.10.0", | |
| "guzzlehttp/guzzle": "7.10.0", | |
| "guzzlehttp/promises": "2.3.0", | |
| "guzzlehttp/psr7": "2.8.0", | |
| "laravel/serializable-closure": "v1.3.7", | |
| "monolog/monolog": "2.10.0", | |
| "nikic/fast-route": "v1.3.0", |
OlderNewer