Skip to content

Commit 1282b7e

Browse files
Merge pull request #102 from laravelwebdev/analysis-jlgROy
Apply fixes from StyleCI
2 parents ba35c32 + 7750db1 commit 1282b7e

19 files changed

+888
-892
lines changed

app/Nova/DaftarKegiatan.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
use Laravel\Nova\Http\Requests\NovaRequest;
2525
use Laravel\Nova\Panel;
2626
use Laravelwebdev\Repeatable\Repeatable;
27-
use Outl1ne\NovaSimpleRepeatable\SimpleRepeatable;
2827

2928
class DaftarKegiatan extends Resource
3029
{

app/Nova/Dipa.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
class Dipa extends Resource
1919
{
20-
2120
public static function label()
2221
{
2322
return 'DIPA';

app/Nova/Lenses/RekapHonorMitra.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static function query(LensRequest $request, $query)
4646
return $request->withoutTableOrderPrefix()->withOrdering(
4747
$query->select('bulan', 'jenis_kontrak_id', 'nama', 'mitra_id')
4848
->selectRaw('count(DISTINCT honor_kegiatan_id) as jumlah_kegiatan, sum(volume_realisasi * harga_satuan) as nilai_kontrak, sum(volume_realisasi * harga_satuan) < sbml as valid_sbml')
49-
->whereIn('honor_kegiatan_id', function ($query) use ($filtered_bulan, $filtered_kegiatan ) {
49+
->whereIn('honor_kegiatan_id', function ($query) use ($filtered_bulan, $filtered_kegiatan) {
5050
$query->select('id')->from('honor_kegiatans')
5151
->where('tahun', session('year'))
5252
->when(! empty($filtered_bulan), function ($query) use ($filtered_bulan) {

app/Nova/MataAnggaran.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use App\Helpers\Policy;
66
use App\Nova\Actions\AddHasManyModel;
7-
use Illuminate\Validation\Rule;
87
use Laravel\Nova\Fields\Text;
98
use Laravel\Nova\Http\Requests\NovaRequest;
109
use Laravel\Nova\Query\Search\SearchableText;

app/Nova/Metrics/RealisasiPerJenisBelanja.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
use App\Models\TargetSerapanAnggaran;
99
use Illuminate\Support\Facades\DB;
1010
use Laravel\Nova\Nova;
11+
use Laravelwebdev\Table\Table;
1112
use Laravelwebdev\Table\Table\Cell;
1213
use Laravelwebdev\Table\Table\Row;
13-
use Laravelwebdev\Table\Table;
1414

1515
class RealisasiPerJenisBelanja extends Table
1616
{

app/Nova/Metrics/RencanaPenarikanPerJenisBelanja.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
use App\Models\Dipa;
77
use Illuminate\Support\Facades\DB;
88
use Laravel\Nova\Nova;
9+
use Laravelwebdev\Table\Table;
910
use Laravelwebdev\Table\Table\Cell;
1011
use Laravelwebdev\Table\Table\Row;
11-
use Laravelwebdev\Table\Table;
1212

1313
class RencanaPenarikanPerJenisBelanja extends Table
1414
{

app/Providers/NovaServiceProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ protected function gate()
208208
});
209209
}
210210

211-
/**
211+
/**
212212
* Register the configurations for Laravel Fortify.
213213
*/
214214
protected function fortify(): void
@@ -220,7 +220,6 @@ protected function fortify(): void
220220
->register();
221221
}
222222

223-
224223
/**
225224
* Get the dashboards that should be listed in the Nova sidebar.
226225
*

lang/en/actions.php

Lines changed: 108 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -3,117 +3,117 @@
33
declare(strict_types=1);
44

55
return [
6-
'accept' => 'Accept',
7-
'action' => 'Action',
8-
'actions' => 'Actions',
9-
'add' => 'Add',
10-
'admin' => 'Admin',
11-
'agree' => 'Agree',
12-
'archive' => 'Archive',
13-
'assign' => 'Assign',
14-
'associate' => 'Associate',
15-
'attach' => 'Attach',
16-
'browse' => 'Browse',
17-
'cancel' => 'Cancel',
18-
'choose' => 'Choose',
19-
'choose_file' => 'Choose File',
20-
'choose_image' => 'Choose Image',
21-
'click_to_copy' => 'Click to copy',
22-
'close' => 'Close',
23-
'collapse' => 'Collapse',
24-
'collapse_all' => 'Collapse All',
25-
'comment' => 'Comment',
26-
'confirm' => 'Confirm',
27-
'connect' => 'Connect',
28-
'create' => 'Create',
29-
'delete' => 'Delete',
30-
'detach' => 'Detach',
31-
'details' => 'Details',
32-
'disable' => 'Disable',
33-
'discard' => 'Discard',
34-
'done' => 'Done',
35-
'down' => 'Down',
36-
'duplicate' => 'Duplicate',
37-
'edit' => 'Edit',
38-
'enable' => 'Enable',
39-
'expand' => 'Expand',
40-
'expand_all' => 'Expand All',
41-
'explanation' => 'Explanation',
42-
'export' => 'Export',
43-
'file' => 'File',
44-
'files' => 'Files',
45-
'go_home' => 'Go Home',
46-
'hide' => 'Hide',
47-
'home' => 'Home',
48-
'image' => 'Image',
49-
'impersonate' => 'Impersonate',
50-
'impersonation' => 'Impersonation',
51-
'import' => 'Import',
52-
'introduction' => 'Introduction',
53-
'like' => 'Like',
54-
'load' => 'Load',
55-
'localize' => 'Localize',
56-
'log_in' => 'Log In',
57-
'log_out' => 'Log Out',
58-
'named' => [
59-
'add' => 'Add :name',
60-
'choose' => 'Choose :name',
61-
'create' => 'Create :name',
62-
'delete' => 'Delete :name',
6+
'accept' => 'Accept',
7+
'action' => 'Action',
8+
'actions' => 'Actions',
9+
'add' => 'Add',
10+
'admin' => 'Admin',
11+
'agree' => 'Agree',
12+
'archive' => 'Archive',
13+
'assign' => 'Assign',
14+
'associate' => 'Associate',
15+
'attach' => 'Attach',
16+
'browse' => 'Browse',
17+
'cancel' => 'Cancel',
18+
'choose' => 'Choose',
19+
'choose_file' => 'Choose File',
20+
'choose_image' => 'Choose Image',
21+
'click_to_copy' => 'Click to copy',
22+
'close' => 'Close',
23+
'collapse' => 'Collapse',
24+
'collapse_all' => 'Collapse All',
25+
'comment' => 'Comment',
26+
'confirm' => 'Confirm',
27+
'connect' => 'Connect',
28+
'create' => 'Create',
29+
'delete' => 'Delete',
30+
'detach' => 'Detach',
31+
'details' => 'Details',
32+
'disable' => 'Disable',
33+
'discard' => 'Discard',
34+
'done' => 'Done',
35+
'down' => 'Down',
36+
'duplicate' => 'Duplicate',
37+
'edit' => 'Edit',
38+
'enable' => 'Enable',
39+
'expand' => 'Expand',
40+
'expand_all' => 'Expand All',
41+
'explanation' => 'Explanation',
42+
'export' => 'Export',
43+
'file' => 'File',
44+
'files' => 'Files',
45+
'go_home' => 'Go Home',
46+
'hide' => 'Hide',
47+
'home' => 'Home',
48+
'image' => 'Image',
49+
'impersonate' => 'Impersonate',
50+
'impersonation' => 'Impersonation',
51+
'import' => 'Import',
52+
'introduction' => 'Introduction',
53+
'like' => 'Like',
54+
'load' => 'Load',
55+
'localize' => 'Localize',
56+
'log_in' => 'Log In',
57+
'log_out' => 'Log Out',
58+
'named' => [
59+
'add' => 'Add :name',
60+
'choose' => 'Choose :name',
61+
'create' => 'Create :name',
62+
'delete' => 'Delete :name',
6363
'duplicate' => 'Duplicate :name',
64-
'edit' => 'Edit :name',
65-
'export' => 'Export :name',
66-
'hide' => 'Hide :name',
67-
'import' => 'Import :name',
68-
'new' => 'New :name',
69-
'restore' => 'Restore :name',
70-
'save' => 'Save :name',
71-
'search' => 'Search :name',
72-
'show' => 'Show :name',
73-
'update' => 'Update :name',
74-
'view' => 'View :name',
64+
'edit' => 'Edit :name',
65+
'export' => 'Export :name',
66+
'hide' => 'Hide :name',
67+
'import' => 'Import :name',
68+
'new' => 'New :name',
69+
'restore' => 'Restore :name',
70+
'save' => 'Save :name',
71+
'search' => 'Search :name',
72+
'show' => 'Show :name',
73+
'update' => 'Update :name',
74+
'view' => 'View :name',
7575
],
76-
'new' => 'New',
77-
'no' => 'No',
78-
'open' => 'Open',
79-
'open_website' => 'Open on the website',
80-
'preview' => 'Preview',
81-
'price' => 'Price',
82-
'record' => 'Record',
83-
'restore' => 'Restore',
84-
'save' => 'Save',
85-
'save_and_close' => 'Save & Close',
76+
'new' => 'New',
77+
'no' => 'No',
78+
'open' => 'Open',
79+
'open_website' => 'Open on the website',
80+
'preview' => 'Preview',
81+
'price' => 'Price',
82+
'record' => 'Record',
83+
'restore' => 'Restore',
84+
'save' => 'Save',
85+
'save_and_close' => 'Save & Close',
8686
'save_and_return' => 'Save & Return',
87-
'search' => 'Search',
88-
'select' => 'Select',
89-
'select_all' => 'Select All',
90-
'send' => 'Send',
91-
'settings' => 'Settings',
92-
'show' => 'Show',
93-
'show_all' => 'Show All',
94-
'sign_in' => 'Sign In',
95-
'solve' => 'Solve',
96-
'start' => 'Start',
97-
'stop' => 'Stop',
98-
'submit' => 'Submit',
99-
'subscribe' => 'Subscribe',
100-
'switch' => 'Switch',
101-
'switch_to_role' => 'Switch To Role',
102-
'tag' => 'Tag',
103-
'tags' => 'Tags',
104-
'target_link' => [
105-
'blank' => 'Open in a new window',
87+
'search' => 'Search',
88+
'select' => 'Select',
89+
'select_all' => 'Select All',
90+
'send' => 'Send',
91+
'settings' => 'Settings',
92+
'show' => 'Show',
93+
'show_all' => 'Show All',
94+
'sign_in' => 'Sign In',
95+
'solve' => 'Solve',
96+
'start' => 'Start',
97+
'stop' => 'Stop',
98+
'submit' => 'Submit',
99+
'subscribe' => 'Subscribe',
100+
'switch' => 'Switch',
101+
'switch_to_role' => 'Switch To Role',
102+
'tag' => 'Tag',
103+
'tags' => 'Tags',
104+
'target_link' => [
105+
'blank' => 'Open in a new window',
106106
'parent' => 'Open in a parent frame',
107-
'self' => 'Open in a current window',
108-
'top' => 'Open in the topmost frame',
107+
'self' => 'Open in a current window',
108+
'top' => 'Open in the topmost frame',
109109
],
110-
'translate' => 'Translate',
111-
'translate_it' => 'Translate It',
112-
'unpack' => 'Unpack',
113-
'unsubscribe' => 'Unsubscribe',
114-
'up' => 'Up',
115-
'update' => 'Update',
116-
'user' => 'User',
117-
'view' => 'View',
118-
'yes' => 'Yes',
110+
'translate' => 'Translate',
111+
'translate_it' => 'Translate It',
112+
'unpack' => 'Unpack',
113+
'unsubscribe' => 'Unsubscribe',
114+
'up' => 'Up',
115+
'update' => 'Update',
116+
'user' => 'User',
117+
'view' => 'View',
118+
'yes' => 'Yes',
119119
];

lang/en/auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
declare(strict_types=1);
44

55
return [
6-
'failed' => 'These credentials do not match our records.',
6+
'failed' => 'These credentials do not match our records.',
77
'password' => 'The provided password is incorrect.',
88
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
99
];

0 commit comments

Comments
 (0)