File tree 4 files changed +443
-9
lines changed
app/Filament/App/Resources
4 files changed +443
-9
lines changed Original file line number Diff line number Diff line change 19
19
class SubscriptionResource extends Resource
20
20
{
21
21
protected static ?string $ model = Subscription::class;
22
-
23
22
protected static ?string $ navigationIcon = 'fas-hand-holding-dollar ' ;
24
-
25
23
protected static ?string $ navigationGroup = 'Administração ' ;
26
-
27
24
protected static ?string $ navigationLabel = 'Minhas Assinaturas ' ;
28
-
29
25
protected static ?string $ modelLabel = 'Minha Assinatura ' ;
30
-
31
26
protected static ?string $ modelLabelPlural = "Minhas Assinaturas " ;
32
-
33
27
protected static ?int $ navigationSort = 1 ;
34
-
35
28
protected static bool $ isScopedToTenant = true ;
36
29
37
30
public static function form (Form $ form ): Form
@@ -112,7 +105,6 @@ public static function table(Table $table): Table
112
105
return sprintf ('%d dias e %02d horas ' , $ remainingDays , $ remainingHours );
113
106
})
114
107
->alignCenter (),
115
-
116
108
])
117
109
->filters ([
118
110
//
Original file line number Diff line number Diff line change
1
+ {
2
+ "commit-msg" : {
3
+ "enabled" : true ,
4
+ "actions" : [
5
+ {
6
+ "action" : " \\ CaptainHook\\ App\\ Hook\\ Message\\ Action\\ Beams" ,
7
+ "options" : {
8
+ "subjectLength" : 50 ,
9
+ "bodyLineLength" : 72
10
+ }
11
+ }
12
+ ]
13
+ },
14
+ "pre-push" : {
15
+ "enabled" : false ,
16
+ "actions" : []
17
+ },
18
+ "pre-commit" : {
19
+ "enabled" : true ,
20
+ "actions" : [
21
+ {
22
+ "action" : " \\ CaptainHook\\ App\\ Hook\\ PHP\\ Action\\ Linting"
23
+ },
24
+ {
25
+ "action" : " phpunit"
26
+ },
27
+ {
28
+ "action" : " phpcs --standard=psr2 src"
29
+ },
30
+ {
31
+ "action" : " vendor/bin/pint"
32
+ }
33
+ ]
34
+ },
35
+ "prepare-commit-msg" : {
36
+ "enabled" : false ,
37
+ "actions" : []
38
+ },
39
+ "post-commit" : {
40
+ "enabled" : false ,
41
+ "actions" : []
42
+ },
43
+ "post-merge" : {
44
+ "enabled" : false ,
45
+ "actions" : []
46
+ },
47
+ "post-checkout" : {
48
+ "enabled" : false ,
49
+ "actions" : []
50
+ },
51
+ "post-rewrite" : {
52
+ "enabled" : false ,
53
+ "actions" : []
54
+ },
55
+ "post-change" : {
56
+ "enabled" : false ,
57
+ "actions" : []
58
+ }
59
+ }
Original file line number Diff line number Diff line change 21
21
"stripe/stripe-php" : " ^16.4"
22
22
},
23
23
"require-dev" : {
24
+ "captainhook/captainhook" : " ^5.24" ,
24
25
"fakerphp/faker" : " ^1.23" ,
25
26
"laravel/pail" : " ^1.1" ,
26
27
"laravel/pint" : " ^1.20" ,
You can’t perform that action at this time.
0 commit comments