Issues (32)

resources/views/admin/settings/index.blade.php (1 issue)

Labels
Severity
1
@section('header')
2
    <i class="fa fa-fw fa-wrench"></i> Settings <small>Generals</small>
3
@endsection
4
5
@section('content')
6
    <div class="row">
7
        <div class="col-md-5">
8
            <div class="row">
9
                <div class="col-sm-6 col-md-12">
10
                    <div class="box">
11
                        <div class="box-header">
12
                            <h2 class="box-title">
13
                                <i class="fa fa-fw fa-envelope"></i> Mail
14
                            </h2>
15
                        </div>
16
                        <div class="box-body no-padding">
17
                            <table class="table">
18
                                <tbody>
19
                                    <tr>
20
                                        <th style="width: 150px;">Driver</th>
21
                                        <td>
22
                                            <span class="label label-primary">
23
                                                {{ strtoupper(config('mail.driver')) }}
24
                                            </span>
25
                                        </td>
26
                                    </tr>
27
                                    <tr>
28
                                        <th>Host Address</th>
29
                                        <td>
30
                                            <span class="label label-primary">
31
                                                {{ strtoupper(config('mail.host')) }}
32
                                            </span>
33
                                        </td>
34
                                    </tr>
35
                                    <tr>
36
                                        <th>PORT</th>
37
                                        <td>
38
                                            <span class="label label-primary">
39
                                                {{ strtoupper(config('mail.port')) }}
40
                                            </span>
41
                                        </td>
42
                                    </tr>
43
                                    <tr>
44
                                        <th>From Address</th>
45
                                        <td>
46
                                            <span class="label label-primary">
47
                                                <?php
48
                                                $fromName  = config('mail.from.name');
0 ignored issues
show
The function config was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

48
                                                $fromName  = /** @scrutinizer ignore-call */ config('mail.from.name');
Loading history...
49
                                                $fromEmail = config('mail.from.email');
50
                                                ?>
51
                                                {{ $fromName or 'null' }} - {{ $fromEmail or 'null' }}
52
                                            </span>
53
                                        </td>
54
                                    </tr>
55
                                    <tr>
56
                                        <th>Encryption</th>
57
                                        <td>
58
                                            <span class="label label-primary">
59
                                                {{ strtoupper(config('mail.encryption')) }}
60
                                            </span>
61
                                        </td>
62
                                    </tr>
63
                                    @if (config('mail.driver') === 'sendmail')
64
                                        <tr>
65
                                            <th>Sendmail path</th>
66
                                            <td>
67
                                                <span class="label label-primary">{{ config('mail.sendmail') }}</span>
68
                                            </td>
69
                                        </tr>
70
                                    @endif
71
                                </tbody>
72
                            </table>
73
                        </div>
74
                    </div>
75
                </div>
76
            </div>
77
        </div>
78
79
        <div class="col-md-7">
80
            <div class="box">
81
                <div class="box-header">
82
                    <h2 class="box-title">
83
                        <i class="fa fa-fw fa-building"></i> Company details
84
                    </h2>
85
                    <div class="box-tools">
86
                        <a href="" class="btn btn-xs btn-warning" data-toggle="tooltip" data-original-title="Edit">
87
                            <i class="fa fa-fw fa-pencil"></i>
88
                        </a>
89
                    </div>
90
                </div>
91
                <div class="box-body no-padding">
92
                    <table class="table">
93
                        <tbody>
94
                            <tr>
95
                                <th style="width: 100px;">Name</th>
96
                                <td>Company name</td>
97
                            </tr>
98
                            <tr>
99
                                <th>Address</th>
100
                                <td>Company address</td>
101
                            </tr>
102
                            <tr>
103
                                <th>Email</th>
104
                                <td>Company email</td>
105
                            </tr>
106
                            <tr>
107
                                <th>Phone</th>
108
                                <td>Company phone</td>
109
                            </tr>
110
                            <tr>
111
                                <th>Mobile</th>
112
                                <td>Company mobile phone</td>
113
                            </tr>
114
                            <tr>
115
                                <th>Coordinate</th>
116
                                <td>Company geo coordinate</td>
117
                            </tr>
118
                        </tbody>
119
                    </table>
120
                </div>
121
            </div>
122
        </div>
123
    </div>
124
@endsection
125
126
@section('modals')
127
@endsection
128
129
@section('scripts')
130
@endsection
131