mirror of
https://github.com/snipe/snipe-it.git
synced 2025-10-29 11:21:21 +00:00
Merge branch 'develop' into groups-ui-improvements
This commit is contained in:
commit
4a5bf78d58
@ -8,8 +8,6 @@ use Symfony\Component\Console\Input\InputOption;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Symfony\Component\Console\Helper\ProgressIndicator;
|
||||
|
||||
ini_set('max_execution_time', env('IMPORT_TIME_LIMIT', 600)); //600 seconds = 10 minutes
|
||||
ini_set('memory_limit', env('IMPORT_MEMORY_LIMIT', '500M'));
|
||||
|
||||
/**
|
||||
* Class ObjectImportCommand
|
||||
@ -52,6 +50,9 @@ class ObjectImportCommand extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
ini_set('max_execution_time', env('IMPORT_TIME_LIMIT', 600)); //600 seconds = 10 minutes
|
||||
ini_set('memory_limit', env('IMPORT_MEMORY_LIMIT', '500M'));
|
||||
|
||||
$this->progressIndicator = new ProgressIndicator($this->output);
|
||||
|
||||
$filename = $this->argument('filename');
|
||||
|
||||
@ -37,6 +37,8 @@ class SystemBackup extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
ini_set('max_execution_time', env('BACKUP_TIME_LIMIT', 600)); //600 seconds = 10 minutes
|
||||
|
||||
if ($this->option('filename')) {
|
||||
$filename = $this->option('filename');
|
||||
|
||||
|
||||
@ -87,7 +87,7 @@ class CheckoutAssetMail extends Mailable
|
||||
$name = $this->target->assignedto?->display_name;
|
||||
}
|
||||
else if($this->target instanceof Location){
|
||||
$name = $this->target->manager->name;
|
||||
$name = $this->target->manager?->name;
|
||||
}
|
||||
|
||||
// Check if the item has custom fields associated with it
|
||||
|
||||
@ -31,6 +31,7 @@ class AcceptanceAssetDeclinedNotification extends Notification
|
||||
$this->company_name = $params['company_name'];
|
||||
$this->settings = Setting::getSettings();
|
||||
$this->qty = $params['qty'] ?? null;
|
||||
$this->admin = $params['admin'] ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -70,7 +71,8 @@ class AcceptanceAssetDeclinedNotification extends Notification
|
||||
'declined_date' => $this->declined_date,
|
||||
'assigned_to' => $this->assigned_to,
|
||||
'company_name' => $this->company_name,
|
||||
'qty' => $this->qty,
|
||||
'qty' => $this->qty,
|
||||
'admin' => $this->admin,
|
||||
'intro_text' => trans('mail.acceptance_asset_declined'),
|
||||
])
|
||||
->subject(trans('mail.acceptance_asset_declined'));
|
||||
|
||||
@ -1512,6 +1512,7 @@ input[name="columnsSearch"] {
|
||||
border-radius: 0px;
|
||||
}
|
||||
.callout.callout-legend h4 {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-top: 5px;
|
||||
@ -1523,6 +1524,7 @@ input[name="columnsSearch"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
p.callout-subtext {
|
||||
color: #333;
|
||||
margin-top: 5px;
|
||||
}
|
||||
p.callout-subtext a:hover,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1136,6 +1136,7 @@ input[name="columnsSearch"] {
|
||||
border-radius: 0px;
|
||||
}
|
||||
.callout.callout-legend h4 {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-top: 5px;
|
||||
@ -1147,6 +1148,7 @@ input[name="columnsSearch"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
p.callout-subtext {
|
||||
color: #333;
|
||||
margin-top: 5px;
|
||||
}
|
||||
p.callout-subtext a:hover,
|
||||
|
||||
File diff suppressed because one or more lines are too long
4
public/css/dist/all.css
vendored
4
public/css/dist/all.css
vendored
@ -22848,6 +22848,7 @@ input[name="columnsSearch"] {
|
||||
border-radius: 0px;
|
||||
}
|
||||
.callout.callout-legend h4 {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-top: 5px;
|
||||
@ -22859,6 +22860,7 @@ input[name="columnsSearch"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
p.callout-subtext {
|
||||
color: #333;
|
||||
margin-top: 5px;
|
||||
}
|
||||
p.callout-subtext a:hover,
|
||||
@ -24549,6 +24551,7 @@ input[name="columnsSearch"] {
|
||||
border-radius: 0px;
|
||||
}
|
||||
.callout.callout-legend h4 {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-top: 5px;
|
||||
@ -24560,6 +24563,7 @@ input[name="columnsSearch"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
p.callout-subtext {
|
||||
color: #333;
|
||||
margin-top: 5px;
|
||||
}
|
||||
p.callout-subtext a:hover,
|
||||
|
||||
@ -1275,6 +1275,7 @@ input[name="columnsSearch"] {
|
||||
}
|
||||
|
||||
.callout.callout-legend h4 {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-top: 5px;
|
||||
@ -1288,7 +1289,8 @@ input[name="columnsSearch"] {
|
||||
}
|
||||
|
||||
p.callout-subtext {
|
||||
margin-top: 5px;
|
||||
color:#333;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
p.callout-subtext a:hover, p.callout-subtext a:visited, p.callout-subtext a:link {
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
| | |
|
||||
| ------------- | ------------- |
|
||||
@if (isset($item_name))
|
||||
| **{{ trans('general.name') }}** | {{ $item_name }} |
|
||||
| **{{ trans('general.asset_name') }}** | {{ $item_name }} |
|
||||
@endif
|
||||
| **{{ trans('mail.user') }}** | {{ $assigned_to }} |
|
||||
@if (isset($user->location))
|
||||
@ -32,7 +32,7 @@
|
||||
| **{{ trans('general.category') }}** | {{ $item->model->category->name }} |
|
||||
@endif
|
||||
@if ((isset($item_model)) && ($item_model!=''))
|
||||
| **{{ trans('mail.asset_name') }}** | {{ $item_model }} |
|
||||
| **{{ trans('general.model_name') }}** | {{ $item_model }} |
|
||||
@endif
|
||||
@if (isset($item->model))
|
||||
| **{{ trans('general.asset_model') }}** | {{ $item->model->name }} |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user