updated excel config
This commit is contained in:
parent
3f0067f41e
commit
eef5227b45
|
|
@ -36,17 +36,19 @@ abstract class Export implements FromCollection, HasLocalePreference, ShouldAuto
|
|||
|
||||
public $request_class = null;
|
||||
|
||||
public $row_count = 250; //number of rows that will have the dropdown
|
||||
|
||||
public $column_count = 25; //number of columns to be auto sized
|
||||
public $column_count; //number of columns to be auto sized
|
||||
|
||||
public $column_validations; //selects should have column_name and options
|
||||
|
||||
public $row_count; //number of rows that will have the dropdown
|
||||
|
||||
public function __construct($ids = null)
|
||||
{
|
||||
$this->ids = $ids;
|
||||
$this->fields = $this->fields();
|
||||
$this->column_validations = $this->columnValidations();
|
||||
$this->column_count = config('excel.exports.column_count');
|
||||
$this->row_count = config('excel.exports.row_count');
|
||||
$this->user = user();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,6 +68,26 @@ return [
|
|||
'manager' => '',
|
||||
'company' => '',
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Export validations
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Number of rows that will have the dropdown
|
||||
|
|
||||
*/
|
||||
'row_count' => env('EXCEL_EXPORTS_ROW_COUNT', 250),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Export validations
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Number of columns to be auto sized
|
||||
|
|
||||
*/
|
||||
'column_count' => env('EXCEL_EXPORTS_COLUMN_COUNT', 25),
|
||||
],
|
||||
|
||||
'imports' => [
|
||||
|
|
|
|||
Loading…
Reference in New Issue