Update other old references

This commit is contained in:
Darko Gjorgjijoski
2024-01-28 00:35:15 +01:00
parent bd8283d204
commit 650644df0a
11 changed files with 14 additions and 14 deletions

View File

@@ -223,7 +223,7 @@ class Company extends Model implements HasMedia
'fiscal_year' => '1-12',
'carbon_date_format' => 'Y/m/d',
'moment_date_format' => 'YYYY/MM/DD',
'notification_email' => 'noreply@crater.in',
'notification_email' => 'noreply@invoiceshelf.com',
'notify_invoice_viewed' => 'NO',
'notify_estimate_viewed' => 'NO',
'tax_per_item' => 'NO',

View File

@@ -119,11 +119,11 @@ class FileDisk extends Model
if ($disk == 'dropbox') {
$root = $credentials['root'].'/';
}
\Storage::disk($prefix.$disk)->put($root.'crater_temp.text', 'Check Credentials');
\Storage::disk($prefix.$disk)->put($root.'invoiceshelf_temp.text', 'Check Credentials');
if (\Storage::disk($prefix.$disk)->exists($root.'crater_temp.text')) {
if (\Storage::disk($prefix.$disk)->exists($root.'invoiceshelf_temp.text')) {
$exists = true;
\Storage::disk($prefix.$disk)->delete($root.'crater_temp.text');
\Storage::disk($prefix.$disk)->delete($root.'invoiceshelf_temp.text');
}
} catch (\Exception $e) {
$exists = false;