mirror of
https://gitlab.com/omair-personal/izyim.git
synced 2026-08-19 12:24:11 +00:00
42 lines
994 B
PHP
42 lines
994 B
PHP
<?php
|
|
|
|
namespace App\Classes;
|
|
|
|
class Constants {
|
|
|
|
public const MODULE_TYPES = [
|
|
'company' => 0,
|
|
'supplier' => 1,
|
|
'warehouse' => 2,
|
|
'forwarder' => 3,
|
|
'order' => 4,
|
|
'driver' => 5,
|
|
];
|
|
|
|
|
|
//excel file extension
|
|
public const EXCEL_FILE_EXTENSION = 'xlsx';
|
|
public const EXCEL_FILE_ENCODED_EXTENSION = 'vnd.openxmlformats-officedocument.spreadsheetml.sheet';
|
|
|
|
public const UPLOAD_PATH = 'uploads/';
|
|
public const DELETE_PATH = 'deleted/';
|
|
|
|
public const DOCUMENT_TYPES = [
|
|
'registration_certificate' => [
|
|
'id' => 0,
|
|
'path' => 'registration_certificates/',
|
|
'multiple' => true
|
|
],
|
|
'logo' => [
|
|
'id' => 1,
|
|
'path' => 'logo/',
|
|
'multiple' => false
|
|
]
|
|
|
|
];
|
|
|
|
public const COMPANY_DOCUMENTS = ['registration_certificate', 'logo'];
|
|
public const ADDRESS_FIELDS = ['street_one', 'street_two', 'city', 'state', 'country', 'post_code'];
|
|
|
|
|
|
} |