Files
izyim/app/Classes/Constants.php
T
Omair Saleh 0e5f2939e3 large commit
2019-10-05 13:09:26 +08:00

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'];
}