This commit is contained in:
@@ -204,7 +204,7 @@ class StorageController extends Controller
|
|||||||
if ($this->default !== 'database') {
|
if ($this->default !== 'database') {
|
||||||
$this->setFileSystem();
|
$this->setFileSystem();
|
||||||
Storage::disk($this->default)->put($filename, $data);
|
Storage::disk($this->default)->put($filename, $data);
|
||||||
$storagePath = Storage::disk($this->default)->getDriver()->getAdapter()->getPathPrefix().$filename;
|
$storagePath = Storage::disk($this->default)->path($filename);
|
||||||
if (mime(\File::mimeType($storagePath)) != 'image' || mime(\File::extension($storagePath)) != 'image') {
|
if (mime(\File::mimeType($storagePath)) != 'image' || mime(\File::extension($storagePath)) != 'image') {
|
||||||
chmod($storagePath, 1204);
|
chmod($storagePath, 1204);
|
||||||
}
|
}
|
||||||
|
@@ -186,7 +186,7 @@ class PhpMailController extends Controller
|
|||||||
'port' => $mail->sending_port,
|
'port' => $mail->sending_port,
|
||||||
'security' => $mail->sending_encryption,
|
'security' => $mail->sending_encryption,
|
||||||
'username' => $mail->email_address,
|
'username' => $mail->email_address,
|
||||||
'password' => $mail->getRawOriginal()['password'],
|
'password' => $mail->password,
|
||||||
];
|
];
|
||||||
if (!$this->commonMailer->setSmtpDriver($config)) {
|
if (!$this->commonMailer->setSmtpDriver($config)) {
|
||||||
\Log::info('Invaid configuration :- '.$config);
|
\Log::info('Invaid configuration :- '.$config);
|
||||||
|
@@ -51,13 +51,13 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Date</td>
|
<td>Date</td>
|
||||||
@if($table_datas[1]->open)
|
@if(array_key_exists(1, $table_datas) && $table_datas[1]->open)
|
||||||
<td>Created</td>
|
<td>Created</td>
|
||||||
@endif
|
@endif
|
||||||
@if($table_datas[1]->closed)
|
@if(array_key_exists(1, $table_datas) && $table_datas[1]->closed)
|
||||||
<td>Closed</td>
|
<td>Closed</td>
|
||||||
@endif
|
@endif
|
||||||
@if($table_datas[1]->reopened)
|
@if(array_key_exists(1, $table_datas) && $table_datas[1]->reopened)
|
||||||
<td>Reopened</td>
|
<td>Reopened</td>
|
||||||
@endif
|
@endif
|
||||||
</tr>
|
</tr>
|
||||||
@@ -91,9 +91,11 @@
|
|||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
@if(array_key_exists(1, $table_datas))
|
||||||
<td>
|
<td>
|
||||||
<span style="color:#F7CF07;">TOTAL IN PROGRESS</span> : {!! $table_datas[1]->inprogress !!}
|
<span style="color:#F7CF07;">TOTAL IN PROGRESS</span> : {!! $table_datas[1]->inprogress !!}
|
||||||
</td>
|
</td>
|
||||||
|
@endif
|
||||||
<td>
|
<td>
|
||||||
@if($table_data->open)
|
@if($table_data->open)
|
||||||
<span style="color:blue;">TOTAL CREATED</span> : {!! $table_open !!}
|
<span style="color:blue;">TOTAL CREATED</span> : {!! $table_open !!}
|
||||||
|
Reference in New Issue
Block a user