mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 20:44:19 +00:00
Compare commits
118 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d53e2fe19a | |||
| fcf3d24ae4 | |||
| 31e28c3dfa | |||
| faf4d35340 | |||
| 4fef6f8e6f | |||
| 5d504b5111 | |||
| 3854884370 | |||
| fe70c4b111 | |||
| dad2f95eaa | |||
| 764e709135 | |||
| 9b35f8c374 | |||
| 2e03ce370d | |||
| d972e98732 | |||
| 9041d9623b | |||
| f4a96fec78 | |||
| c299c60d38 | |||
| 96eeb5a63e | |||
| fc6c365792 | |||
| 6094adadec | |||
| 78ce2084b9 | |||
| 4fb284c85c | |||
| 9e060bccd3 | |||
| 3100d42bd7 | |||
| 0640e0de9b | |||
| aa1d1dccc5 | |||
| e369bc7f9e | |||
| 6713542dc9 | |||
| f73094ca06 | |||
| 453683ca76 | |||
| caef08aa98 | |||
| 2c2e4eece8 | |||
| a30421a3e9 | |||
| 056342308e | |||
| f7ca8558f5 | |||
| 92255056cc | |||
| 5e1626e6a4 | |||
| c533c0c4a6 | |||
| e8eb02430b | |||
| f17bfea250 | |||
| 24ceb3cb39 | |||
| b6086554e2 | |||
| fee73f7708 | |||
| cd7ee3afb3 | |||
| 3329028860 | |||
| 6507b84e55 | |||
| eab465e837 | |||
| 1cc0303539 | |||
| 305ae6c217 | |||
| bcd926b4c9 | |||
| cd84348542 | |||
| 8e0efdf6e7 | |||
| 37cdbbb2c4 | |||
| 86893efe3d | |||
| 3dfec9fd6d | |||
| 0634fbf78e | |||
| 6375ac753e | |||
| 3899dd8416 | |||
| 8ca1cc1625 | |||
| d0ee2473ac | |||
| b67b676704 | |||
| 2421dd0988 | |||
| 03851deeea | |||
| 4224c3e436 | |||
| 33124d6588 | |||
| 77c2ede28e | |||
| 86e257106a | |||
| edb644eaeb | |||
| 8418268731 | |||
| 98dc43d23a | |||
| 5fdc6d5719 | |||
| cfd6757a84 | |||
| 08517e8ee7 | |||
| eb31291e25 | |||
| ddbecaae6f | |||
| 7b88fd5c3c | |||
| 1814352780 | |||
| 8795f1c203 | |||
| 762e9b8dca | |||
| d8c9c77d8d | |||
| f21708ff57 | |||
| ac4fcb05e9 | |||
| b3a296f2eb | |||
| 5a723c5fd1 | |||
| 6e9a27024b | |||
| 5ba46a96a3 | |||
| 1c79d88d8d | |||
| 029f25a003 | |||
| 557881104c | |||
| d30dab61ea | |||
| e0018de70d | |||
| f5a0e9cd07 | |||
| 908c547ddc | |||
| cdda3ff5e1 | |||
| 27bacd412a | |||
| 424ac600c3 | |||
| 715635954a | |||
| a5a450a7d4 | |||
| 2919544769 | |||
| e3284fdf98 | |||
| 114a083627 | |||
| 32a509d090 | |||
| bd2b7b236b | |||
| 6a08d88031 | |||
| ef95893c3b | |||
| 5043b32191 | |||
| 7169ba423c | |||
| f8e7573cfd | |||
| 5aa93b30c7 | |||
| 8c35601ccd | |||
| 0ec9226226 | |||
| 3286939ccc | |||
| 3a2146146c | |||
| e2e8f69f90 | |||
| e5c28faba7 | |||
| 4b81666cf2 | |||
| 4a2fb8e9e4 | |||
| ea772c3916 | |||
| f8d65d05da |
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\General\Eloquent\Filters;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
class TargetId implements Filter
|
||||
{
|
||||
|
||||
/**
|
||||
* @param Builder $builder
|
||||
* @param $value
|
||||
* @return Builder|mixed
|
||||
*/
|
||||
public static function apply(Builder $builder, $value)
|
||||
{
|
||||
return $builder->where('target_type', User::class)->where('target_id', $value);
|
||||
}
|
||||
|
||||
}
|
||||
+18
-1
@@ -14,6 +14,8 @@ use App\Classes\General\Abstracts\AbstractControllerLogic;
|
||||
use App\Classes\Modules\Documents\Services\FetchesDocument;
|
||||
|
||||
use App\Classes\Modules\Documents\Services\ApprovesDocument;
|
||||
use App\Classes\Modules\Notifications\DataTransferObjects\NotificationObject;
|
||||
Use App\Classes\Modules\Notifications\Processors\CreateNotificationProcessor;
|
||||
|
||||
use App\Models\Document;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
@@ -50,6 +52,9 @@ class ApproveIdentificationDocumentLogic extends AbstractControllerLogic
|
||||
/** @var UpdatesOrdersStatus */
|
||||
private $updatesOrdersStatus;
|
||||
|
||||
/** @var CreateNotificationProcessor */
|
||||
private $createNotificationProcessor;
|
||||
|
||||
/**
|
||||
* ApproveIdentificationDocumentLogic constructor.
|
||||
* @param CanApproveDocument $canApproveDocument
|
||||
@@ -58,8 +63,9 @@ class ApproveIdentificationDocumentLogic extends AbstractControllerLogic
|
||||
* @param FetchesDocument $fetchesDocument
|
||||
* @param UpdatesCompanyStatus $updatesCompanyStatus
|
||||
* @param UpdatesOrdersStatus $updatesOrdersStatus
|
||||
* @param CreateNotificationProcessor $createNotificationProcessor
|
||||
*/
|
||||
public function __construct(CanApproveDocument $canApproveDocument, ApprovesDocument $approvesDocument, RejectsDocument $rejectsDocument, FetchesDocument $fetchesDocument, UpdatesCompanyStatus $updatesCompanyStatus, UpdatesOrdersStatus $updatesOrdersStatus)
|
||||
public function __construct(CanApproveDocument $canApproveDocument, ApprovesDocument $approvesDocument, RejectsDocument $rejectsDocument, FetchesDocument $fetchesDocument, UpdatesCompanyStatus $updatesCompanyStatus, UpdatesOrdersStatus $updatesOrdersStatus, CreateNotificationProcessor $createNotificationProcessor)
|
||||
{
|
||||
$this->canApproveDocument = $canApproveDocument;
|
||||
$this->approvesDocument = $approvesDocument;
|
||||
@@ -67,6 +73,7 @@ class ApproveIdentificationDocumentLogic extends AbstractControllerLogic
|
||||
$this->fetchesDocument = $fetchesDocument;
|
||||
$this->updatesCompanyStatus = $updatesCompanyStatus;
|
||||
$this->updatesOrdersStatus = $updatesOrdersStatus;
|
||||
$this->createNotificationProcessor = $createNotificationProcessor;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -90,6 +97,16 @@ class ApproveIdentificationDocumentLogic extends AbstractControllerLogic
|
||||
|
||||
$this->updatesCompanyStatus->execute($document->owner, $status === 'approve' ? ApprovalStatus::APPROVED : ApprovalStatus::REJECTED);
|
||||
|
||||
$object = new NotificationObject(
|
||||
'ID Verification ' . ( $status === 'approve' ? 'Approved' : 'Rejected' ),
|
||||
( $status === 'approve' ? 'Dear user, congratulations that your ' : 'Dear user, we are sorry to inform you that your ' ) . ( $document->type === 'IDENTITY_CARD' ? 'IC' : 'SSM' ) . ( $status === 'approve' ? ' has been approved. Start your first order now!' : ' has been rejected due to ' . ( $request->input('rejectRemark') ?? '' ) . ', please resubmit it for further action.' ),
|
||||
$document->owner,
|
||||
$document->owner->companyModules()->first()->employees()->first(),
|
||||
$document,
|
||||
);
|
||||
|
||||
$this->createNotificationProcessor->execute($object);
|
||||
|
||||
if($status === 'approve'){
|
||||
$orders = $this->updatesOrdersStatus->execute($document->owner, ApprovalStatus::APPROVED);
|
||||
}
|
||||
|
||||
@@ -2,19 +2,17 @@
|
||||
|
||||
namespace App\Classes\Modules\Exports\Services;
|
||||
|
||||
use App\Classes\ValueObjects\Constants\ApprovalStatus;
|
||||
use App\Models\Order;
|
||||
use App\Models\PackingList;
|
||||
use Maatwebsite\Excel\Concerns\Exportable;
|
||||
use Maatwebsite\Excel\Concerns\FromCollection;
|
||||
use Maatwebsite\Excel\Concerns\FromQuery;
|
||||
use Maatwebsite\Excel\Concerns\WithHeadingRow;
|
||||
use Maatwebsite\Excel\Concerns\WithMapping;
|
||||
use Maatwebsite\Excel\Concerns\WithHeadings;
|
||||
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
|
||||
use Carbon\Carbon;
|
||||
use App\Classes\ValueObjects\Constants\OrderRoleTypes;
|
||||
use App\Classes\ValueObjects\Constants\RoleTypes;
|
||||
|
||||
class ExportsArrivedParcel implements WithHeadings, WithHeadingRow, WithMapping, ShouldAutoSize, FromCollection
|
||||
class ExportsArrivedParcel implements WithHeadings, WithHeadingRow, WithMapping, ShouldAutoSize, FromQuery
|
||||
{
|
||||
|
||||
use Exportable;
|
||||
@@ -36,31 +34,17 @@ class ExportsArrivedParcel implements WithHeadings, WithHeadingRow, WithMapping,
|
||||
/**
|
||||
* @return \Illuminate\Support\Collection|mixed
|
||||
*/
|
||||
public function collection()
|
||||
public function query()
|
||||
{
|
||||
$returnArray = collect();
|
||||
|
||||
$packingLists = PackingList::where('type', '=', 1)->where('status', '=', 2)->get();
|
||||
$exceptionUsers = in_array(Auth()->user()->type, [RoleTypes::SHADOW_ADMIN, RoleTypes::SUPER_ADMIN]);
|
||||
|
||||
foreach($packingLists as $packingList){
|
||||
$packages = !$packingList->packingLists()->exists() || $exceptionUsers ? $packingList->packages : $packingList->packingLists->first()->packages;
|
||||
foreach ($packages as $package) {
|
||||
$returnArray->push($package);
|
||||
}
|
||||
}
|
||||
|
||||
return $returnArray;
|
||||
return PackingList::where('type', '=', 1)->where('status', '=', 2)->where('owner_type', Order::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ReturnArray $returnArray
|
||||
*
|
||||
* @param $packingList
|
||||
* @return array
|
||||
*/
|
||||
public function map($package): array
|
||||
public function map($packingList): array
|
||||
{
|
||||
$packingList = $package->packingList;
|
||||
$order = $packingList->owner;
|
||||
|
||||
$connection = $order->companyModule()->first()->inviters()->withPivot('invitee_reference')->first();
|
||||
@@ -68,7 +52,9 @@ class ExportsArrivedParcel implements WithHeadings, WithHeadingRow, WithMapping,
|
||||
|
||||
$warehouse = $order->orderRoles()->where('role_id', '=', OrderRoleTypes::ORIGIN_WAREHOUSE)->first()->appointee;
|
||||
|
||||
$cbm = (($package->width / 100) * ($package->height / 100) * ($package->length / 100)) * $package->quantity;
|
||||
$cbm = $packingList->packages->sum(function($package){
|
||||
return (($package->width / 100) * ($package->height / 100) * ($package->length / 100)) * $package->quantity;
|
||||
});
|
||||
|
||||
$arrival_date = $packingList->transports()->first()->drop_date->format('d-m-Y');
|
||||
|
||||
@@ -77,8 +63,8 @@ class ExportsArrivedParcel implements WithHeadings, WithHeadingRow, WithMapping,
|
||||
$marking,
|
||||
$warehouse->reference,
|
||||
$cbm,
|
||||
$package->description,
|
||||
$package->quantity,
|
||||
$packingList->packages->implode('description', ', '),
|
||||
$packingList->packages->sum('quantity'),
|
||||
$arrival_date,
|
||||
''
|
||||
];
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Exports\Services;
|
||||
|
||||
use App\Models\Container;
|
||||
use App\Models\Package;
|
||||
use Maatwebsite\Excel\Concerns\Exportable;
|
||||
use Maatwebsite\Excel\Concerns\FromCollection;
|
||||
use Maatwebsite\Excel\Concerns\WithHeadingRow;
|
||||
use Maatwebsite\Excel\Concerns\WithMapping;
|
||||
use Maatwebsite\Excel\Concerns\WithHeadings;
|
||||
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
|
||||
use Carbon\Carbon;
|
||||
|
||||
class ExportsCompanyModuleSummary implements FromCollection, WithHeadings, WithHeadingRow, WithMapping, ShouldAutoSize
|
||||
{
|
||||
|
||||
use Exportable;
|
||||
|
||||
protected $companyModuleId, $containerIds;
|
||||
|
||||
public function headings(): array
|
||||
{
|
||||
return [
|
||||
'Date',
|
||||
'Full Marking',
|
||||
'Container',
|
||||
'Description',
|
||||
'Ctns',
|
||||
'L (cm)',
|
||||
'H (cm)',
|
||||
'W (cm)',
|
||||
'CBM'
|
||||
];
|
||||
}
|
||||
|
||||
public function setParameters($companyModuleId, $containerIds)
|
||||
{
|
||||
$this->companyModuleId = $companyModuleId;
|
||||
$this->containerIds = $containerIds;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Support\Collection|mixed
|
||||
*/
|
||||
public function collection()
|
||||
{
|
||||
$packagesArray = collect();
|
||||
$containers = Container::whereIn('reference', explode(',', $this->containerIds))->get();
|
||||
foreach ($containers as $container){
|
||||
$company_module_id = $this->companyModuleId;
|
||||
$packingLists = $container->packingLists()->get()->filter(function ($packingList) use ($company_module_id) {
|
||||
return $packingList->owner->company_module_id == $company_module_id;
|
||||
});
|
||||
foreach ($packingLists as $packingList){
|
||||
if($packingList->packingLists->first()){
|
||||
$packingList = $packingList->packingLists->first();
|
||||
}
|
||||
$packages = $packingList->packages;
|
||||
foreach ($packages as $package){
|
||||
$packagesArray->push($package);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $packagesArray;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Package $package
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function map($package): array
|
||||
{
|
||||
$connection = $package->packingList->owner->companyModule->inviters()->withPivot('invitee_reference')->first();
|
||||
$marking = $connection ? $connection->pivot->invitee_reference:'';
|
||||
|
||||
return [
|
||||
Carbon::parse($package->created_at)->format('d-m-Y'),
|
||||
$marking,
|
||||
$package->packingList->containers()->first()->reference,
|
||||
$package->description,
|
||||
$package->quantity,
|
||||
$package->length,
|
||||
$package->height,
|
||||
$package->width,
|
||||
((($package->length / 100) * ($package->height / 100) * ($package->width / 100)) * $package->quantity)
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Notifications\ControllersLogic;
|
||||
|
||||
|
||||
use App\Classes\General\Abstracts\AbstractControllerLogic;
|
||||
use App\Classes\Modules\Notifications\Services\ListsNotification;
|
||||
use App\Http\Resources\NotificationResource;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class ListNotificationsLogic extends AbstractControllerLogic
|
||||
{
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
protected function notification():array {
|
||||
return [
|
||||
'title' => 'Retrieve Notifications',
|
||||
'message' => 'You have successfully retrieved a list of Notifications'
|
||||
];
|
||||
}
|
||||
|
||||
/** @var ListsNotification */
|
||||
private $listsNotification;
|
||||
|
||||
/**
|
||||
* ListNotificationsLogic constructor.
|
||||
* @param ListsNotification $listsNotification
|
||||
*/
|
||||
public function __construct(
|
||||
ListsNotification $listsNotification
|
||||
)
|
||||
{
|
||||
$this->listsNotification = $listsNotification;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param Request $request
|
||||
* @return JsonResponse
|
||||
* @throws \App\Classes\Exceptions\AccessForbiddenException
|
||||
* @throws \App\Classes\Exceptions\MalformedRequestException
|
||||
* @throws \App\Classes\Exceptions\RequestValidationException
|
||||
*/
|
||||
public function logic(Request $request) : JsonResponse
|
||||
{
|
||||
|
||||
$filters = [
|
||||
// 'target_id'=>auth()->user()->id,
|
||||
// 'per_page'=>$request->route('per_page')
|
||||
];
|
||||
|
||||
$notifications = $this->listsNotification->execute($filters);
|
||||
|
||||
return $this->collectionResponse(NotificationResource::collection($notifications));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Notifications\Services;
|
||||
|
||||
|
||||
use App\Classes\General\Eloquent\AbstractListRecord;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use App\Models\Notification;
|
||||
|
||||
class ListsNotification extends AbstractListRecord
|
||||
{
|
||||
|
||||
/** @var Bank */
|
||||
private $repository;
|
||||
|
||||
/**
|
||||
* ListsBank constructor.
|
||||
* @param Notification $repository
|
||||
*/
|
||||
public function __construct(Notification $repository)
|
||||
{
|
||||
$this->repository = $repository;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return Builder
|
||||
*/
|
||||
function getRepository(): Builder
|
||||
{
|
||||
return $this->repository->newQuery();
|
||||
}
|
||||
}
|
||||
@@ -67,7 +67,7 @@ class CreateOrderLogic extends AbstractControllerLogic
|
||||
$originWarehouse = $this->fetchesCompanyModule->execute(['id' => $request->input('warehouse_id')]);
|
||||
|
||||
if(!in_array($company->companyModules()->importers()->first()->id, WarehouseReferences::YD_EXEMPT_LIST)){
|
||||
$originWarehouse = $this->fetchesCompanyModule->execute(['reference' => $originWarehouse->reference === WarehouseReferences::VT_GUANG_ZHOU ? WarehouseReferences::YD_GUANG_ZHOU_2 : WarehouseReferences::YD_YIWU]);
|
||||
$originWarehouse = $this->fetchesCompanyModule->execute(['reference' => $originWarehouse->reference === WarehouseReferences::VT_GUANG_ZHOU ? WarehouseReferences::YD_GUANG_ZHOU : WarehouseReferences::YD_YIWU]);
|
||||
}
|
||||
|
||||
if($originWarehouse->reference === WarehouseReferences::YD_YIWU && in_array($address->state_id, [5, 13, 14])) {
|
||||
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Segments\ControllersLogic;
|
||||
|
||||
use App\Classes\Exceptions\ResourceNotFoundException;
|
||||
use App\Classes\General\Abstracts\AbstractControllerLogic;
|
||||
use App\Classes\Modules\Segments\DataTransferObjects\ConstantObject;
|
||||
use App\Classes\Modules\Segments\Services\UpdatesBasePriceConstantByDates;
|
||||
use App\Classes\Modules\Segments\Services\CreatesConstant;
|
||||
use App\Classes\Modules\Segments\Services\FetchesConstant;
|
||||
use App\Classes\Modules\Segments\Services\FetchesSegment;
|
||||
use App\Classes\Modules\Segments\Standards\Rules\CanCreateConstant;
|
||||
use App\Classes\Modules\Segments\Standards\Rules\CanUpdateConstant;
|
||||
use App\Classes\Modules\Segments\Services\UpdatesConstant;
|
||||
use App\Classes\ValueObjects\Constants\SegmentConstants;
|
||||
use App\Http\Resources\ConstantResource;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class CreateBasePriceLogic extends AbstractControllerLogic
|
||||
{
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
protected function notification():array {
|
||||
return [
|
||||
'title' => 'Create Base Price',
|
||||
'message' => 'You have successfully created a Base Price'
|
||||
];
|
||||
}
|
||||
|
||||
/** @var CanUpdateConstant */
|
||||
private $canUpdateConstant;
|
||||
|
||||
/** @var UpdatesConstant */
|
||||
private $updatesConstant;
|
||||
|
||||
/** @var FetchesSegment */
|
||||
private $fetchesSegment;
|
||||
|
||||
/** @var FetchesConstant */
|
||||
private $fetchesConstant;
|
||||
|
||||
/** @var CanCreateConstant */
|
||||
private $canCreateConstant;
|
||||
|
||||
/** @var CreatesConstant */
|
||||
private $createsConstant;
|
||||
|
||||
|
||||
/** @var UpdatesBasePriceConstantByDates */
|
||||
private $updatesBasePriceConstantByDates;
|
||||
|
||||
/**
|
||||
* UpdateConstantLogic constructor.
|
||||
* @param CanUpdateConstant $canUpdateConstant
|
||||
* @param UpdatesConstant $updatesConstant
|
||||
* @param FetchesSegment $fetchesSegment
|
||||
* @param FetchesConstant $fetchesConstant
|
||||
* @param CanCreateConstant $canCreateConstant
|
||||
* @param CreatesConstant $createsConstant
|
||||
* @param UpdatesBasePriceConstantByDates $updatesBasePriceConstantByDates
|
||||
*/
|
||||
public function __construct(
|
||||
CanUpdateConstant $canUpdateConstant,
|
||||
UpdatesConstant $updatesConstant,
|
||||
FetchesSegment $fetchesSegment,
|
||||
FetchesConstant $fetchesConstant,
|
||||
CanCreateConstant $canCreateConstant,
|
||||
CreatesConstant $createsConstant,
|
||||
UpdatesBasePriceConstantByDates $updatesBasePriceConstantByDates
|
||||
)
|
||||
{
|
||||
$this->canUpdateConstant = $canUpdateConstant;
|
||||
$this->updatesConstant = $updatesConstant;
|
||||
$this->fetchesSegment = $fetchesSegment;
|
||||
$this->fetchesConstant = $fetchesConstant;
|
||||
$this->canCreateConstant = $canCreateConstant;
|
||||
$this->createsConstant = $createsConstant;
|
||||
$this->updatesBasePriceConstantByDates = $updatesBasePriceConstantByDates;
|
||||
}
|
||||
/**
|
||||
* @param Request $request
|
||||
* @return JsonResponse
|
||||
* @throws \App\Classes\Exceptions\AccessForbiddenException
|
||||
* @throws \App\Classes\Exceptions\MalformedRequestException
|
||||
* @throws \App\Classes\Exceptions\RequestValidationException
|
||||
*/
|
||||
public function logic(Request $request) : JsonResponse
|
||||
{
|
||||
$segment = $this->fetchesSegment->execute(['id' => $request->route('id')]);
|
||||
|
||||
try {
|
||||
|
||||
$constant = $this->fetchesConstant->execute(['segment_id' => $segment->id, 'reference' => SegmentConstants::BASE_PRICE]);
|
||||
|
||||
} catch (ResourceNotFoundException $exception){
|
||||
|
||||
$constantObject = [];
|
||||
|
||||
$object = new ConstantObject(
|
||||
SegmentConstants::BASE_PRICE,
|
||||
$constantObject
|
||||
);
|
||||
|
||||
$constant = $this->createsConstant->execute($segment, $object);
|
||||
}
|
||||
|
||||
$constantValue = $this->updatesBasePriceConstantByDates->execute($constant->value, $request->input('dateFrom'), $request->input('dateTo'), $request->input('rate'));
|
||||
|
||||
$object = new ConstantObject(SegmentConstants::BASE_PRICE, $constantValue);
|
||||
|
||||
$this->canUpdateConstant->passes($object);
|
||||
|
||||
$constant = $this->updatesConstant->execute($constant, $object);
|
||||
|
||||
return $this->resourceResponse(new ConstantResource($constant));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Segments\ControllersLogic;
|
||||
|
||||
use App\Classes\General\Abstracts\AbstractControllerLogic;
|
||||
use App\Classes\Modules\Segments\Services\FetchesConstant;
|
||||
use App\Classes\ValueObjects\Constants\SegmentConstants;
|
||||
use App\Http\Resources\ConstantResource;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use Carbon\CarbonPeriod;
|
||||
|
||||
class FetchBasePriceLogic extends AbstractControllerLogic
|
||||
{
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
protected function notification():array {
|
||||
return [
|
||||
'title' => 'Retrieved Base Price',
|
||||
'message' => 'You have successfully retrieved the Base Price'
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
/** @var FetchesConstant */
|
||||
private $fetchesConstant;
|
||||
|
||||
/**
|
||||
* FetchConstantLogic constructor.
|
||||
* @param FetchesConstant $fetchesConstant
|
||||
*/
|
||||
public function __construct(FetchesConstant $fetchesConstant)
|
||||
{
|
||||
$this->fetchesConstant = $fetchesConstant;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param Request $request
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function logic(Request $request) : JsonResponse
|
||||
{
|
||||
|
||||
$constant = $this->fetchesConstant->execute(['segment_id' => $request->route('id'), 'reference' => SegmentConstants::BASE_PRICE]);
|
||||
|
||||
$constantObject = (array) $constant->value;
|
||||
|
||||
if ($request->input('dateFrom') !== null && $request->input('dateTo') !== null) {
|
||||
|
||||
$period = CarbonPeriod::create($request->input('dateFrom'), $request->input('dateTo'));
|
||||
|
||||
$returnObject = [];
|
||||
|
||||
foreach ($period as $date) {
|
||||
array_key_exists($date->format('Y-m-d'), $constantObject) === true ? $returnObject[$date->format('Y-m-d')] = $constantObject[$date->format('Y-m-d')] : '';
|
||||
}
|
||||
|
||||
$constant->value = json_encode($returnObject);
|
||||
|
||||
}
|
||||
|
||||
return $this->resourceResponse(new ConstantResource($constant));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,7 +5,9 @@ namespace App\Classes\Modules\Segments\ControllersLogic;
|
||||
use App\Classes\Exceptions\ResourceNotFoundException;
|
||||
use App\Classes\General\Abstracts\AbstractControllerLogic;
|
||||
use App\Classes\Modules\Segments\DataTransferObjects\ConstantObject;
|
||||
use App\Classes\Modules\Segments\DataTransferObjects\SegmentObject;
|
||||
use App\Classes\Modules\Segments\Services\CreatesConstant;
|
||||
use App\Classes\Modules\Segments\Services\CreatesSegment;
|
||||
use App\Classes\Modules\Segments\Services\FetchesConstant;
|
||||
use App\Classes\Modules\Segments\Services\FetchesSegment;
|
||||
use App\Classes\Modules\Segments\Standards\Rules\CanCreateConstant;
|
||||
@@ -15,6 +17,7 @@ use App\Http\Resources\ConstantResource;
|
||||
use App\Models\SegmentConstant;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use App\Classes\Modules\Segments\Services\UpdatesConstantValue;
|
||||
|
||||
class UpdateConstantLogic extends AbstractControllerLogic
|
||||
{
|
||||
@@ -47,6 +50,11 @@ class UpdateConstantLogic extends AbstractControllerLogic
|
||||
/** @var CreatesConstant */
|
||||
private $createsConstant;
|
||||
|
||||
/** @var CreatesSegment */
|
||||
private $createsSegment;
|
||||
|
||||
/** @var UpdatesConstantValue */
|
||||
private $updatesConstantValue;
|
||||
|
||||
/**
|
||||
* UpdateConstantLogic constructor.
|
||||
@@ -56,8 +64,19 @@ class UpdateConstantLogic extends AbstractControllerLogic
|
||||
* @param FetchesConstant $fetchesConstant
|
||||
* @param CanCreateConstant $canCreateConstant
|
||||
* @param CreatesConstant $createsConstant
|
||||
* @param UpdatesConstantValueByState $updatesConstantValueByState
|
||||
* @param CreatesSegment $createsSegment
|
||||
*/
|
||||
public function __construct(CanUpdateConstant $canUpdateConstant, UpdatesConstant $updatesConstant, FetchesSegment $fetchesSegment, FetchesConstant $fetchesConstant, CanCreateConstant $canCreateConstant, CreatesConstant $createsConstant)
|
||||
public function __construct(
|
||||
CanUpdateConstant $canUpdateConstant,
|
||||
UpdatesConstant $updatesConstant,
|
||||
FetchesSegment $fetchesSegment,
|
||||
FetchesConstant $fetchesConstant,
|
||||
CanCreateConstant $canCreateConstant,
|
||||
CreatesConstant $createsConstant,
|
||||
UpdatesConstantValue $updatesConstantValue,
|
||||
CreatesSegment $createsSegment
|
||||
)
|
||||
{
|
||||
$this->canUpdateConstant = $canUpdateConstant;
|
||||
$this->updatesConstant = $updatesConstant;
|
||||
@@ -65,6 +84,8 @@ class UpdateConstantLogic extends AbstractControllerLogic
|
||||
$this->fetchesConstant = $fetchesConstant;
|
||||
$this->canCreateConstant = $canCreateConstant;
|
||||
$this->createsConstant = $createsConstant;
|
||||
$this->updatesConstantValue = $updatesConstantValue;
|
||||
$this->createsSegment = $createsSegment;
|
||||
}
|
||||
/**
|
||||
* @param Request $request
|
||||
@@ -75,28 +96,33 @@ class UpdateConstantLogic extends AbstractControllerLogic
|
||||
*/
|
||||
public function logic(Request $request) : JsonResponse
|
||||
{
|
||||
|
||||
$object = new ConstantObject($request->input('reference'), $request->input('value'));
|
||||
|
||||
$segment = $this->fetchesSegment->execute(['id' => $request->route('id')]);
|
||||
|
||||
try {
|
||||
|
||||
$constant = $this->fetchesConstant->execute(['segment_id' => $segment->id, 'reference' => $object->getReference()]);
|
||||
$this->canUpdateConstant->passes($object);
|
||||
$constant = $this->fetchesConstant->execute(['segment_id' => $segment->id, 'reference' => $request->input('reference')]);
|
||||
|
||||
/** @var SegmentConstant $constant */
|
||||
$constant = $this->updatesConstant->execute($constant, $object);
|
||||
$constantValue = $this->updatesConstantValue->execute($constant->value, $request->input('id'), $request->input('rate'));
|
||||
|
||||
$object = new ConstantObject($request->input('reference'), $constantValue);
|
||||
|
||||
$this->canUpdateConstant->passes($object);
|
||||
|
||||
} catch (ResourceNotFoundException $exception){
|
||||
|
||||
$this->canCreateConstant->passes($object);
|
||||
$constantObject = [];
|
||||
|
||||
$constantObject[$request->input('id')] = $request->input('rate');
|
||||
|
||||
$object = new ConstantObject(
|
||||
$request->input('reference'),
|
||||
$constantObject
|
||||
);
|
||||
|
||||
/** @var SegmentConstant $constant */
|
||||
$constant = $this->createsConstant->execute($segment, $object);
|
||||
|
||||
}
|
||||
|
||||
|
||||
$constant = $this->updatesConstant->execute($constant, $object);
|
||||
|
||||
return $this->resourceResponse(new ConstantResource($constant));
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@ use App\Classes\Modules\Segments\Standards\Rules\CanUpdateConstant;
|
||||
use App\Classes\Modules\Segments\DataTransferObjects\ConstantObject;
|
||||
use App\Classes\Modules\Segments\Services\AddItemToConstantValueArray;
|
||||
use App\Classes\Modules\Segments\Services\RemoveItemFromConstantValueArray;
|
||||
use App\Classes\Exceptions\ResourceNotFoundException;
|
||||
use App\Classes\Modules\Segments\Services\CreatesConstant;
|
||||
|
||||
class UpdateConstantPostcodeLogic extends AbstractControllerLogic
|
||||
{
|
||||
@@ -46,6 +48,8 @@ class UpdateConstantPostcodeLogic extends AbstractControllerLogic
|
||||
/** @var RemoveItemFromConstantValueArray */
|
||||
private $removeItemFromConstantValueArray;
|
||||
|
||||
/** @var CreatesConstant */
|
||||
private $createsConstant;
|
||||
|
||||
/**
|
||||
* UpdateConstantLogic constructor.
|
||||
@@ -54,9 +58,18 @@ class UpdateConstantPostcodeLogic extends AbstractControllerLogic
|
||||
* @param FetchesSegment $fetchesSegment
|
||||
* @param FetchesConstant $fetchesConstant
|
||||
* @param AddItemToConstantValueArray $addItemToConstantValueArray
|
||||
* @param CreatesConstant $createsConstant
|
||||
* @param RemoveItemFromConstantValueArray $removeItemFromConstantValueArray
|
||||
*/
|
||||
public function __construct(CanUpdateConstant $canUpdateConstant, UpdatesConstant $updatesConstant, FetchesSegment $fetchesSegment, FetchesConstant $fetchesConstant,AddItemToConstantValueArray $addItemToConstantValueArray, RemoveItemFromConstantValueArray $removeItemFromConstantValueArray)
|
||||
public function __construct(
|
||||
CanUpdateConstant $canUpdateConstant,
|
||||
UpdatesConstant $updatesConstant,
|
||||
FetchesSegment $fetchesSegment,
|
||||
FetchesConstant $fetchesConstant,
|
||||
AddItemToConstantValueArray $addItemToConstantValueArray,
|
||||
RemoveItemFromConstantValueArray $removeItemFromConstantValueArray,
|
||||
CreatesConstant $createsConstant
|
||||
)
|
||||
{
|
||||
$this->canUpdateConstant = $canUpdateConstant;
|
||||
$this->updatesConstant = $updatesConstant;
|
||||
@@ -64,6 +77,7 @@ class UpdateConstantPostcodeLogic extends AbstractControllerLogic
|
||||
$this->fetchesConstant = $fetchesConstant;
|
||||
$this->addItemToConstantValueArray = $addItemToConstantValueArray;
|
||||
$this->removeItemFromConstantValueArray = $removeItemFromConstantValueArray;
|
||||
$this->createsConstant = $createsConstant;
|
||||
}
|
||||
/**
|
||||
* @param Request $request
|
||||
@@ -76,24 +90,42 @@ class UpdateConstantPostcodeLogic extends AbstractControllerLogic
|
||||
{
|
||||
$segment = $this->fetchesSegment->execute(['id' => $request->route('id')]);
|
||||
|
||||
$constant = $this->fetchesConstant->execute(['segment_id' => $segment->id, 'reference' => $request->input('reference')]);
|
||||
try {
|
||||
$constant = $this->fetchesConstant->execute(['segment_id' => $segment->id, 'reference' => $request->input('reference')]);
|
||||
|
||||
$object = new ConstantObject($constant->reference, $this->addItemToConstantValueArray->execute($constant->value, $request->input('postcode')));
|
||||
$this->canUpdateConstant->passes($object);
|
||||
$constantValue = $this->addItemToConstantValueArray->execute($constant->value, $request->input('postcode'));
|
||||
|
||||
$object = new ConstantObject($request->input('reference'), $constantValue);
|
||||
|
||||
} catch (ResourceNotFoundException $exception){
|
||||
|
||||
$constantObject = [$request->input('postcode')];
|
||||
|
||||
$object = new ConstantObject(
|
||||
$request->input('reference'),
|
||||
$constantObject
|
||||
);
|
||||
|
||||
$constant = $this->createsConstant->execute($segment, $object);
|
||||
}
|
||||
|
||||
try {
|
||||
// check if postcode exist in the opposite constant, and delete it
|
||||
$oppositeConstant = $this->fetchesConstant->execute(['segment_id' => $segment->id, 'reference' => $request->input('reference') == SegmentConstants::CENTER_POSTCODE ? SegmentConstants::OUTSTATION_POSTCODE : SegmentConstants::CENTER_POSTCODE]);
|
||||
|
||||
$oppositeConstantValue = $this->removeItemFromConstantValueArray->execute($oppositeConstant->value, $request->input('postcode'));
|
||||
|
||||
$oppositeObject = new ConstantObject($request->input('reference') == SegmentConstants::CENTER_POSTCODE ? SegmentConstants::OUTSTATION_POSTCODE : SegmentConstants::CENTER_POSTCODE, $oppositeConstantValue);
|
||||
|
||||
$this->updatesConstant->execute($oppositeConstant, $oppositeObject);
|
||||
|
||||
} catch (ResourceNotFoundException $exception){
|
||||
// if opposite constant does not exist, do nothing
|
||||
}
|
||||
|
||||
$constant = $this->updatesConstant->execute($constant, $object);
|
||||
|
||||
$oppositeConstant = $this->fetchesConstant->execute(['segment_id' => $segment->id, 'reference' => $request->input('reference') == SegmentConstants::CENTER_POSTCODE ? SegmentConstants::OUTSTATION_POSTCODE : SegmentConstants::CENTER_POSTCODE]);
|
||||
|
||||
$oppositeObject = new ConstantObject($request->input('reference') == SegmentConstants::CENTER_POSTCODE ? SegmentConstants::OUTSTATION_POSTCODE : SegmentConstants::CENTER_POSTCODE, $this->removeItemFromConstantValueArray->execute($oppositeConstant->value, $request->input('postcode')));
|
||||
|
||||
$oppositeConstant = $this->updatesConstant->execute($oppositeConstant, $oppositeObject);
|
||||
|
||||
|
||||
return $this->response([
|
||||
'CENTER_POSTCODE' => $constant->reference == SegmentConstants::CENTER_POSTCODE ? new ConstantResource($constant) : New ConstantResource($oppositeConstant),
|
||||
'OUTSTATION_POSTCODE' => $constant->reference == SegmentConstants::OUTSTATION_POSTCODE ? new ConstantResource($constant) : New ConstantResource($oppositeConstant),
|
||||
]);
|
||||
return $this->resourceResponse(new ConstantResource($constant));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,87 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Segments\ControllersLogic;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Models\SegmentConstant;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use App\Http\Resources\ConstantResource;
|
||||
use App\Classes\ValueObjects\Constants\SegmentConstants;
|
||||
use App\Classes\Modules\Segments\Services\FetchesSegment;
|
||||
use App\Classes\General\Abstracts\AbstractControllerLogic;
|
||||
use App\Classes\Modules\Segments\Services\FetchesConstant;
|
||||
use App\Classes\Modules\Segments\Services\UpdatesConstant;
|
||||
use App\Classes\Modules\Segments\Standards\Rules\CanUpdateConstant;
|
||||
use App\Classes\Modules\Segments\DataTransferObjects\ConstantObject;
|
||||
use App\Classes\Modules\Segments\Services\UpdatesConstantValueByState;
|
||||
|
||||
class UpdateConstantStateLogic extends AbstractControllerLogic
|
||||
{
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
protected function notification():array {
|
||||
return [
|
||||
'title' => 'Updated Segment Constant',
|
||||
'message' => 'You have successfully updated the Segment Constant'
|
||||
];
|
||||
}
|
||||
|
||||
/** @var CanUpdateConstant */
|
||||
private $canUpdateConstant;
|
||||
|
||||
/** @var UpdatesConstant */
|
||||
private $updatesConstant;
|
||||
|
||||
/** @var FetchesSegment */
|
||||
private $fetchesSegment;
|
||||
|
||||
/** @var FetchesConstant */
|
||||
private $fetchesConstant;
|
||||
|
||||
/** @var UpdatesConstantValueByState */
|
||||
private $updatesConstantValueByState;
|
||||
|
||||
|
||||
/**
|
||||
* UpdateConstantLogic constructor.
|
||||
* @param CanUpdateConstant $canUpdateConstant
|
||||
* @param UpdatesConstant $updatesConstant
|
||||
* @param FetchesSegment $fetchesSegment
|
||||
* @param FetchesConstant $fetchesConstant
|
||||
* @param UpdatesConstantValueByState $updatesConstantValueByState
|
||||
*/
|
||||
public function __construct(CanUpdateConstant $canUpdateConstant, UpdatesConstant $updatesConstant, FetchesSegment $fetchesSegment, FetchesConstant $fetchesConstant,UpdatesConstantValueByState $updatesConstantValueByState)
|
||||
{
|
||||
$this->canUpdateConstant = $canUpdateConstant;
|
||||
$this->updatesConstant = $updatesConstant;
|
||||
$this->fetchesSegment = $fetchesSegment;
|
||||
$this->fetchesConstant = $fetchesConstant;
|
||||
$this->updatesConstantValueByState = $updatesConstantValueByState;
|
||||
}
|
||||
/**
|
||||
* @param Request $request
|
||||
* @return JsonResponse
|
||||
* @throws \App\Classes\Exceptions\AccessForbiddenException
|
||||
* @throws \App\Classes\Exceptions\MalformedRequestException
|
||||
* @throws \App\Classes\Exceptions\RequestValidationException
|
||||
*/
|
||||
public function logic(Request $request) : JsonResponse
|
||||
{
|
||||
$segment = $this->fetchesSegment->execute(['id' => $request->route('id')]);
|
||||
|
||||
$constant = $this->fetchesConstant->execute(['segment_id' => $segment->id, 'reference' => SegmentConstants::STATE_RATE]);
|
||||
|
||||
$constantValue = $this->updatesConstantValueByState->execute($constant->value, $request->input('status_id'), $request->input('rate'));
|
||||
|
||||
$object = new ConstantObject(SegmentConstants::STATE_RATE, (array) $constantValue);
|
||||
$this->canUpdateConstant->passes($object);
|
||||
|
||||
$constant = $this->updatesConstant->execute($constant, $object);
|
||||
|
||||
|
||||
return $this->resourceResponse(new ConstantResource($constant));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Segments\Services;
|
||||
|
||||
use Carbon\CarbonPeriod;
|
||||
|
||||
class UpdatesBasePriceConstantByDates
|
||||
{
|
||||
|
||||
/**
|
||||
* @param $json
|
||||
* @param int $status_id
|
||||
* @param Array $rate
|
||||
* @return Array
|
||||
*/
|
||||
public function execute($json, String $date_from, String $date_to, String $rate) {
|
||||
|
||||
$objectArray = (array) $json;
|
||||
|
||||
$period = CarbonPeriod::create($date_from, $date_to);
|
||||
|
||||
foreach ($period as $date) {
|
||||
$objectArray[$date->format('Y-m-d')] = $rate;
|
||||
}
|
||||
|
||||
return $objectArray;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Segments\Services;
|
||||
|
||||
class UpdatesConstantValue
|
||||
{
|
||||
|
||||
/**
|
||||
* @param $json
|
||||
* @param int $status_id
|
||||
* @param Array $rate
|
||||
* @return Array
|
||||
*/
|
||||
public function execute($json, int $state_id, Array $rate) {
|
||||
|
||||
$objectArray = (array) $json;
|
||||
|
||||
$objectArray[$state_id] = $rate;
|
||||
|
||||
return $objectArray;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Segments\Services;
|
||||
|
||||
class UpdatesConstantValueByState
|
||||
{
|
||||
|
||||
/**
|
||||
* @param $json
|
||||
* @param int $status_id
|
||||
* @param int $rate
|
||||
* @return string
|
||||
*/
|
||||
public function execute($json, int $status_id, int $rate) {
|
||||
|
||||
$newArray = $json;
|
||||
foreach($json->config as $key => $object){
|
||||
if($object->status_id == $status_id){
|
||||
$newArray->config[$key] = (object) [
|
||||
'rate' => $rate,
|
||||
'status_id' => $object->status_id,
|
||||
'outstation_rate' => $object->outstation_rate,
|
||||
];
|
||||
}else{
|
||||
$newArray->config[$key] = $object;
|
||||
}
|
||||
}
|
||||
return $newArray;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+40
-42
@@ -21,10 +21,12 @@ use App\Classes\ValueObjects\Constants\PaymentMethodType;
|
||||
use App\Classes\ValueObjects\Constants\ApprovalStatus;
|
||||
use App\Classes\ValueObjects\Constants\DocumentType;
|
||||
use App\Classes\ValueObjects\Constants\PackageType;
|
||||
use App\Classes\ValueObjects\Constants\SegmentConstants;
|
||||
use App\Classes\ValueObjects\Constants\TransactionDetailType;
|
||||
|
||||
use App\Models\Document;
|
||||
use App\Models\Transaction;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
@@ -98,57 +100,35 @@ class CreateShippingInvoiceTransactionLogic extends AbstractControllerLogic
|
||||
return ($package->width / 100) * ($package->height / 100) *($package->length / 100) * ($package->quantity);
|
||||
});
|
||||
|
||||
$order = $packing_list->owner()->first();
|
||||
$order = $packing_list->owner;
|
||||
$address = $order->addresses()->first();
|
||||
|
||||
$base_price_constant = $this->fetchesSegmentConstant->execute(['id' => 1]);
|
||||
$warehouse_rate_constant = $this->fetchesSegmentConstant->execute(['id' => 2]);
|
||||
$state_rate_constant = $this->fetchesSegmentConstant->execute(['id' => 3]);
|
||||
$center_postcode_constant = $this->fetchesSegmentConstant->execute(['id' => 4]);
|
||||
$outstation_postcode_constant = $this->fetchesSegmentConstant->execute(['id' => 5]);
|
||||
$base_price_constant = $this->fetchesSegmentConstant->execute(['segment_id' => 1, 'reference' => SegmentConstants::BASE_PRICE]);
|
||||
$warehouse_rate_constant = $this->fetchesSegmentConstant->execute(['segment_id' => 1, 'reference' => SegmentConstants::WAREHOUSE_RATE]);
|
||||
$state_rate_constant = $this->fetchesSegmentConstant->execute(['segment_id' => 1, 'reference' => SegmentConstants::STATE_RATE]);
|
||||
$center_postcode_constant = $this->fetchesSegmentConstant->execute(['segment_id' => 1, 'reference' => SegmentConstants::CENTER_POSTCODE]);
|
||||
$outstation_postcode_constant = $this->fetchesSegmentConstant->execute(['segment_id' => 1, 'reference' => SegmentConstants::OUTSTATION_POSTCODE]);
|
||||
|
||||
$base_price = 0;
|
||||
$warehouse_rate = 0;
|
||||
$state_rate = 0;
|
||||
$state_select = [];
|
||||
$with_out = false;
|
||||
$state_select = '';
|
||||
|
||||
if ($base_price_constant) {
|
||||
$base_price = $base_price_constant->value->price;
|
||||
}
|
||||
$base_price = $this->getConstantByKey($base_price_constant, date('Y-m-d'));
|
||||
|
||||
if ($warehouse_rate_constant) {
|
||||
$package_warehouse = $order->OrderRoles()->where('role_id', '=', OrderRoleTypes::ORIGIN_WAREHOUSE)->first()->appointee->reference;
|
||||
foreach ($warehouse_rate_constant->value->config as $key_warehouse => $row_warehouse) {
|
||||
if ($row_warehouse->warehouse_name == $package_warehouse) {
|
||||
$warehouse_rate = $row_warehouse->rate;
|
||||
}
|
||||
}
|
||||
}
|
||||
$warehouseId = $order->orderRoles()->where('role_id', OrderRoleTypes::ORIGIN_WAREHOUSE)->first()->company_module_id;
|
||||
$selected_warehouse_rate = $this->getConstantByKey($warehouse_rate_constant, $warehouseId);
|
||||
$warehouse_rate = is_object($selected_warehouse_rate) ? $selected_warehouse_rate->amount : 0;
|
||||
|
||||
if ($state_rate_constant) {
|
||||
foreach ($state_rate_constant->value->config as $key_state => $row_state) {
|
||||
if ($row_state->status_id == $address->state_id) {
|
||||
$state_select = $row_state;
|
||||
}
|
||||
}
|
||||
}
|
||||
$stateId = $address->state_id;
|
||||
$state_rate_constant = $this->getConstantByKey($state_rate_constant, $stateId);
|
||||
|
||||
if ($outstation_postcode_constant) {
|
||||
foreach ($outstation_postcode_constant->value as $key_out => $row_out) {
|
||||
|
||||
if($row_out == $address->postcode) {
|
||||
$with_out = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($state_select)) {
|
||||
$state_rate = $state_select->rate;
|
||||
if ($with_out) {
|
||||
$state_rate = $state_select->rate + $state_select->outstation_rate;
|
||||
}
|
||||
}
|
||||
// get $state_rate
|
||||
$postcode = $address->postcode;
|
||||
$this->checkPostcodeExistInConstant($center_postcode_constant, $postcode) === true ? $state_select = 'center' : '' ;
|
||||
$this->checkPostcodeExistInConstant($outstation_postcode_constant, $postcode) === true ? $state_select = 'outstation' : '' ;
|
||||
$state_rate_constant = (array)$state_rate_constant;
|
||||
$state_rate = $state_select == '' ? 0 : $state_rate_constant[$state_select];
|
||||
|
||||
$price_cbm = $base_price + $warehouse_rate + $state_rate;
|
||||
$total_cbm = $price_cbm * ($cbm + $over_weight_cbm);
|
||||
@@ -170,7 +150,7 @@ class CreateShippingInvoiceTransactionLogic extends AbstractControllerLogic
|
||||
0,
|
||||
0,
|
||||
null,
|
||||
ApprovalStatus::PENDING_SUBMISSION
|
||||
ApprovalStatus::PENDING_VERIFICATION
|
||||
);
|
||||
|
||||
/** @var Transaction $invoice_transaction */
|
||||
@@ -213,4 +193,22 @@ class CreateShippingInvoiceTransactionLogic extends AbstractControllerLogic
|
||||
|
||||
return $this->response([]);
|
||||
}
|
||||
|
||||
function getConstantByKey($segmentConstantObject, $key) {
|
||||
if ($segmentConstantObject) {
|
||||
$base_rate = (array) $segmentConstantObject->value;
|
||||
$base_rate = array_key_exists($key, $base_rate) === true ? $base_rate[$key] : 0;
|
||||
return $base_rate;
|
||||
}
|
||||
}
|
||||
|
||||
function checkPostcodeExistInConstant($segmentConstantObject, $postcode) {
|
||||
$segmentConstantObject = $segmentConstantObject->value;
|
||||
if (!empty($segmentConstantObject)) {
|
||||
return in_array($postcode, $segmentConstantObject);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exports;
|
||||
|
||||
use App\Classes\Modules\Exports\Services\ExportsCompanyModuleSummary;
|
||||
use App\Models\User;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Maatwebsite\Excel\Excel;
|
||||
|
||||
class ExportCompanyModuleSummaryController
|
||||
{
|
||||
/**
|
||||
* ExportCompanyModuleSummaryController constructor.
|
||||
* @param Request $request
|
||||
*/
|
||||
public function __construct(Request $request)
|
||||
{
|
||||
$token = Auth::fromUser(User::find(1));
|
||||
$request->headers->set('Authorization', 'Bearer '.$token);
|
||||
}
|
||||
|
||||
public function export(Request $request) {
|
||||
$exportsCompanyModuleSummary = new ExportsCompanyModuleSummary($request);
|
||||
$exportsCompanyModuleSummary->setParameters($request->route('company_module_id'), $request->input('containerNumber'));
|
||||
$response = $exportsCompanyModuleSummary->download('customerid-markingno.xls', Excel::XLS, ['Content-Type' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']);
|
||||
ob_end_clean();
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Notifications;
|
||||
|
||||
use App\Classes\Modules\Notifications\ControllersLogic\ListNotificationsLogic;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class ListNotificationsController
|
||||
{
|
||||
/**
|
||||
* @param Request $request
|
||||
* @param ListNotificationsLogic $logic
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function list(Request $request, ListNotificationsLogic $logic): JsonResponse {
|
||||
return $logic->execute($request);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Segments;
|
||||
|
||||
use App\Classes\Modules\Segments\ControllersLogic\CreateBasePriceLogic;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class CreateBasePriceController
|
||||
{
|
||||
/**
|
||||
* @param Request $request
|
||||
* @param CreateBasePriceLogic $logic
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function create(Request $request, CreateBasePriceLogic $logic): JsonResponse {
|
||||
return $logic->execute($request);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Segments;
|
||||
|
||||
use App\Classes\Modules\Segments\ControllersLogic\FetchBasePriceLogic;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class FetchBasePriceController
|
||||
{
|
||||
/**
|
||||
* @param Request $request
|
||||
* @param FetchSegmentLogic $logic
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function fetch(Request $request, FetchBasePriceLogic $logic): JsonResponse {
|
||||
return $logic->execute($request);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Segments;
|
||||
|
||||
use App\Classes\Modules\Segments\ControllersLogic\UpdateConstantStateLogic;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class UpdateConstantStateController
|
||||
{
|
||||
/**
|
||||
* @param Request $request
|
||||
* @param UpdateConstantStateLogic $logic
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function update(Request $request, UpdateConstantStateLogic $logic): JsonResponse {
|
||||
return $logic->execute($request);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,6 +5,8 @@ namespace App\Http\Resources;
|
||||
use App\Classes\ValueObjects\Constants\ApprovalStatus;
|
||||
use App\Models\Order;
|
||||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
use App\Models\SegmentConstant;
|
||||
use App\Classes\ValueObjects\Constants\SegmentConstants;
|
||||
|
||||
class AddressResource extends JsonResource
|
||||
{
|
||||
@@ -17,6 +19,14 @@ class AddressResource extends JsonResource
|
||||
public function toArray($request)
|
||||
{
|
||||
|
||||
$centerPostcodeConstantObject = SegmentConstant::where('reference', SegmentConstants::CENTER_POSTCODE)->get();
|
||||
$centerPostcodeConstant = $centerPostcodeConstantObject->isEmpty() ? [] : (array)$centerPostcodeConstantObject->first()->value;
|
||||
$postcodeArea = in_array($this->postcode, $centerPostcodeConstant) ? 'CENTER_POSTCODE' : '';
|
||||
|
||||
$outstationPostcodeConstantObject = SegmentConstant::where('reference', SegmentConstants::OUTSTATION_POSTCODE)->get();
|
||||
$outstationPostcodeConstant = $outstationPostcodeConstantObject->isEmpty() ? [] : (array)$outstationPostcodeConstantObject->first()->value;
|
||||
in_array($this->postcode, $outstationPostcodeConstant) ? $postcodeArea = 'OUTSTATION_POSTCODE' : '';
|
||||
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'reference' => $this->reference,
|
||||
@@ -25,6 +35,7 @@ class AddressResource extends JsonResource
|
||||
'district' => $this->district,
|
||||
'state' => $this->state,
|
||||
'post_code' => $this->postcode,
|
||||
'post_code_area' => $postcodeArea,
|
||||
'country' => $this->country,
|
||||
'default' => (int) $this->default,
|
||||
'status' => (int) $this->status,
|
||||
|
||||
@@ -32,6 +32,9 @@ class CompanyModuleResource extends JsonResource
|
||||
$connection = $this->inviters()->withPivot('invitee_reference')->first();
|
||||
$marking = $connection ? $connection->pivot->invitee_reference:'';
|
||||
|
||||
$segmentConstantObject = SegmentConstant::where('reference', SegmentConstants::WAREHOUSE_RATE)->get();
|
||||
$segmentConstant = $segmentConstantObject->isEmpty() ? [] : (array)$segmentConstantObject->first()->value;
|
||||
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'type' => $this->type,
|
||||
@@ -40,7 +43,8 @@ class CompanyModuleResource extends JsonResource
|
||||
'address' => new AddressResource($defaultAddress),
|
||||
'company' => new CompanyResource($this->whenLoaded('company')),
|
||||
'remarks' => RemarkResource::collection($this->remarks),
|
||||
'marking' => $marking
|
||||
'marking' => $marking,
|
||||
'warehouseCharges' => array_key_exists($this->id, $segmentConstant) ? $segmentConstant[$this->id] : null,
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -20,6 +20,7 @@ class DistrictResource extends JsonResource
|
||||
'state' => $this->state,
|
||||
'country' => $this->country,
|
||||
'postcode' => $this->postcode,
|
||||
'postcodeArray' => PostcodeResource::collection(json_decode($this->postcode)),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Resources;
|
||||
|
||||
use App\Classes\ValueObjects\Constants\ApprovalStatus;
|
||||
use App\Classes\ValueObjects\Constants\BusinessType;
|
||||
use App\Classes\ValueObjects\Constants\DocumentType;
|
||||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
use Illuminate\Support\Facades\Crypt;
|
||||
|
||||
class NotificationResource extends JsonResource
|
||||
{
|
||||
/**
|
||||
* Transform the resource into an array.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return array
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'title' => $this->title,
|
||||
'description' => $this->description,
|
||||
'long_ago' => $this->created_at->diffForHumans(),
|
||||
'created_at' => $this->created_at->format('d-m-Y')
|
||||
];
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Resources;
|
||||
|
||||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
use App\Models\SegmentConstant;
|
||||
use App\Classes\ValueObjects\Constants\SegmentConstants;
|
||||
|
||||
|
||||
class PostcodeResource extends JsonResource
|
||||
{
|
||||
/**
|
||||
* Transform the resource into an array.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return array
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
$centerPostcodeConstantObject = SegmentConstant::where('reference', SegmentConstants::CENTER_POSTCODE)->get();
|
||||
$centerPostcodeConstant = $centerPostcodeConstantObject->isEmpty() ? [] : (array)$centerPostcodeConstantObject->first()->value;
|
||||
$postcodeArea = in_array($this->resource, $centerPostcodeConstant) ? 'CENTER_POSTCODE' : '';
|
||||
|
||||
$outstationPostcodeConstantObject = SegmentConstant::where('reference', SegmentConstants::OUTSTATION_POSTCODE)->get();
|
||||
$outstationPostcodeConstant = $outstationPostcodeConstantObject->isEmpty() ? [] : (array)$outstationPostcodeConstantObject->first()->value;
|
||||
in_array($this->resource, $outstationPostcodeConstant) ? $postcodeArea = 'OUTSTATION_POSTCODE' : '';
|
||||
|
||||
return [
|
||||
'postcode' => $this->resource,
|
||||
'postcodeArea' => $postcodeArea,
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Resources;
|
||||
|
||||
use App\Models\SegmentConstant;
|
||||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
use App\Classes\ValueObjects\Constants\SegmentConstants;
|
||||
|
||||
class StateResource extends JsonResource
|
||||
{
|
||||
@@ -14,10 +15,15 @@ class StateResource extends JsonResource
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
|
||||
$segmentConstantObject = SegmentConstant::where('reference', SegmentConstants::STATE_RATE)->get();
|
||||
$segmentConstant = $segmentConstantObject->isEmpty() ? [] : (array)$segmentConstantObject->first()->value;
|
||||
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'name' => $this->name,
|
||||
'country' => $this->country,
|
||||
'stateCharges' => array_key_exists($this->id, $segmentConstant) ? $segmentConstant[$this->id] : null,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class SegmentCompany extends AbstractModel
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
protected $table = 'segment_companies';
|
||||
}
|
||||
|
||||
@@ -15,6 +15,8 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
*/
|
||||
class SegmentConstant extends AbstractModel
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
protected $table = 'segment_constants';
|
||||
|
||||
public function getDetailAttribute($value)
|
||||
|
||||
@@ -16,6 +16,7 @@ class CreateSegmentCompaniesTable extends Migration
|
||||
Schema::create('segment_companies', function (Blueprint $table) {
|
||||
$table->foreignId('segment_id');
|
||||
$table->foreignId('company_id');
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
$table->primary(['segment_id', 'company_id']);
|
||||
});
|
||||
|
||||
+1
-1
@@ -32,6 +32,6 @@ class CreateAddonsTables extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('order_addons');
|
||||
Schema::dropIfExists('addons');
|
||||
}
|
||||
}
|
||||
@@ -19,8 +19,8 @@ class SegmentConstantsTableSeeder extends Seeder
|
||||
'segment_id' => 1,
|
||||
'reference' => SegmentConstants::BASE_PRICE,
|
||||
'value' => json_encode([
|
||||
'id'=> 1,
|
||||
'price' => 500,
|
||||
'2022-05-01'=> '0.00',
|
||||
'2022-05-02'=> '0.00',
|
||||
]),
|
||||
],
|
||||
[
|
||||
@@ -28,21 +28,12 @@ class SegmentConstantsTableSeeder extends Seeder
|
||||
'segment_id' => 1,
|
||||
'reference' => SegmentConstants::WAREHOUSE_RATE,
|
||||
'value' => json_encode([
|
||||
'id'=> 1,
|
||||
'config' => [
|
||||
[
|
||||
'warehouse_name' => WarehouseReferences::VT_GUANG_ZHOU,
|
||||
'rate' => 10
|
||||
],
|
||||
[
|
||||
'warehouse_name' => WarehouseReferences::YD_GUANG_ZHOU,
|
||||
'rate' => 10
|
||||
],
|
||||
[
|
||||
'warehouse_name' => WarehouseReferences::VT_YIWU,
|
||||
'rate' => 10
|
||||
],
|
||||
]
|
||||
'7' =>[
|
||||
'amount' => '0.00',
|
||||
],
|
||||
'6' =>[
|
||||
'amount' => '0.00',
|
||||
],
|
||||
]),
|
||||
],
|
||||
[
|
||||
@@ -50,88 +41,69 @@ class SegmentConstantsTableSeeder extends Seeder
|
||||
'segment_id' => 1,
|
||||
'reference' => SegmentConstants::STATE_RATE,
|
||||
'value' => json_encode([
|
||||
'id'=> 1,
|
||||
'config' => [
|
||||
[
|
||||
'status_id' => 1,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 2,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 3,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 4,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 5,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 6,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 7,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 8,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 9,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 10,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 11,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 12,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 13,
|
||||
'rate' => 20,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 14,
|
||||
'rate' => 20,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 15,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
],
|
||||
[
|
||||
'status_id' => 16,
|
||||
'rate' => 10,
|
||||
'outstation_rate' => 2
|
||||
]
|
||||
'1' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'2' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'3' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'4' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'5' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'6' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'7' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'8' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'9' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'10' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'11' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'12' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'13' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'14' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'15' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
],
|
||||
'16' =>[
|
||||
'center' => '10.00',
|
||||
'outstation' => '2.00'
|
||||
]
|
||||
]),
|
||||
],
|
||||
|
||||
+202
@@ -0,0 +1,202 @@
|
||||
<?php
|
||||
// 1. [Required] Point to the composer or dompdf autoloader
|
||||
require_once "vendor/autoload.php";
|
||||
|
||||
// 2. [Optional] Set the path to your font directory
|
||||
// By default dompdf loads fonts to dompdf/lib/fonts
|
||||
// If you have modified your font directory set this
|
||||
// variable appropriately.
|
||||
//$fontDir = "lib/fonts";
|
||||
$fontDir = 'storage/fonts';
|
||||
|
||||
// *** DO NOT MODIFY BELOW THIS POINT ***
|
||||
|
||||
use Dompdf\Dompdf;
|
||||
use Dompdf\CanvasFactory;
|
||||
use Dompdf\Exception;
|
||||
use Dompdf\FontMetrics;
|
||||
use Dompdf\Options;
|
||||
|
||||
use FontLib\Font;
|
||||
|
||||
/**
|
||||
* Display command line usage
|
||||
*/
|
||||
function usage() {
|
||||
echo <<<EOD
|
||||
|
||||
Usage: {$_SERVER["argv"][0]} font_family [n_file [b_file] [i_file] [bi_file]]
|
||||
|
||||
font_family: the name of the font, e.g. Verdana, 'Times New Roman',
|
||||
monospace, sans-serif. If it equals to "system_fonts",
|
||||
all the system fonts will be installed.
|
||||
|
||||
n_file: the .ttf or .otf file for the normal, non-bold, non-italic
|
||||
face of the font.
|
||||
|
||||
{b|i|bi}_file: the files for each of the respective (bold, italic,
|
||||
bold-italic) faces.
|
||||
|
||||
If the optional b|i|bi files are not specified, load_font.php will search
|
||||
the directory containing normal font file (n_file) for additional files that
|
||||
it thinks might be the correct ones (e.g. that end in _Bold or b or B). If
|
||||
it finds the files they will also be processed. All files will be
|
||||
automatically copied to the DOMPDF font directory, and afm files will be
|
||||
generated using php-font-lib (https://github.com/PhenX/php-font-lib).
|
||||
|
||||
Examples:
|
||||
|
||||
./load_font.php silkscreen /usr/share/fonts/truetype/slkscr.ttf
|
||||
./load_font.php 'Times New Roman' /mnt/c_drive/WINDOWS/Fonts/times.ttf
|
||||
|
||||
EOD;
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( $_SERVER["argc"] < 3 && @$_SERVER["argv"][1] != "system_fonts" ) {
|
||||
usage();
|
||||
}
|
||||
|
||||
$dompdf = new Dompdf();
|
||||
if (isset($fontDir) && realpath($fontDir) !== false) {
|
||||
$dompdf->getOptions()->set('fontDir', $fontDir);
|
||||
}
|
||||
|
||||
/**
|
||||
* Installs a new font family
|
||||
* This function maps a font-family name to a font. It tries to locate the
|
||||
* bold, italic, and bold italic versions of the font as well. Once the
|
||||
* files are located, ttf versions of the font are copied to the fonts
|
||||
* directory. Changes to the font lookup table are saved to the cache.
|
||||
*
|
||||
* @param Dompdf $dompdf dompdf main object
|
||||
* @param string $fontname the font-family name
|
||||
* @param string $normal the filename of the normal face font subtype
|
||||
* @param string $bold the filename of the bold face font subtype
|
||||
* @param string $italic the filename of the italic face font subtype
|
||||
* @param string $bold_italic the filename of the bold italic face font subtype
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
function install_font_family($dompdf, $fontname, $normal, $bold = null, $italic = null, $bold_italic = null) {
|
||||
$fontMetrics = $dompdf->getFontMetrics();
|
||||
|
||||
// Check if the base filename is readable
|
||||
if ( !is_readable($normal) )
|
||||
throw new Exception("Unable to read '$normal'.");
|
||||
|
||||
$dir = dirname($normal);
|
||||
$basename = basename($normal);
|
||||
$last_dot = strrpos($basename, '.');
|
||||
if ($last_dot !== false) {
|
||||
$file = substr($basename, 0, $last_dot);
|
||||
$ext = strtolower(substr($basename, $last_dot));
|
||||
} else {
|
||||
$file = $basename;
|
||||
$ext = '';
|
||||
}
|
||||
|
||||
if ( !in_array($ext, array(".ttf", ".otf")) ) {
|
||||
throw new Exception("Unable to process fonts of type '$ext'.");
|
||||
}
|
||||
|
||||
// Try $file_Bold.$ext etc.
|
||||
$path = "$dir/$file";
|
||||
|
||||
$patterns = array(
|
||||
"bold" => array("_Bold", "b", "B", "bd", "BD"),
|
||||
"italic" => array("_Italic", "i", "I"),
|
||||
"bold_italic" => array("_Bold_Italic", "bi", "BI", "ib", "IB"),
|
||||
);
|
||||
|
||||
foreach ($patterns as $type => $_patterns) {
|
||||
if ( !isset($$type) || !is_readable($$type) ) {
|
||||
foreach($_patterns as $_pattern) {
|
||||
if ( is_readable("$path$_pattern$ext") ) {
|
||||
$$type = "$path$_pattern$ext";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ( is_null($$type) )
|
||||
echo ("Unable to find $type face file.\n");
|
||||
}
|
||||
}
|
||||
|
||||
$fonts = compact("normal", "bold", "italic", "bold_italic");
|
||||
$entry = array();
|
||||
|
||||
// Copy the files to the font directory.
|
||||
foreach ($fonts as $var => $src) {
|
||||
if ( is_null($src) ) {
|
||||
$entry[$var] = $dompdf->getOptions()->get('fontDir') . '/' . mb_substr(basename($normal), 0, -4);
|
||||
continue;
|
||||
}
|
||||
|
||||
// Verify that the fonts exist and are readable
|
||||
if ( !is_readable($src) )
|
||||
throw new Exception("Requested font '$src' is not readable");
|
||||
|
||||
$dest = $dompdf->getOptions()->get('fontDir') . '/' . basename($src);
|
||||
|
||||
if ( !is_writeable(dirname($dest)) )
|
||||
throw new Exception("Unable to write to destination '$dest'.");
|
||||
|
||||
echo "Copying $src to $dest...\n";
|
||||
|
||||
if ( !copy($src, $dest) )
|
||||
throw new Exception("Unable to copy '$src' to '$dest'");
|
||||
|
||||
$entry_name = mb_substr($dest, 0, -4);
|
||||
|
||||
echo "Generating Adobe Font Metrics for $entry_name...\n";
|
||||
|
||||
$font_obj = Font::load($dest);
|
||||
$font_obj->saveAdobeFontMetrics("$entry_name.ufm");
|
||||
$font_obj->close();
|
||||
|
||||
$entry[$var] = $entry_name;
|
||||
}
|
||||
|
||||
// Store the fonts in the lookup table
|
||||
$fontMetrics->setFontFamily($fontname, $entry);
|
||||
|
||||
// Save the changes
|
||||
$fontMetrics->saveFontFamilies();
|
||||
}
|
||||
|
||||
// If installing system fonts (may take a long time)
|
||||
if ( $_SERVER["argv"][1] === "system_fonts" ) {
|
||||
$fontMetrics = $dompdf->getFontMetrics();
|
||||
$files = glob("/usr/share/fonts/truetype/*.ttf") +
|
||||
glob("/usr/share/fonts/truetype/*/*.ttf") +
|
||||
glob("/usr/share/fonts/truetype/*/*/*.ttf") +
|
||||
glob("C:\\Windows\\fonts\\*.ttf") +
|
||||
glob("C:\\WinNT\\fonts\\*.ttf") +
|
||||
glob("/mnt/c_drive/WINDOWS/Fonts/");
|
||||
$fonts = array();
|
||||
foreach ($files as $file) {
|
||||
$font = Font::load($file);
|
||||
$records = $font->getData("name", "records");
|
||||
$type = $fontMetrics->getType($records[2]);
|
||||
$fonts[mb_strtolower($records[1])][$type] = $file;
|
||||
$font->close();
|
||||
}
|
||||
|
||||
foreach ( $fonts as $family => $files ) {
|
||||
echo " >> Installing '$family'... \n";
|
||||
|
||||
if ( !isset($files["normal"]) ) {
|
||||
echo "No 'normal' style font file\n";
|
||||
}
|
||||
else {
|
||||
install_font_family($dompdf, $family, @$files["normal"], @$files["bold"], @$files["italic"], @$files["bold_italic"]);
|
||||
echo "Done !\n";
|
||||
}
|
||||
|
||||
echo "\n";
|
||||
}
|
||||
}
|
||||
else {
|
||||
call_user_func_array("install_font_family", array_merge( array($dompdf), array_slice($_SERVER["argv"], 1) ));
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 959 KiB |
@@ -317,6 +317,12 @@ hr{
|
||||
background-color: $color-primary-lighter !important;
|
||||
}
|
||||
|
||||
.bg-primary-lighter-hover {
|
||||
&:hover {
|
||||
background-color: $color-primary-lighter !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Complete
|
||||
------------------------------------
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
<template>
|
||||
<div class="row" @keyup.enter="submitForm">
|
||||
<div class="col">
|
||||
<error-message-component class="m-b-20" :error="error"></error-message-component>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.email">
|
||||
<label class="text-primary">Email Address</label>
|
||||
<input type="text" class="form-control fs-12" v-model.trim="parameters.email">
|
||||
</validation-wrapper-component>
|
||||
<validation-wrapper-component :validator="$v.parameters.password">
|
||||
<label class="text-primary">Password</label>
|
||||
<input type="password" class="form-control fs-12" v-model="parameters.password">
|
||||
</validation-wrapper-component>
|
||||
<div class="row m-t-15 align-items-center justify-content-center">
|
||||
<div class="col-auto">
|
||||
<div class="checkbox check-complete no-margin">
|
||||
<input type="checkbox" checked="checked" value="1" id="checkbox2">
|
||||
<label for="checkbox2 bold no-margin">Remember Me</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col text-right">
|
||||
<p class="muted fs-11 font-arial m-b-0 pointer bold" @click="$store.dispatch('toggleSection', {name: 'forgetPassword', status: true})">Forgot password?</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m-t-15 align-items-center justify-content-center">
|
||||
<div class="col">
|
||||
<div class="btn btn-block btn-lg b-rad-none no-border" :class="[{'btn-primary': currentUrl.indexOf('last_mile_delivery') === -1 }, {'btn-info': currentUrl.indexOf('last_mile_delivery') > -1 }]" @click="submitForm">Sign In</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m-t-15">
|
||||
<div class="col text-center">
|
||||
<div class="col">
|
||||
<p>New Customer? <strong class=" m-b-0 pointer" @click="$store.dispatch('toggleSection', {name: 'registrationForm', status: true})">Create Account</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import loginFormValidation from '../../../general/mixins/accounts/validation/loginFormValidation'
|
||||
export default {
|
||||
props: {
|
||||
section:{
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
error: '',
|
||||
parameters: {
|
||||
email: this.email,
|
||||
password: ''
|
||||
},
|
||||
currentUrl: window.location.href,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
submitForm(){
|
||||
this.submit(this.route('api.account.authentication.authenticate.attempt'), 'post', this.section, false, false)
|
||||
}
|
||||
},
|
||||
mixins: [loginFormValidation]
|
||||
}
|
||||
|
||||
</script>
|
||||
@@ -31,7 +31,7 @@
|
||||
<div class="row m-t-15">
|
||||
<div class="col text-center">
|
||||
<div class="col">
|
||||
<p>New Customer? <strong class=" m-b-0 pointer" @click="$store.dispatch('toggleSection', {name: 'registrationForm', status: true})">Create Account</strong></p>
|
||||
<p>New Customer? <strong class=" m-b-0 pointer"><a class="text-master" :href="route('signup')">Create Account</a></strong></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -156,14 +156,14 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-auto">
|
||||
<button type="button" class="btn btn-sm p-t-10 p-b-10 btn-default bg-master-lighter b-rad-none" @click="$store.dispatch('toggleSection', {name: 'registrationForm', status: false})">
|
||||
<a :href="route('login')" class="btn btn-sm p-t-10 p-b-10 btn-default bg-master-lighter b-rad-none">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-auto p-r-10">
|
||||
<i class="fa fa-angle-left fs-16" style="margin-top: 1px;"></i>
|
||||
</div>
|
||||
<div class="col p-l-5">I already have an account</div>
|
||||
</div>
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col text-right">
|
||||
<button type="button" class="btn btn-sm btn-block p-t-10 p-b-10 p-r-35 p-l-35 btn-primary b-rad-none p-r-30" @click="changeStep('next')">
|
||||
|
||||
@@ -82,16 +82,35 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row parentContainer" v-if="!item.identification">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="row">
|
||||
<div class="col no-padding">
|
||||
<button class="btn btn-sm btn-success btn-block b-rad-none requestModal" data-type="identificationVerificationModal">Upload Identification</button>
|
||||
<div class="row parentContainer" v-if="!item.identification">
|
||||
<div class="col">
|
||||
<div class="row">
|
||||
<div class="col no-padding">
|
||||
<button class="btn btn-sm btn-success btn-block b-rad-none requestModal" data-type="identificationVerificationModal">Upload Identification</button>
|
||||
</div>
|
||||
</div>
|
||||
<modal-component type="identificationVerificationModal">
|
||||
<identification-verification-form-component section="orderListSection" :data="item"></identification-verification-form-component>
|
||||
</modal-component>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row parentContainer">
|
||||
<div class="col no-padding">
|
||||
<button type="button" class=" btn btn-sm btn-block p-t-10 p-b-10 p-r-35 p-l-35 btn-primary b-rad-none requestModal" data-type="exportCompanyModuleSummary">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-auto p-r-0 p-l-0">
|
||||
<i class="fa fa-file-excel-o fs-16"></i>
|
||||
</div>
|
||||
<div class="col p-r-5">Export To Excel</div>
|
||||
</div>
|
||||
</button>
|
||||
<modal-component type="exportCompanyModuleSummary">
|
||||
<export-company-module-summary-form-component section="exportCompanyModuleSummarySection" :data="item.company_module" @exit="closeModal"></export-company-module-summary-form-component>
|
||||
</modal-component>
|
||||
</div>
|
||||
</div>
|
||||
<modal-component type="identificationVerificationModal">
|
||||
<identification-verification-form-component section="orderListSection" :data="item"></identification-verification-form-component>
|
||||
</modal-component>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+1
-22
@@ -137,28 +137,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<modal-component small type="rejectDocument">
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
<div class="row m-b-20">
|
||||
<div class="col">
|
||||
<h5 class="all-caps">Reject Document</h5>
|
||||
<div class="fs-11">Are you sure you want to reject this customer's identification?</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col p-r-5">
|
||||
<div data-dismiss="modal" class="btn btn-sm btn-default bg-master-lighter btn-block b-rad-none">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<div data-dismiss="modal" class="btn btn-sm btn-danger btn-block b-rad-none" @click="approveDocument('reject')">Reject</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<reject-identification-verification-form-component :section="section" :data="item"></reject-identification-verification-form-component>
|
||||
</modal-component>
|
||||
<div class="col no-padding ml-auto">
|
||||
<button class="btn btn-md btn-block btn-success b-rad-none p-t-10 p-b-10 requestModal" data-type="approveDocument">
|
||||
|
||||
+82
@@ -0,0 +1,82 @@
|
||||
<template>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-auto text-center">
|
||||
<div class="row">
|
||||
<div class="col text-center">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h5 class="all-caps">Reject Document</h5>
|
||||
<div class="fs-11">Are you sure you want to reject this customer's identification?</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-left margin-auto m-t-10 m-b-10">
|
||||
<div class="col">
|
||||
<span class="text-danger fs-9">{{ error }}</span>
|
||||
<div class="fs-11">Reason: </div>
|
||||
<div class="row">
|
||||
<div class="col fs-11">
|
||||
<div class="b-a padding-5 w-100 m-b-5 pointer b-grey muted" :class="{'b-primary': parameters.rejectRemark === rejectRemarkItem, 'text-primary': parameters.rejectRemark === rejectRemarkItem}" v-for="rejectRemarkItem in rejectRemarkArray" @click="chooseRejectRemark(rejectRemarkItem)">{{ rejectRemarkItem }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col p-r-5">
|
||||
<div data-dismiss="modal" class="btn btn-sm btn-default bg-master-lighter btn-block b-rad-none">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<div class="btn btn-sm btn-danger btn-block b-rad-none" @click="approveDocument('reject')">Reject</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import componentHandler from '../../../general/mixins/componentHandler';
|
||||
import modalFormHandler from '../../../general/mixins/modalFormHandler';
|
||||
import { required } from "vuelidate/lib/validators";
|
||||
export default {
|
||||
data(){
|
||||
return {
|
||||
parameters: {
|
||||
rejectRemark: null,
|
||||
},
|
||||
rejectRemarkArray: null,
|
||||
documentType: this.data.document_type === 'IDENTITY_CARD' ? 'IC' : 'SSM',
|
||||
error: null,
|
||||
}
|
||||
},
|
||||
validations: {
|
||||
parameters: {
|
||||
rejectRemark: { required },
|
||||
}
|
||||
},
|
||||
created(){
|
||||
this.rejectRemarkArray = [
|
||||
this.documentType + ' not clear',
|
||||
this.documentType + ' name different with registration name',
|
||||
'Wrong Document uploaded',
|
||||
'Non-Malaysian ' + this.documentType + ' Uploaded',
|
||||
this.documentType + ' not Genuine'
|
||||
];
|
||||
},
|
||||
methods: {
|
||||
approveDocument(status){
|
||||
this.parameters.rejectRemark === null ? this.error = 'Please choose a remark.' : null;
|
||||
this.isLoading = true;
|
||||
this.submit(this.route('api.company.identification.approval', this.item.owner.id, this.item.id, status), 'put', 'identificationVerificationSection', true, true);
|
||||
},
|
||||
chooseRejectRemark(remark) {
|
||||
this.parameters.rejectRemark = remark;
|
||||
}
|
||||
},
|
||||
mixins: [componentHandler, modalFormHandler]
|
||||
|
||||
}
|
||||
</script>
|
||||
-2
@@ -11,7 +11,6 @@
|
||||
<on-boarding-section-component v-if="!company.last_order"></on-boarding-section-component>
|
||||
<div class="row" v-if="company.last_order">
|
||||
<div class="col">
|
||||
<!-- new swction -->
|
||||
<div class="row tabsContainer">
|
||||
<div class="col no-padding">
|
||||
<div class="row m-l-0 m-r-0">
|
||||
@@ -127,7 +126,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end new swction -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -64,13 +64,19 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<packing-list-section-component :data="item" v-if="expanded"></packing-list-section-component>
|
||||
<packing-list-section-component :section="section" :data="item" v-if="expanded"></packing-list-section-component>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import componentHandler from '../../../general/mixins/componentHandler';
|
||||
export default {
|
||||
props: {
|
||||
section:{
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
expanded: false,
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
{{item.order.address.street_one+' '+(item.order.address.street_two ? item.order.address.street_two : '')+', '+ item.order.address.district.name+', '+item.order.address.post_code+' '+item.order.address.state.name+', '+item.order.address.country.name}}<br>{{item.order.address.remark ? item.order.address.remark.content: ''}}
|
||||
<div class="btn btn-xs btn-primary pointer m-t-10 requestModal" data-type="defineLocation">Define Location</div>
|
||||
<modal-component class="animate__animated animate__fast animate__fadeIn" styleType="fill-in" type="defineLocation">
|
||||
<declare-postcode-area-form-component :data="item.order.address.post_code"></declare-postcode-area-form-component>
|
||||
<declare-postcode-area-form-component :section="section" :data="{postcode: item.order.address.post_code, postcodeArea: item.order.address.post_code_area}"></declare-postcode-area-form-component>
|
||||
</modal-component>
|
||||
</div>
|
||||
</div>
|
||||
@@ -40,7 +40,7 @@
|
||||
<div v-if="!item.order" class="text-danger">Unclaimed</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row hide" v-if="false">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div v-if="!item.shippng_transaction">
|
||||
<div class="btn btn-xs btn-primary pointer" @click="generateInvoice()">Generate Invoice</div>
|
||||
@@ -63,6 +63,12 @@
|
||||
<script>
|
||||
import componentHandler from '../../../general/mixins/componentHandler';
|
||||
export default {
|
||||
props: {
|
||||
section:{
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
parameters: {
|
||||
@@ -83,7 +89,7 @@
|
||||
},
|
||||
methods: {
|
||||
generateInvoice() {
|
||||
this.submit(this.route('api.transaction.supplier.create'), 'post', '', true, true);
|
||||
this.submit(this.route('api.transaction.supplier.create'), 'post', this.section, true, true);
|
||||
},
|
||||
updateStatus(status){
|
||||
this.submit(this.route('api.packing_list.status.update', this.item.id, status), 'put', '', true, true)
|
||||
|
||||
+13
-15
@@ -1,27 +1,27 @@
|
||||
<template>
|
||||
<div class="row" style="width: 450px; margin: auto;" @keyup.enter="submitForm">
|
||||
<div class="row" style="width: 450px; margin: auto;">
|
||||
<div class="col bg-white padding-40 b-rad-lg">
|
||||
<div class="row m-b-10">
|
||||
<div class="col">
|
||||
<h2 class="text-center text-complete bold">{{data}}</h2>
|
||||
<p class="text-center" v-show="postcodeArea=== ''">This postcode is yet to be declare. Plase choose the area.</p>
|
||||
<h2 class="text-center text-complete bold">{{data.postcode}}</h2>
|
||||
<p class="text-center" v-show="parameters.reference=== ''">This postcode is yet to be declare. Plase choose the area.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center justify-content-center">
|
||||
<div class="col p-r-5">
|
||||
<div class="b-a b-thick p-t-15 p-b-15 p-l-35 p-r-35 pointer" :class="{ 'b-primary': postcodeArea === 'city_center', 'b-grey': postcodeArea !== 'city_center' }" @click="postcodeArea = 'city_center'">
|
||||
<div class="b-a b-thick p-t-15 p-b-15 p-l-35 p-r-35 pointer" :class="{ 'b-primary': parameters.reference === 'CENTER_POSTCODE', 'b-grey': parameters.reference !== 'CENTER_POSTCODE' }" @click="parameters.reference = 'CENTER_POSTCODE'">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h5 class="no-margin" :class="{ 'text-primary': postcodeArea === 'city_center', 'semi-bold': postcodeArea === 'city_center' }">City Center</h5>
|
||||
<h5 class="no-margin" :class="{ 'text-primary': parameters.reference === 'CENTER_POSTCODE', 'semi-bold': parameters.reference === 'CENTER_POSTCODE' }">City Center</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<div class="b-a b-thick p-t-15 p-b-15 p-l-35 p-r-35 pointer" :class="{ 'b-primary': postcodeArea === 'outskirt', 'b-grey': postcodeArea !== 'outskirt' }" @click="postcodeArea = 'outskirt'">
|
||||
<div class="b-a b-thick p-t-15 p-b-15 p-l-35 p-r-35 pointer" :class="{ 'b-primary': parameters.reference === 'OUTSTATION_POSTCODE', 'b-grey': parameters.reference !== 'OUTSTATION_POSTCODE' }" @click="parameters.reference = 'OUTSTATION_POSTCODE'">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h5 class="no-margin" :class="{ 'text-primary': postcodeArea === 'outskirt', 'semi-bold': postcodeArea === 'outskirt'}">Outskirt</h5>
|
||||
<h5 class="no-margin" :class="{ 'text-primary': parameters.reference === 'OUTSTATION_POSTCODE', 'semi-bold': parameters.reference === 'OUTSTATION_POSTCODE'}">Outskirt</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -32,8 +32,7 @@
|
||||
<div class="btn btn-lg btn-default b-rad-none" data-dismiss="modal">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<!-- <div class="btn btn-primary w-100 btn-lg" @click="submit(route('api.packing_list.assign.order', data, orderNo), 'put', section, true, true)">Confirm</div> -->
|
||||
<div class="btn btn-primary w-100 btn-lg">Confirm</div>
|
||||
<div class="btn btn-primary w-100 btn-lg" @click="submit(route('api.segment.constant.update.postcode', 1), 'put', section, true, true)">Confirm</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -46,7 +45,7 @@
|
||||
export default {
|
||||
props: {
|
||||
data: {
|
||||
type: String,
|
||||
type: Object,
|
||||
required: false
|
||||
},
|
||||
section: {
|
||||
@@ -55,13 +54,12 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
postcodeArea: '',
|
||||
parameters: {
|
||||
reference: this.data.postcodeArea,
|
||||
postcode: this.data.postcode
|
||||
}
|
||||
};
|
||||
},
|
||||
validations: {
|
||||
orderNo: '',
|
||||
|
||||
},
|
||||
mixins: [modalFormHandler]
|
||||
}
|
||||
|
||||
|
||||
@@ -28,10 +28,11 @@
|
||||
<script>
|
||||
import componentHandler from '../../../general/mixins/componentHandler';
|
||||
export default {
|
||||
data(){
|
||||
return {
|
||||
selected: false,
|
||||
}
|
||||
props: {
|
||||
selectedPackageList: {
|
||||
type: Array,
|
||||
required: false,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
activate(){
|
||||
@@ -45,6 +46,15 @@
|
||||
},
|
||||
noPackage() {
|
||||
return ( this.item.packages.reduce((total, obj) => 1 + total, 0));
|
||||
},
|
||||
selected() {
|
||||
var response = false;
|
||||
this.selectedPackageList.forEach((value, index) => {
|
||||
if (value.id == this.item.id) {
|
||||
response = true;
|
||||
}
|
||||
});
|
||||
return response;
|
||||
}
|
||||
},
|
||||
mixins: [componentHandler]
|
||||
|
||||
+1
-1
@@ -455,7 +455,7 @@
|
||||
</div>
|
||||
<div class="row" v-for="packingList in container.packing_lists">
|
||||
<div class="col">
|
||||
<list-packagelist-form-component :data="packingList" v-on:input="updateList($event)"></list-packagelist-form-component>
|
||||
<list-packagelist-form-component :data="packingList" :selectedPackageList="selectedPackageList" v-on:input="updateList($event)"></list-packagelist-form-component>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<div class="col">
|
||||
<div class="row align-items-center p-t-10 p-b-10 b-t b-grey" v-for="packingList in packingLists">
|
||||
<div class="col">
|
||||
<packing-list-component :data="packingList"></packing-list-component>
|
||||
<packing-list-component :section="section" :data="packingList"></packing-list-component>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -42,6 +42,12 @@
|
||||
import PackingListComponent from "../elements/PackingListComponent";
|
||||
export default {
|
||||
components: {PackingListComponent, LoadingComponent},
|
||||
props: {
|
||||
section:{
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
isLoading: true,
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
<template>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="btn-group">
|
||||
<i class="fa fa-bell fs-18 m-t-5 muted pointer" :class="{'text-primary' : isClicked}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" @click="openNotification()"></i>
|
||||
<div class="b-rad-md dropdown-menu dropdown-menu-right p-l-15 p-b-15 p-r-15 p-t-0" style="width: 100vw; height: 100vh; background: transparent !important;" @click="openNotification()">
|
||||
<div class="row shadow" style="width: 320px; position: absolute; top: 50px; right: 50px; background: white!important;">
|
||||
<div class="col">
|
||||
<div class="row">
|
||||
<div class="bg-master-lighter col p-l-10 p-l-10 p-t-10 bg-white text-center">
|
||||
<p>Notification Center</p>
|
||||
</div>
|
||||
</div>
|
||||
<loading-component style="height: 200px; top: 0;" key="1" color="primary" v-show="isLoading"></loading-component>
|
||||
<div class="row" :class="{'h-100' : notificationsLength >= 5}" v-show="!isLoading" style="max-height: 400px; ">
|
||||
<div class="col page-container overflow-hidden">
|
||||
<div class="row b-b b-grey bg-primary-lighter-hover pointer w-100 m-l-0 m-r-0" v-for="(notification, index) in notifications">
|
||||
<div class="col-auto justify-content-center align-items-center d-flex hide">
|
||||
<div>
|
||||
<i class="fa fa-check-circle fs-20 p-l-5 text-success"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col padding-10 p-l-15 p-r-15">
|
||||
<p class="bold m-b-5 lh-16">{{ notification.title }}</p>
|
||||
<p class="fs-9 m-b-0 lh-10">{{ notification.description }}</p>
|
||||
<p class="fs-9 m-b-0 m-t-10 lh-10">{{ notification.long_ago }}</p>
|
||||
</div>
|
||||
<div class="col-auto justify-content-center align-items-center d-none" :class="{'d-flex' : index === 0}">
|
||||
<div>
|
||||
<i class="fa fa-circle fs-10 text-primary"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center m-t-50 m-b-50" v-if="notificationsLength === 0" v-show="!isLoading">
|
||||
<div class="col">
|
||||
<div class="row align-items-center justify-content-center hint-text">
|
||||
<div class="col-4 hint-text"><img src="/images/not-found-illustration.png" class="w-100 hint-text"/></div>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col">
|
||||
<div class="row m-t-20">
|
||||
<div class="col">
|
||||
<p class="all-caps no-margin fs-11" style="letter-spacing: 2px;">Nothing To Show Here</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m-t-5 align-items-center justify-content-center hide">
|
||||
<div class="col">
|
||||
<small class="fs-9 muted all-caps font-lato" style="letter-spacing: 2px">There is no results found.</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row b-t muted">
|
||||
<div class="col p-l-10 p-l-10 p-t-10 m-b-10 bg-white text-center">
|
||||
<a href="#">View All Notifications</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import ModalFormHandler from '../../../general/mixins/modalFormHandler';
|
||||
export default {
|
||||
data(){
|
||||
return {
|
||||
isLoading: true,
|
||||
error: '',
|
||||
notifications: null,
|
||||
isClicked: false,
|
||||
notificationsLength: 0,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
openNotification(){
|
||||
this.isClicked === false ? this.fetchNotification() : '';
|
||||
this.isClicked = !this.isClicked;
|
||||
},
|
||||
fetchNotification(){
|
||||
this.isLoading = true;
|
||||
this.submit(route('notifications.list'), 'get', this.section, false, false)
|
||||
},
|
||||
successHandler(response){
|
||||
this.isLoading = false;
|
||||
this.notifications = response.payload.data;
|
||||
this.notificationsLength = response.payload.data.length;
|
||||
},
|
||||
},
|
||||
mixins: [ModalFormHandler]
|
||||
}
|
||||
</script>
|
||||
@@ -18,11 +18,15 @@
|
||||
<p class="no-margin all-caps fs-10 light">Reference</p>
|
||||
<p class="no-margin text-success bold">{{data.reference ? data.reference : 'n/a'}}</p>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<div class="col">
|
||||
<p class="no-margin all-caps fs-10 light">Arrival Date</p>
|
||||
<p class="no-margin text-success bold">{{data.transport ? data.transport.drop_date : 'n/a'}}</p>
|
||||
</div>
|
||||
<div class="col text-right" v-if="$store.getters.isSuperAdmin">
|
||||
<div class="col-auto" v-if="$store.getters.isSuperAdmin">
|
||||
<button type="button" class="btn b-rad-none btn-danger fs-11 requestModal" data-type="deletePackingList"><i class="fa fa-times text-white fs-12"></i></button>
|
||||
<modal-component class="animate__animated animate__fast animate__fadeIn" styleType="fill-in" type="deletePackingList">
|
||||
<delete-packinglist-form-component :data="data"></delete-packinglist-form-component>
|
||||
</modal-component>
|
||||
<button type="button" class="btn b-rad-none btn-primary fs-11 requestModal" data-type="claimPackingList">Claim</button>
|
||||
<modal-component class="animate__animated animate__fast animate__fadeIn" styleType="fill-in" type="claimPackingList">
|
||||
<claim-packinglist-form-component :data="data.id"></claim-packinglist-form-component>
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<div class="row" style="width: 450px; margin: auto;" @keyup.enter="submitForm">
|
||||
<div class="col bg-white padding-40 b-rad-lg">
|
||||
<div class="row m-b-10">
|
||||
<div class="col text-center">
|
||||
<h3 class="all-caps">Are you sure?</h3>
|
||||
<div class="fs-11">Are you sure you want to delete this Packing List?</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m-t-15">
|
||||
<div class="col-auto p-r-5">
|
||||
<div class="btn btn-lg btn-default b-rad-none" data-dismiss="modal">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<div class="btn btn-danger w-100 btn-lg" @click="submit(route('api.packing_list.delete', data.id), 'delete', section, true, true)">Confirm</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import modalFormHandler from '../../../general/mixins/modalFormHandler';
|
||||
|
||||
export default {
|
||||
mixins: [modalFormHandler]
|
||||
}
|
||||
|
||||
</script>
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
<template>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<loading-component style="height: 300px; top: 0;" key="1" color="success" v-show="isLoading" ></loading-component>
|
||||
<div class="row justify-content-center" v-show="!isLoading">
|
||||
<div class="col">
|
||||
<div class="row m-b-20">
|
||||
<div class="col">
|
||||
<h3 class="all-caps text-center">Export Customer Summary</h3>
|
||||
<div class="fs-11 text-center">Please key in the Container Number spereated by a comma.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m-b-15">
|
||||
<div class="col">
|
||||
<validation-wrapper-component :validator="$v.containerIds">
|
||||
<label>Container Number</label>
|
||||
<input class="form-control" v-model="containerIds">
|
||||
</validation-wrapper-component>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col p-r-5">
|
||||
<div class="btn btn-sm btn-default bg-master-lighter btn-block b-rad-none" data-dismiss="modal">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<div class="btn btn-sm btn-primary btn-block b-rad-none" @click="submitForm()">Confirm</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import componentHandler from '../../../general/mixins/componentHandler';
|
||||
import ModalFormHandler from '../../../general/mixins/modalFormHandler';
|
||||
import { required } from "vuelidate/lib/validators";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
containerIds: '',
|
||||
}
|
||||
},
|
||||
validations: {
|
||||
containerIds: {
|
||||
required
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
submitForm() {
|
||||
this.validate();
|
||||
if(this.validate()){
|
||||
this.$v.$reset();
|
||||
this.closeModal();
|
||||
window.open(this.route('customer.summary.export', this.item.id)+'?containerNumber='+this.containerIds, '_blank');
|
||||
}
|
||||
return;
|
||||
}
|
||||
},
|
||||
mixins: [componentHandler, ModalFormHandler]
|
||||
}
|
||||
</script>
|
||||
File diff suppressed because one or more lines are too long
@@ -15,7 +15,19 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="font-heading all-caps">{{data}}</div>
|
||||
<div class="font-heading all-caps">{{data.postcode}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="row">
|
||||
<div class="col-auto p-r-10">
|
||||
<div class="font-heading all-caps fs-8 muted">Location</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="font-heading all-caps">{{data.postcodeArea == '' ? '-' : data.postcodeArea.replaceAll('_', ' ') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -24,7 +36,7 @@
|
||||
<div class="col">
|
||||
<div class="btn btn-xs btn-primary pointer m-t-10 requestModal" data-type="defineLocation">Define Location</div>
|
||||
<modal-component class="animate__animated animate__fast animate__fadeIn" styleType="fill-in" type="defineLocation">
|
||||
<declare-postcode-area-form-component :data="data"></declare-postcode-area-form-component>
|
||||
<declare-postcode-area-form-component :data="data" section="allPostcodesSection"></declare-postcode-area-form-component>
|
||||
</modal-component>
|
||||
</div>
|
||||
</div>
|
||||
@@ -40,7 +52,7 @@
|
||||
export default {
|
||||
props: {
|
||||
data: {
|
||||
type: String,
|
||||
type: Object,
|
||||
required: false
|
||||
},
|
||||
section: {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="font-heading all-caps">MYR 0.00</div>
|
||||
<div class="font-heading all-caps">MYR {{ data.stateCharges === null ? '0.00' : data.stateCharges.center }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -39,7 +39,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="font-heading all-caps">MYR 0.00</div>
|
||||
<div class="font-heading all-caps">MYR {{ data.stateCharges === null ? '0.00' : data.stateCharges.outstation }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -48,7 +48,7 @@
|
||||
<div class="col">
|
||||
<div class="btn btn-xs btn-primary pointer m-t-10 requestModal" data-type="editCharges">Edit</div>
|
||||
<modal-component class="animate__animated animate__fast animate__fadeIn" styleType="fill-in" type="editCharges">
|
||||
<edit-state-charges-form-component :data="data"></edit-state-charges-form-component>
|
||||
<edit-state-charges-form-component :data="data" :section="section"></edit-state-charges-form-component>
|
||||
</modal-component>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="font-heading all-caps">MYR 0.00 <i class="fa fa-edit pointer fa-fw m-l-5 requestModal text-primary" data-type="editWarehouseCharges"></i></div>
|
||||
<div class="font-heading all-caps">MYR {{ data.warehouseCharges === null ? '0.00' : data.warehouseCharges.amount }} <i class="fa fa-edit pointer fa-fw m-l-5 requestModal text-primary" data-type="editWarehouseCharges"></i></div>
|
||||
<modal-component class="animate__animated animate__fast animate__fadeIn" styleType="fill-in" type="editWarehouseCharges">
|
||||
<edit-warehouse-charges-form-component :data="data"></edit-warehouse-charges-form-component>
|
||||
<edit-warehouse-charges-form-component :data="data" section="warhouseListSection"></edit-warehouse-charges-form-component>
|
||||
</modal-component>
|
||||
</div>
|
||||
</div>
|
||||
@@ -54,7 +54,7 @@
|
||||
<modal-component class="animate__animated animate__fast animate__fadeIn" type="warehouseRemark">
|
||||
<remark-form-component module_type="CompanyModule" :data="data" section="warhouseListSection"></remark-form-component>
|
||||
</modal-component>
|
||||
<modal-component class="animate__animated animate__fast animate__fadeIn" type="deleteWarehouseRemark">
|
||||
<modal-component class="animate__animated animate__fast animate__fadeIn" type="deleteWarehouseRemark">
|
||||
<delete-remark-form-component :section="section" :data="data.remarks[0]"></delete-remark-form-component>
|
||||
</modal-component>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
<template>
|
||||
<div class="row" style="width: 450px; margin: auto;" @keyup.enter="submitForm">
|
||||
<div class="col bg-white b-rad-lg">
|
||||
<div class="row m-b-10">
|
||||
<div class="col text-center">
|
||||
<p>Plese set the approximate of base price and dates of below.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="row m-auto mt-10 mb-10">
|
||||
<div class="col p-l-0 p-r-10">
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.dateFrom">
|
||||
<label class="text-primary">Date From</label>
|
||||
<date-picker-component v-model="parameters.dateFrom"></date-picker-component>
|
||||
</validation-wrapper-component>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m-auto mt-10 mb-10">
|
||||
<div class="col p-l-0 p-r-10">
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.dateTo">
|
||||
<label class="text-primary">Date To</label>
|
||||
<date-picker-component v-model="parameters.dateTo"></date-picker-component>
|
||||
</validation-wrapper-component>
|
||||
</div>
|
||||
</div>
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.rate">
|
||||
<label class="text-primary">Extra Charges (MYR)</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control fs-12" v-model.trim="parameters.rate" v-money="money">
|
||||
</div>
|
||||
</validation-wrapper-component>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m-t-15">
|
||||
<div class="col p-r-5">
|
||||
<div class="btn btn-sm btn-default b-rad-none w-100" data-dismiss="modal">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<div class="btn btn-sm btn-primary w-100" @click="submitForm()">Confirm</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import modalFormHandler from '../../../general/mixins/modalFormHandler';
|
||||
import { required } from "vuelidate/lib/validators";
|
||||
|
||||
export default {
|
||||
props: {
|
||||
section: {
|
||||
default: ''
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
parameters: {
|
||||
dateFrom: '',
|
||||
dateTo: '',
|
||||
rate: ''
|
||||
},
|
||||
};
|
||||
},
|
||||
validations: {
|
||||
parameters: {
|
||||
dateFrom: { required },
|
||||
dateTo: { required },
|
||||
rate: { required },
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
submitForm(){
|
||||
this.submit(this.route('api.segment.constant.basePrice.create', 1), 'post', this.section, true, true)
|
||||
},
|
||||
},
|
||||
mixins: [modalFormHandler]
|
||||
}
|
||||
|
||||
</script>
|
||||
@@ -0,0 +1,60 @@
|
||||
<template>
|
||||
<div class="row parentContainer padding-40 bg-white b-rad-lg" style="width: 450px; margin: auto;" @keyup.enter="submitForm">
|
||||
<div class="col">
|
||||
<div class="row m-b-10">
|
||||
<div class="col">
|
||||
<h2 class="text-center">Edit Base Price</h2>
|
||||
<p class="text-center">{{ parameters.dateFrom }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.rate">
|
||||
<label class="text-primary">Base Price (MYR)</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control fs-12" v-model.trim="parameters.rate" v-money="money">
|
||||
</div>
|
||||
</validation-wrapper-component>
|
||||
<div class="row m-t-15">
|
||||
<div class="col-auto p-r-5">
|
||||
<div class="btn btn-lg btn-default b-rad-none" data-dismiss="modal">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<div class="btn btn-primary w-100 btn-lg" @click="submit(route('api.segment.constant.basePrice.create', 1), 'post', section, true, true)">Confirm</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import modalFormHandler from '../../../general/mixins/modalFormHandler';
|
||||
import { required } from "vuelidate/lib/validators";
|
||||
|
||||
export default {
|
||||
props: {
|
||||
data: {
|
||||
type: Object,
|
||||
required: false
|
||||
},
|
||||
section: {
|
||||
default: ''
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
parameters: {
|
||||
dateFrom: this.data.date,
|
||||
dateTo: this.data.date,
|
||||
rate: this.data.rate
|
||||
},
|
||||
};
|
||||
},
|
||||
validations: {
|
||||
parameters: {
|
||||
dateFrom: { required },
|
||||
dateTo: { required },
|
||||
rate: { required },
|
||||
}
|
||||
},
|
||||
mixins: [modalFormHandler]
|
||||
}
|
||||
|
||||
</script>
|
||||
@@ -0,0 +1,60 @@
|
||||
<template>
|
||||
<div class="row" style="width: 450px; margin: auto;" @keyup.enter="submitForm">
|
||||
<div class="col bg-white b-rad-lg">
|
||||
<div class="row m-b-10">
|
||||
<div class="col">
|
||||
<h3 class="text-center">Edit {{data.name}} Price</h3>
|
||||
</div>
|
||||
</div>
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.value.amount">
|
||||
<label class="text-primary">Segment Price (MYR)</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control fs-12" v-model.trim="parameters.value.amount" v-money="money">
|
||||
</div>
|
||||
</validation-wrapper-component>
|
||||
<div class="row m-t-15">
|
||||
<div class="col-auto p-r-5">
|
||||
<div class="btn btn-lg btn-default b-rad-none" data-dismiss="modal">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<div class="btn btn-primary w-100 btn-lg" @click="submit(route('api.segment.constant.update', data.id), 'put', section, true, true)">Confirm</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import modalFormHandler from '../../../general/mixins/modalFormHandler';
|
||||
import { required } from "vuelidate/lib/validators";
|
||||
|
||||
export default {
|
||||
props: {
|
||||
data: {
|
||||
type: Object,
|
||||
required: false
|
||||
},
|
||||
section: {
|
||||
default: ''
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
parameters: {
|
||||
reference: 'CUSTOM_PRICE',
|
||||
value : {
|
||||
amount: 0
|
||||
}
|
||||
}
|
||||
};
|
||||
},
|
||||
validations: {
|
||||
parameters: {
|
||||
value: {
|
||||
amount: { required }
|
||||
}
|
||||
}
|
||||
},
|
||||
mixins: [modalFormHandler]
|
||||
}
|
||||
|
||||
</script>
|
||||
@@ -6,16 +6,16 @@
|
||||
<h2 class="text-center bold">{{data.name}}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.cityCenterCharges">
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.rate.center">
|
||||
<label class="text-primary">City Center Charges (MYR)</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control fs-12" v-model="cityCenterCharges">
|
||||
<input type="text" class="form-control fs-12" v-model.trim="parameters.rate.center" v-money="money">
|
||||
</div>
|
||||
</validation-wrapper-component>
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.outskirtCharges">
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.rate.outstation">
|
||||
<label class="text-primary">Outskirt Charges (MYR)</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control fs-12" v-model="outskirtCharges">
|
||||
<input type="text" class="form-control fs-12" v-model.trim="parameters.rate.outstation" v-money="money">
|
||||
</div>
|
||||
</validation-wrapper-component>
|
||||
<div class="row m-t-15">
|
||||
@@ -23,8 +23,7 @@
|
||||
<div class="btn btn-lg btn-default b-rad-none" data-dismiss="modal">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<!-- <div class="btn btn-primary w-100 btn-lg" @click="submit(route('api.packing_list.assign.order', data, orderNo), 'put', section, true, true)">Confirm</div> -->
|
||||
<div class="btn btn-primary w-100 btn-lg">Confirm</div>
|
||||
<div class="btn btn-primary w-100 btn-lg" @click="submitForm()">Confirm</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -46,16 +45,31 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
cityCenterCharges: '',
|
||||
outskirtCharges : '',
|
||||
cityCenterCharges: '',
|
||||
outskirtCharges : '',
|
||||
parameters: {
|
||||
reference: 'STATE_RATE',
|
||||
id: this.data.id,
|
||||
rate: {
|
||||
center: this.data.stateCharges == null ? 0 : this.data.stateCharges.center,
|
||||
outstation: this.data.stateCharges == null ? 0 : this.data.stateCharges.outstation,
|
||||
}
|
||||
}
|
||||
};
|
||||
},
|
||||
validations: {
|
||||
parameters: {
|
||||
cityCenterCharges: { required },
|
||||
outskirtCharges: { required },
|
||||
rate: {
|
||||
center: { required },
|
||||
outstation: { required }
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
submitForm(){
|
||||
this.submit(this.route('api.segment.constant.update', 1), 'put', this.section, true, true)
|
||||
},
|
||||
},
|
||||
mixins: [modalFormHandler]
|
||||
}
|
||||
|
||||
|
||||
+18
-6
@@ -6,10 +6,10 @@
|
||||
<h2 class="text-center">{{data.name}}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.extraCharges">
|
||||
<validation-wrapper-component class="m-b-15" :validator="$v.parameters.rate.amount">
|
||||
<label class="text-primary">Extra Charges (MYR)</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="form-control fs-12" v-model="extraCharges">
|
||||
<input type="text" class="form-control fs-12" v-model.trim="parameters.rate.amount" v-money="money">
|
||||
</div>
|
||||
</validation-wrapper-component>
|
||||
<div class="row m-t-15">
|
||||
@@ -17,8 +17,7 @@
|
||||
<div class="btn btn-lg btn-default b-rad-none" data-dismiss="modal">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<!-- <div class="btn btn-primary w-100 btn-lg" @click="submit(route('api.packing_list.assign.order', data, orderNo), 'put', section, true, true)">Confirm</div> -->
|
||||
<div class="btn btn-primary w-100 btn-lg">Confirm</div>
|
||||
<div class="btn btn-primary w-100 btn-lg" @click="submitForm()">Confirm</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -40,14 +39,27 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
extraCharges: '',
|
||||
parameters: {
|
||||
reference: 'WAREHOUSE_RATE',
|
||||
id: this.data.id,
|
||||
rate : {
|
||||
amount: this.data.warehouseCharges == null ? 0 : this.data.warehouseCharges.amount,
|
||||
}
|
||||
}
|
||||
};
|
||||
},
|
||||
validations: {
|
||||
parameters: {
|
||||
extraCharges: { required },
|
||||
rate: {
|
||||
amount: { required }
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
submitForm(){
|
||||
this.submit(this.route('api.segment.constant.update', 1), 'put', this.section, true, true)
|
||||
},
|
||||
},
|
||||
mixins: [modalFormHandler]
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ export default {
|
||||
(this.$store.getters.isAuthenticated && !this.isProtectedRoute()&& this.isWithTokenRoute()) ? window.location.href = [7, 8].includes(this.$store.getters.getCompanyModuleType) ? this.route('last_mile_delivery.dashboard') : this.route('dashboard') : '';
|
||||
},
|
||||
isProtectedRoute(){
|
||||
const unprotectedRoutes = [this.route('login'), this.route('account.email.verification'), this.route('company.claim'), this.route('last_mile_delivery.login')];
|
||||
const unprotectedRoutes = [this.route('login'), this.route('signup'), this.route('account.email.verification'), this.route('company.claim'), this.route('last_mile_delivery.login')];
|
||||
if(window.location.href.indexOf(this.route('company.claim')) === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
+2
-1
@@ -29,7 +29,8 @@ export default {
|
||||
$crisp.push(["set", "user:nickname", getters.getDecodedAccessToken.user.company_marking]);
|
||||
$crisp.push(["set", "session:data", [
|
||||
[
|
||||
["company name", getters.getDecodedAccessToken.user.company_name],
|
||||
["izyim-marking", getters.getDecodedAccessToken.user.company_marking],
|
||||
["company-name", getters.getDecodedAccessToken.user.company_name]
|
||||
]
|
||||
]]);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{{-- seperate signup page form login page for marketing crm --}}
|
||||
@extends('layouts.base_login')
|
||||
|
||||
@section('inner_content')
|
||||
<div class="row h-100 no-margin align-items-center justify-content-center">
|
||||
<div class="col col-md-10">
|
||||
<div class="row m-b-50">
|
||||
<div class="col-8 col-md-6">
|
||||
<img class="w-100" src="{{asset('images/cief-izyim-logo.png')}}" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<loading-component style="height: 350px;" key="1" color="primary" v-show="$store.getters.isLoading('loginSection')"></loading-component>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col">
|
||||
<registration-form-component section="loginSection"></registration-form-component>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<login-form-component section="loginSection"></login-form-component>
|
||||
<delivery-login-form-component section="loginSection"></delivery-login-form-component>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
<div class="col">
|
||||
<list-component section="activeContainerListSection" :endpoint="route('api.packing_list.container.list')" :options="{'per_page': 5, 'status_in': [1], order_by: {column: 'loading_date', DESC: true}}">
|
||||
<template slot="list" slot-scope="{data}">
|
||||
<container-component :data="data"></container-component>
|
||||
<container-component section="activeContainerListSection" :data="data"></container-component>
|
||||
</template>
|
||||
</list-component>
|
||||
</div>
|
||||
@@ -91,7 +91,7 @@
|
||||
<div class="col">
|
||||
<list-component section="arrivedContainerListSection" :endpoint="route('api.packing_list.container.list')" :options="{'per_page': 5, 'status_in': [3], 'has_pending_delivery': true, order_by: {column: 'loading_date', DESC: true}}">
|
||||
<template slot="list" slot-scope="{data}">
|
||||
<container-component :data="data"></container-component>
|
||||
<container-component section="arrivedContainerListSection" :data="data"></container-component>
|
||||
</template>
|
||||
</list-component>
|
||||
</div>
|
||||
@@ -100,7 +100,7 @@
|
||||
<div class="col">
|
||||
<list-component section="completeContainerListSection" :endpoint="route('api.packing_list.container.list')" :options="{'per_page': 5, 'status_in': [3], 'has_pending_delivery': false, order_by: {column: 'loading_date', DESC: true}}">
|
||||
<template slot="list" slot-scope="{data}">
|
||||
<container-component :data="data"></container-component>
|
||||
<container-component section="completeContainerListSection" :data="data"></container-component>
|
||||
</template>
|
||||
</list-component>
|
||||
</div>
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
@extends('layouts.base_pdf')
|
||||
@section('inner_content')
|
||||
<br>
|
||||
<htmlpageheader name="page-header">
|
||||
<br><br>
|
||||
<div class="separator"><strong><i>{{ $invoice_transaction->bill_no }}</i></strong></div>
|
||||
</htmlpageheader>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="header-logo">
|
||||
@@ -23,13 +19,13 @@
|
||||
Tel: 018-2909252
|
||||
</td>
|
||||
<td class="header-details">
|
||||
<div class="title">
|
||||
<h2 class="title">
|
||||
<strong>
|
||||
Invoice
|
||||
</strong>
|
||||
</div>
|
||||
</h2>
|
||||
|
||||
<div class="number">EI#: {{ $invoice_transaction->bill_no }}</div>
|
||||
<div class="number">INV. NO. {{ $invoice_transaction->bill_no }}</div>
|
||||
|
||||
@php
|
||||
$companyModule = $invoice_transaction->owner->owner->companyModule;
|
||||
@@ -37,7 +33,7 @@
|
||||
|
||||
<div class="ref">Ref# {{ $invoice_transaction->owner->owner->reference }}</div>
|
||||
<!-- <div class="d-none">{{ $companyModule->inviters()->withPivot('invitee_reference')->first()->pivot->invitee_reference }}</div> -->
|
||||
<div class="date">Date: {{ $invoice_transaction->created_at }}</div>
|
||||
<div class="date">Date: {{ $invoice_transaction->created_at->format('d-m-Y') }}</div>
|
||||
<div> </div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -10,6 +10,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<notification-section-component section="section"></notification-section-component>
|
||||
</div>
|
||||
<div class="col-auto p-r-20 d-md-none">
|
||||
<div class="row d-md-none">
|
||||
<div class="col padding-15 pointer" @click="$store.dispatch('toggleSection', {name: 'sideMenu', status: true})">
|
||||
|
||||
+3
-1
@@ -13,7 +13,9 @@ Route::group(['prefix' => 'segment', 'as' => 'segment.', 'namespace' => 'Segment
|
||||
Route::put('/service/update', 'UpdateCustomServiceConstantController@update')->name('service.update');
|
||||
Route::put('/update', 'UpdateConstantController@update')->name('update');
|
||||
Route::get('/show/{reference}', 'FetchConstantController@fetch')->name('show');
|
||||
Route::put('/update/state', 'UpdateConstantStateController@update')->name('update.state');
|
||||
Route::put('/update/postcode', 'UpdateConstantPostcodeController@update')->name('update.postcode');
|
||||
|
||||
Route::post('base-price/create', 'CreateBasePriceController@create')->name('basePrice.create');
|
||||
Route::get('base-price/show', 'FetchBasePriceController@fetch')->name('basePrice.show');
|
||||
});
|
||||
});
|
||||
+8
-3
@@ -59,6 +59,11 @@ Route::get('', function () {
|
||||
return view('pages.accounts.login');
|
||||
})->name('login');
|
||||
|
||||
Route::get('/signup', function () {
|
||||
return view('pages.accounts.sign_up');
|
||||
})->name('signup');
|
||||
|
||||
|
||||
Route::group(['prefix' => 'swagger'], function () {
|
||||
Route::get('/', function () {
|
||||
return view('swagger.index');
|
||||
@@ -270,6 +275,8 @@ Route::get('/settings', function () {
|
||||
return view('pages.settings');
|
||||
})->name('settings');
|
||||
|
||||
Route::get('/customer/{company_module_id}/summary', 'Exports\ExportCompanyModuleSummaryController@export')->name('customer.summary.export');
|
||||
|
||||
Route::get('/customer/summary/monthly', function () {
|
||||
// $containers = Container::whereMonth('loading_date', 1)->where('owner_id', 3)->get();
|
||||
$containers = Container::whereIn('reference', ['EPS-3850', 'EPS-3863', 'WP-1331', 'EPS-3856'])->get();
|
||||
@@ -366,6 +373,4 @@ Route::get('/customers/active/{active_start}/{active_end}/{inactive_start?}/{ina
|
||||
|
||||
Route::get('/online_payment/redirect', 'Billplz\CallbackBillplzController@callback')->name('online_payment.redirect');
|
||||
|
||||
Route::get('/order/{id}', function ($id) {
|
||||
return view('pages.orders.profile', ['id' => $id]);
|
||||
})->name('order.details');
|
||||
Route::get('/notifications/list', 'Notifications\ListNotificationsController@list')->name('notifications.list');
|
||||
|
||||
@@ -0,0 +1,572 @@
|
||||
<?php return array (
|
||||
'codeToName' =>
|
||||
array (
|
||||
32 => 'space',
|
||||
160 => 'space',
|
||||
33 => 'exclam',
|
||||
34 => 'quotedbl',
|
||||
35 => 'numbersign',
|
||||
36 => 'dollar',
|
||||
37 => 'percent',
|
||||
38 => 'ampersand',
|
||||
146 => 'quoteright',
|
||||
40 => 'parenleft',
|
||||
41 => 'parenright',
|
||||
42 => 'asterisk',
|
||||
43 => 'plus',
|
||||
44 => 'comma',
|
||||
45 => 'hyphen',
|
||||
173 => 'hyphen',
|
||||
46 => 'period',
|
||||
47 => 'slash',
|
||||
48 => 'zero',
|
||||
49 => 'one',
|
||||
50 => 'two',
|
||||
51 => 'three',
|
||||
52 => 'four',
|
||||
53 => 'five',
|
||||
54 => 'six',
|
||||
55 => 'seven',
|
||||
56 => 'eight',
|
||||
57 => 'nine',
|
||||
58 => 'colon',
|
||||
59 => 'semicolon',
|
||||
60 => 'less',
|
||||
61 => 'equal',
|
||||
62 => 'greater',
|
||||
63 => 'question',
|
||||
64 => 'at',
|
||||
65 => 'A',
|
||||
66 => 'B',
|
||||
67 => 'C',
|
||||
68 => 'D',
|
||||
69 => 'E',
|
||||
70 => 'F',
|
||||
71 => 'G',
|
||||
72 => 'H',
|
||||
73 => 'I',
|
||||
74 => 'J',
|
||||
75 => 'K',
|
||||
76 => 'L',
|
||||
77 => 'M',
|
||||
78 => 'N',
|
||||
79 => 'O',
|
||||
80 => 'P',
|
||||
81 => 'Q',
|
||||
82 => 'R',
|
||||
83 => 'S',
|
||||
84 => 'T',
|
||||
85 => 'U',
|
||||
86 => 'V',
|
||||
87 => 'W',
|
||||
88 => 'X',
|
||||
89 => 'Y',
|
||||
90 => 'Z',
|
||||
91 => 'bracketleft',
|
||||
92 => 'backslash',
|
||||
93 => 'bracketright',
|
||||
94 => 'asciicircum',
|
||||
95 => 'underscore',
|
||||
145 => 'quoteleft',
|
||||
97 => 'a',
|
||||
98 => 'b',
|
||||
99 => 'c',
|
||||
100 => 'd',
|
||||
101 => 'e',
|
||||
102 => 'f',
|
||||
103 => 'g',
|
||||
104 => 'h',
|
||||
105 => 'i',
|
||||
106 => 'j',
|
||||
107 => 'k',
|
||||
108 => 'l',
|
||||
109 => 'm',
|
||||
110 => 'n',
|
||||
111 => 'o',
|
||||
112 => 'p',
|
||||
113 => 'q',
|
||||
114 => 'r',
|
||||
115 => 's',
|
||||
116 => 't',
|
||||
117 => 'u',
|
||||
118 => 'v',
|
||||
119 => 'w',
|
||||
120 => 'x',
|
||||
121 => 'y',
|
||||
122 => 'z',
|
||||
123 => 'braceleft',
|
||||
124 => 'bar',
|
||||
125 => 'braceright',
|
||||
126 => 'asciitilde',
|
||||
161 => 'exclamdown',
|
||||
162 => 'cent',
|
||||
163 => 'sterling',
|
||||
165 => 'yen',
|
||||
131 => 'florin',
|
||||
167 => 'section',
|
||||
164 => 'currency',
|
||||
39 => 'quotesingle',
|
||||
147 => 'quotedblleft',
|
||||
171 => 'guillemotleft',
|
||||
139 => 'guilsinglleft',
|
||||
155 => 'guilsinglright',
|
||||
150 => 'endash',
|
||||
134 => 'dagger',
|
||||
135 => 'daggerdbl',
|
||||
183 => 'periodcentered',
|
||||
182 => 'paragraph',
|
||||
149 => 'bullet',
|
||||
130 => 'quotesinglbase',
|
||||
132 => 'quotedblbase',
|
||||
148 => 'quotedblright',
|
||||
187 => 'guillemotright',
|
||||
133 => 'ellipsis',
|
||||
137 => 'perthousand',
|
||||
191 => 'questiondown',
|
||||
96 => 'grave',
|
||||
180 => 'acute',
|
||||
136 => 'circumflex',
|
||||
152 => 'tilde',
|
||||
175 => 'macron',
|
||||
168 => 'dieresis',
|
||||
184 => 'cedilla',
|
||||
151 => 'emdash',
|
||||
198 => 'AE',
|
||||
170 => 'ordfeminine',
|
||||
216 => 'Oslash',
|
||||
140 => 'OE',
|
||||
186 => 'ordmasculine',
|
||||
230 => 'ae',
|
||||
248 => 'oslash',
|
||||
156 => 'oe',
|
||||
223 => 'germandbls',
|
||||
207 => 'Idieresis',
|
||||
233 => 'eacute',
|
||||
159 => 'Ydieresis',
|
||||
247 => 'divide',
|
||||
221 => 'Yacute',
|
||||
194 => 'Acircumflex',
|
||||
225 => 'aacute',
|
||||
219 => 'Ucircumflex',
|
||||
253 => 'yacute',
|
||||
234 => 'ecircumflex',
|
||||
220 => 'Udieresis',
|
||||
218 => 'Uacute',
|
||||
203 => 'Edieresis',
|
||||
169 => 'copyright',
|
||||
229 => 'aring',
|
||||
224 => 'agrave',
|
||||
227 => 'atilde',
|
||||
154 => 'scaron',
|
||||
237 => 'iacute',
|
||||
251 => 'ucircumflex',
|
||||
226 => 'acircumflex',
|
||||
231 => 'ccedilla',
|
||||
222 => 'Thorn',
|
||||
179 => 'threesuperior',
|
||||
210 => 'Ograve',
|
||||
192 => 'Agrave',
|
||||
215 => 'multiply',
|
||||
250 => 'uacute',
|
||||
255 => 'ydieresis',
|
||||
238 => 'icircumflex',
|
||||
202 => 'Ecircumflex',
|
||||
228 => 'adieresis',
|
||||
235 => 'edieresis',
|
||||
205 => 'Iacute',
|
||||
177 => 'plusminus',
|
||||
166 => 'brokenbar',
|
||||
174 => 'registered',
|
||||
200 => 'Egrave',
|
||||
142 => 'Zcaron',
|
||||
208 => 'Eth',
|
||||
199 => 'Ccedilla',
|
||||
193 => 'Aacute',
|
||||
196 => 'Adieresis',
|
||||
232 => 'egrave',
|
||||
211 => 'Oacute',
|
||||
243 => 'oacute',
|
||||
239 => 'idieresis',
|
||||
212 => 'Ocircumflex',
|
||||
217 => 'Ugrave',
|
||||
254 => 'thorn',
|
||||
178 => 'twosuperior',
|
||||
214 => 'Odieresis',
|
||||
181 => 'mu',
|
||||
236 => 'igrave',
|
||||
190 => 'threequarters',
|
||||
153 => 'trademark',
|
||||
204 => 'Igrave',
|
||||
189 => 'onehalf',
|
||||
244 => 'ocircumflex',
|
||||
241 => 'ntilde',
|
||||
201 => 'Eacute',
|
||||
188 => 'onequarter',
|
||||
138 => 'Scaron',
|
||||
176 => 'degree',
|
||||
242 => 'ograve',
|
||||
249 => 'ugrave',
|
||||
209 => 'Ntilde',
|
||||
245 => 'otilde',
|
||||
195 => 'Atilde',
|
||||
197 => 'Aring',
|
||||
213 => 'Otilde',
|
||||
206 => 'Icircumflex',
|
||||
172 => 'logicalnot',
|
||||
246 => 'odieresis',
|
||||
252 => 'udieresis',
|
||||
240 => 'eth',
|
||||
158 => 'zcaron',
|
||||
185 => 'onesuperior',
|
||||
128 => 'Euro',
|
||||
),
|
||||
'isUnicode' => false,
|
||||
'FontName' => 'Helvetica',
|
||||
'FullName' => 'Helvetica',
|
||||
'FamilyName' => 'Helvetica',
|
||||
'Weight' => 'Medium',
|
||||
'ItalicAngle' => '0',
|
||||
'IsFixedPitch' => 'false',
|
||||
'CharacterSet' => 'ExtendedRoman',
|
||||
'FontBBox' =>
|
||||
array (
|
||||
0 => '-166',
|
||||
1 => '-225',
|
||||
2 => '1000',
|
||||
3 => '931',
|
||||
),
|
||||
'UnderlinePosition' => '-100',
|
||||
'UnderlineThickness' => '50',
|
||||
'Version' => '002.000',
|
||||
'EncodingScheme' => 'WinAnsiEncoding',
|
||||
'CapHeight' => '718',
|
||||
'XHeight' => '523',
|
||||
'Ascender' => '718',
|
||||
'Descender' => '-207',
|
||||
'StdHW' => '76',
|
||||
'StdVW' => '88',
|
||||
'StartCharMetrics' => '317',
|
||||
'C' =>
|
||||
array (
|
||||
32 => 278.0,
|
||||
160 => 278.0,
|
||||
33 => 278.0,
|
||||
34 => 355.0,
|
||||
35 => 556.0,
|
||||
36 => 556.0,
|
||||
37 => 889.0,
|
||||
38 => 667.0,
|
||||
146 => 222.0,
|
||||
40 => 333.0,
|
||||
41 => 333.0,
|
||||
42 => 389.0,
|
||||
43 => 584.0,
|
||||
44 => 278.0,
|
||||
45 => 333.0,
|
||||
173 => 333.0,
|
||||
46 => 278.0,
|
||||
47 => 278.0,
|
||||
48 => 556.0,
|
||||
49 => 556.0,
|
||||
50 => 556.0,
|
||||
51 => 556.0,
|
||||
52 => 556.0,
|
||||
53 => 556.0,
|
||||
54 => 556.0,
|
||||
55 => 556.0,
|
||||
56 => 556.0,
|
||||
57 => 556.0,
|
||||
58 => 278.0,
|
||||
59 => 278.0,
|
||||
60 => 584.0,
|
||||
61 => 584.0,
|
||||
62 => 584.0,
|
||||
63 => 556.0,
|
||||
64 => 1015.0,
|
||||
65 => 667.0,
|
||||
66 => 667.0,
|
||||
67 => 722.0,
|
||||
68 => 722.0,
|
||||
69 => 667.0,
|
||||
70 => 611.0,
|
||||
71 => 778.0,
|
||||
72 => 722.0,
|
||||
73 => 278.0,
|
||||
74 => 500.0,
|
||||
75 => 667.0,
|
||||
76 => 556.0,
|
||||
77 => 833.0,
|
||||
78 => 722.0,
|
||||
79 => 778.0,
|
||||
80 => 667.0,
|
||||
81 => 778.0,
|
||||
82 => 722.0,
|
||||
83 => 667.0,
|
||||
84 => 611.0,
|
||||
85 => 722.0,
|
||||
86 => 667.0,
|
||||
87 => 944.0,
|
||||
88 => 667.0,
|
||||
89 => 667.0,
|
||||
90 => 611.0,
|
||||
91 => 278.0,
|
||||
92 => 278.0,
|
||||
93 => 278.0,
|
||||
94 => 469.0,
|
||||
95 => 556.0,
|
||||
145 => 222.0,
|
||||
97 => 556.0,
|
||||
98 => 556.0,
|
||||
99 => 500.0,
|
||||
100 => 556.0,
|
||||
101 => 556.0,
|
||||
102 => 278.0,
|
||||
103 => 556.0,
|
||||
104 => 556.0,
|
||||
105 => 222.0,
|
||||
106 => 222.0,
|
||||
107 => 500.0,
|
||||
108 => 222.0,
|
||||
109 => 833.0,
|
||||
110 => 556.0,
|
||||
111 => 556.0,
|
||||
112 => 556.0,
|
||||
113 => 556.0,
|
||||
114 => 333.0,
|
||||
115 => 500.0,
|
||||
116 => 278.0,
|
||||
117 => 556.0,
|
||||
118 => 500.0,
|
||||
119 => 722.0,
|
||||
120 => 500.0,
|
||||
121 => 500.0,
|
||||
122 => 500.0,
|
||||
123 => 334.0,
|
||||
124 => 260.0,
|
||||
125 => 334.0,
|
||||
126 => 584.0,
|
||||
161 => 333.0,
|
||||
162 => 556.0,
|
||||
163 => 556.0,
|
||||
'fraction' => 167.0,
|
||||
165 => 556.0,
|
||||
131 => 556.0,
|
||||
167 => 556.0,
|
||||
164 => 556.0,
|
||||
39 => 191.0,
|
||||
147 => 333.0,
|
||||
171 => 556.0,
|
||||
139 => 333.0,
|
||||
155 => 333.0,
|
||||
'fi' => 500.0,
|
||||
'fl' => 500.0,
|
||||
150 => 556.0,
|
||||
134 => 556.0,
|
||||
135 => 556.0,
|
||||
183 => 278.0,
|
||||
182 => 537.0,
|
||||
149 => 350.0,
|
||||
130 => 222.0,
|
||||
132 => 333.0,
|
||||
148 => 333.0,
|
||||
187 => 556.0,
|
||||
133 => 1000.0,
|
||||
137 => 1000.0,
|
||||
191 => 611.0,
|
||||
96 => 333.0,
|
||||
180 => 333.0,
|
||||
136 => 333.0,
|
||||
152 => 333.0,
|
||||
175 => 333.0,
|
||||
'breve' => 333.0,
|
||||
'dotaccent' => 333.0,
|
||||
168 => 333.0,
|
||||
'ring' => 333.0,
|
||||
184 => 333.0,
|
||||
'hungarumlaut' => 333.0,
|
||||
'ogonek' => 333.0,
|
||||
'caron' => 333.0,
|
||||
151 => 1000.0,
|
||||
198 => 1000.0,
|
||||
170 => 370.0,
|
||||
'Lslash' => 556.0,
|
||||
216 => 778.0,
|
||||
140 => 1000.0,
|
||||
186 => 365.0,
|
||||
230 => 889.0,
|
||||
'dotlessi' => 278.0,
|
||||
'lslash' => 222.0,
|
||||
248 => 611.0,
|
||||
156 => 944.0,
|
||||
223 => 611.0,
|
||||
207 => 278.0,
|
||||
233 => 556.0,
|
||||
'abreve' => 556.0,
|
||||
'uhungarumlaut' => 556.0,
|
||||
'ecaron' => 556.0,
|
||||
159 => 667.0,
|
||||
247 => 584.0,
|
||||
221 => 667.0,
|
||||
194 => 667.0,
|
||||
225 => 556.0,
|
||||
219 => 722.0,
|
||||
253 => 500.0,
|
||||
'scommaaccent' => 500.0,
|
||||
234 => 556.0,
|
||||
'Uring' => 722.0,
|
||||
220 => 722.0,
|
||||
'aogonek' => 556.0,
|
||||
218 => 722.0,
|
||||
'uogonek' => 556.0,
|
||||
203 => 667.0,
|
||||
'Dcroat' => 722.0,
|
||||
'commaaccent' => 250.0,
|
||||
169 => 737.0,
|
||||
'Emacron' => 667.0,
|
||||
'ccaron' => 500.0,
|
||||
229 => 556.0,
|
||||
'Ncommaaccent' => 722.0,
|
||||
'lacute' => 222.0,
|
||||
224 => 556.0,
|
||||
'Tcommaaccent' => 611.0,
|
||||
'Cacute' => 722.0,
|
||||
227 => 556.0,
|
||||
'Edotaccent' => 667.0,
|
||||
154 => 500.0,
|
||||
'scedilla' => 500.0,
|
||||
237 => 278.0,
|
||||
'lozenge' => 471.0,
|
||||
'Rcaron' => 722.0,
|
||||
'Gcommaaccent' => 778.0,
|
||||
251 => 556.0,
|
||||
226 => 556.0,
|
||||
'Amacron' => 667.0,
|
||||
'rcaron' => 333.0,
|
||||
231 => 500.0,
|
||||
'Zdotaccent' => 611.0,
|
||||
222 => 667.0,
|
||||
'Omacron' => 778.0,
|
||||
'Racute' => 722.0,
|
||||
'Sacute' => 667.0,
|
||||
'dcaron' => 643.0,
|
||||
'Umacron' => 722.0,
|
||||
'uring' => 556.0,
|
||||
179 => 333.0,
|
||||
210 => 778.0,
|
||||
192 => 667.0,
|
||||
'Abreve' => 667.0,
|
||||
215 => 584.0,
|
||||
250 => 556.0,
|
||||
'Tcaron' => 611.0,
|
||||
'partialdiff' => 476.0,
|
||||
255 => 500.0,
|
||||
'Nacute' => 722.0,
|
||||
238 => 278.0,
|
||||
202 => 667.0,
|
||||
228 => 556.0,
|
||||
235 => 556.0,
|
||||
'cacute' => 500.0,
|
||||
'nacute' => 556.0,
|
||||
'umacron' => 556.0,
|
||||
'Ncaron' => 722.0,
|
||||
205 => 278.0,
|
||||
177 => 584.0,
|
||||
166 => 260.0,
|
||||
174 => 737.0,
|
||||
'Gbreve' => 778.0,
|
||||
'Idotaccent' => 278.0,
|
||||
'summation' => 600.0,
|
||||
200 => 667.0,
|
||||
'racute' => 333.0,
|
||||
'omacron' => 556.0,
|
||||
'Zacute' => 611.0,
|
||||
142 => 611.0,
|
||||
'greaterequal' => 549.0,
|
||||
208 => 722.0,
|
||||
199 => 722.0,
|
||||
'lcommaaccent' => 222.0,
|
||||
'tcaron' => 317.0,
|
||||
'eogonek' => 556.0,
|
||||
'Uogonek' => 722.0,
|
||||
193 => 667.0,
|
||||
196 => 667.0,
|
||||
232 => 556.0,
|
||||
'zacute' => 500.0,
|
||||
'iogonek' => 222.0,
|
||||
211 => 778.0,
|
||||
243 => 556.0,
|
||||
'amacron' => 556.0,
|
||||
'sacute' => 500.0,
|
||||
239 => 278.0,
|
||||
212 => 778.0,
|
||||
217 => 722.0,
|
||||
'Delta' => 612.0,
|
||||
254 => 556.0,
|
||||
178 => 333.0,
|
||||
214 => 778.0,
|
||||
181 => 556.0,
|
||||
236 => 278.0,
|
||||
'ohungarumlaut' => 556.0,
|
||||
'Eogonek' => 667.0,
|
||||
'dcroat' => 556.0,
|
||||
190 => 834.0,
|
||||
'Scedilla' => 667.0,
|
||||
'lcaron' => 299.0,
|
||||
'Kcommaaccent' => 667.0,
|
||||
'Lacute' => 556.0,
|
||||
153 => 1000.0,
|
||||
'edotaccent' => 556.0,
|
||||
204 => 278.0,
|
||||
'Imacron' => 278.0,
|
||||
'Lcaron' => 556.0,
|
||||
189 => 834.0,
|
||||
'lessequal' => 549.0,
|
||||
244 => 556.0,
|
||||
241 => 556.0,
|
||||
'Uhungarumlaut' => 722.0,
|
||||
201 => 667.0,
|
||||
'emacron' => 556.0,
|
||||
'gbreve' => 556.0,
|
||||
188 => 834.0,
|
||||
138 => 667.0,
|
||||
'Scommaaccent' => 667.0,
|
||||
'Ohungarumlaut' => 778.0,
|
||||
176 => 400.0,
|
||||
242 => 556.0,
|
||||
'Ccaron' => 722.0,
|
||||
249 => 556.0,
|
||||
'radical' => 453.0,
|
||||
'Dcaron' => 722.0,
|
||||
'rcommaaccent' => 333.0,
|
||||
209 => 722.0,
|
||||
245 => 556.0,
|
||||
'Rcommaaccent' => 722.0,
|
||||
'Lcommaaccent' => 556.0,
|
||||
195 => 667.0,
|
||||
'Aogonek' => 667.0,
|
||||
197 => 667.0,
|
||||
213 => 778.0,
|
||||
'zdotaccent' => 500.0,
|
||||
'Ecaron' => 667.0,
|
||||
'Iogonek' => 278.0,
|
||||
'kcommaaccent' => 500.0,
|
||||
'minus' => 584.0,
|
||||
206 => 278.0,
|
||||
'ncaron' => 556.0,
|
||||
'tcommaaccent' => 278.0,
|
||||
172 => 584.0,
|
||||
246 => 556.0,
|
||||
252 => 556.0,
|
||||
'notequal' => 549.0,
|
||||
'gcommaaccent' => 556.0,
|
||||
240 => 556.0,
|
||||
158 => 500.0,
|
||||
'ncommaaccent' => 556.0,
|
||||
185 => 333.0,
|
||||
'imacron' => 278.0,
|
||||
128 => 556.0,
|
||||
),
|
||||
'CIDtoGID_Compressed' => true,
|
||||
'CIDtoGID' => 'eJwDAAAAAAE=',
|
||||
'_version_' => 6,
|
||||
);
|
||||
@@ -0,0 +1,572 @@
|
||||
<?php return array (
|
||||
'codeToName' =>
|
||||
array (
|
||||
32 => 'space',
|
||||
160 => 'space',
|
||||
33 => 'exclam',
|
||||
34 => 'quotedbl',
|
||||
35 => 'numbersign',
|
||||
36 => 'dollar',
|
||||
37 => 'percent',
|
||||
38 => 'ampersand',
|
||||
146 => 'quoteright',
|
||||
40 => 'parenleft',
|
||||
41 => 'parenright',
|
||||
42 => 'asterisk',
|
||||
43 => 'plus',
|
||||
44 => 'comma',
|
||||
45 => 'hyphen',
|
||||
173 => 'hyphen',
|
||||
46 => 'period',
|
||||
47 => 'slash',
|
||||
48 => 'zero',
|
||||
49 => 'one',
|
||||
50 => 'two',
|
||||
51 => 'three',
|
||||
52 => 'four',
|
||||
53 => 'five',
|
||||
54 => 'six',
|
||||
55 => 'seven',
|
||||
56 => 'eight',
|
||||
57 => 'nine',
|
||||
58 => 'colon',
|
||||
59 => 'semicolon',
|
||||
60 => 'less',
|
||||
61 => 'equal',
|
||||
62 => 'greater',
|
||||
63 => 'question',
|
||||
64 => 'at',
|
||||
65 => 'A',
|
||||
66 => 'B',
|
||||
67 => 'C',
|
||||
68 => 'D',
|
||||
69 => 'E',
|
||||
70 => 'F',
|
||||
71 => 'G',
|
||||
72 => 'H',
|
||||
73 => 'I',
|
||||
74 => 'J',
|
||||
75 => 'K',
|
||||
76 => 'L',
|
||||
77 => 'M',
|
||||
78 => 'N',
|
||||
79 => 'O',
|
||||
80 => 'P',
|
||||
81 => 'Q',
|
||||
82 => 'R',
|
||||
83 => 'S',
|
||||
84 => 'T',
|
||||
85 => 'U',
|
||||
86 => 'V',
|
||||
87 => 'W',
|
||||
88 => 'X',
|
||||
89 => 'Y',
|
||||
90 => 'Z',
|
||||
91 => 'bracketleft',
|
||||
92 => 'backslash',
|
||||
93 => 'bracketright',
|
||||
94 => 'asciicircum',
|
||||
95 => 'underscore',
|
||||
145 => 'quoteleft',
|
||||
97 => 'a',
|
||||
98 => 'b',
|
||||
99 => 'c',
|
||||
100 => 'd',
|
||||
101 => 'e',
|
||||
102 => 'f',
|
||||
103 => 'g',
|
||||
104 => 'h',
|
||||
105 => 'i',
|
||||
106 => 'j',
|
||||
107 => 'k',
|
||||
108 => 'l',
|
||||
109 => 'm',
|
||||
110 => 'n',
|
||||
111 => 'o',
|
||||
112 => 'p',
|
||||
113 => 'q',
|
||||
114 => 'r',
|
||||
115 => 's',
|
||||
116 => 't',
|
||||
117 => 'u',
|
||||
118 => 'v',
|
||||
119 => 'w',
|
||||
120 => 'x',
|
||||
121 => 'y',
|
||||
122 => 'z',
|
||||
123 => 'braceleft',
|
||||
124 => 'bar',
|
||||
125 => 'braceright',
|
||||
126 => 'asciitilde',
|
||||
161 => 'exclamdown',
|
||||
162 => 'cent',
|
||||
163 => 'sterling',
|
||||
165 => 'yen',
|
||||
131 => 'florin',
|
||||
167 => 'section',
|
||||
164 => 'currency',
|
||||
39 => 'quotesingle',
|
||||
147 => 'quotedblleft',
|
||||
171 => 'guillemotleft',
|
||||
139 => 'guilsinglleft',
|
||||
155 => 'guilsinglright',
|
||||
150 => 'endash',
|
||||
134 => 'dagger',
|
||||
135 => 'daggerdbl',
|
||||
183 => 'periodcentered',
|
||||
182 => 'paragraph',
|
||||
149 => 'bullet',
|
||||
130 => 'quotesinglbase',
|
||||
132 => 'quotedblbase',
|
||||
148 => 'quotedblright',
|
||||
187 => 'guillemotright',
|
||||
133 => 'ellipsis',
|
||||
137 => 'perthousand',
|
||||
191 => 'questiondown',
|
||||
96 => 'grave',
|
||||
180 => 'acute',
|
||||
136 => 'circumflex',
|
||||
152 => 'tilde',
|
||||
175 => 'macron',
|
||||
168 => 'dieresis',
|
||||
184 => 'cedilla',
|
||||
151 => 'emdash',
|
||||
198 => 'AE',
|
||||
170 => 'ordfeminine',
|
||||
216 => 'Oslash',
|
||||
140 => 'OE',
|
||||
186 => 'ordmasculine',
|
||||
230 => 'ae',
|
||||
248 => 'oslash',
|
||||
156 => 'oe',
|
||||
223 => 'germandbls',
|
||||
207 => 'Idieresis',
|
||||
233 => 'eacute',
|
||||
159 => 'Ydieresis',
|
||||
247 => 'divide',
|
||||
221 => 'Yacute',
|
||||
194 => 'Acircumflex',
|
||||
225 => 'aacute',
|
||||
219 => 'Ucircumflex',
|
||||
253 => 'yacute',
|
||||
234 => 'ecircumflex',
|
||||
220 => 'Udieresis',
|
||||
218 => 'Uacute',
|
||||
203 => 'Edieresis',
|
||||
169 => 'copyright',
|
||||
229 => 'aring',
|
||||
224 => 'agrave',
|
||||
227 => 'atilde',
|
||||
154 => 'scaron',
|
||||
237 => 'iacute',
|
||||
251 => 'ucircumflex',
|
||||
226 => 'acircumflex',
|
||||
231 => 'ccedilla',
|
||||
222 => 'Thorn',
|
||||
179 => 'threesuperior',
|
||||
210 => 'Ograve',
|
||||
192 => 'Agrave',
|
||||
215 => 'multiply',
|
||||
250 => 'uacute',
|
||||
255 => 'ydieresis',
|
||||
238 => 'icircumflex',
|
||||
202 => 'Ecircumflex',
|
||||
228 => 'adieresis',
|
||||
235 => 'edieresis',
|
||||
205 => 'Iacute',
|
||||
177 => 'plusminus',
|
||||
166 => 'brokenbar',
|
||||
174 => 'registered',
|
||||
200 => 'Egrave',
|
||||
142 => 'Zcaron',
|
||||
208 => 'Eth',
|
||||
199 => 'Ccedilla',
|
||||
193 => 'Aacute',
|
||||
196 => 'Adieresis',
|
||||
232 => 'egrave',
|
||||
211 => 'Oacute',
|
||||
243 => 'oacute',
|
||||
239 => 'idieresis',
|
||||
212 => 'Ocircumflex',
|
||||
217 => 'Ugrave',
|
||||
254 => 'thorn',
|
||||
178 => 'twosuperior',
|
||||
214 => 'Odieresis',
|
||||
181 => 'mu',
|
||||
236 => 'igrave',
|
||||
190 => 'threequarters',
|
||||
153 => 'trademark',
|
||||
204 => 'Igrave',
|
||||
189 => 'onehalf',
|
||||
244 => 'ocircumflex',
|
||||
241 => 'ntilde',
|
||||
201 => 'Eacute',
|
||||
188 => 'onequarter',
|
||||
138 => 'Scaron',
|
||||
176 => 'degree',
|
||||
242 => 'ograve',
|
||||
249 => 'ugrave',
|
||||
209 => 'Ntilde',
|
||||
245 => 'otilde',
|
||||
195 => 'Atilde',
|
||||
197 => 'Aring',
|
||||
213 => 'Otilde',
|
||||
206 => 'Icircumflex',
|
||||
172 => 'logicalnot',
|
||||
246 => 'odieresis',
|
||||
252 => 'udieresis',
|
||||
240 => 'eth',
|
||||
158 => 'zcaron',
|
||||
185 => 'onesuperior',
|
||||
128 => 'Euro',
|
||||
),
|
||||
'isUnicode' => false,
|
||||
'FontName' => 'Times-Bold',
|
||||
'FullName' => 'Times Bold',
|
||||
'FamilyName' => 'Times',
|
||||
'Weight' => 'Bold',
|
||||
'ItalicAngle' => '0',
|
||||
'IsFixedPitch' => 'false',
|
||||
'CharacterSet' => 'ExtendedRoman',
|
||||
'FontBBox' =>
|
||||
array (
|
||||
0 => '-168',
|
||||
1 => '-218',
|
||||
2 => '1000',
|
||||
3 => '935',
|
||||
),
|
||||
'UnderlinePosition' => '-100',
|
||||
'UnderlineThickness' => '50',
|
||||
'Version' => '002.000',
|
||||
'EncodingScheme' => 'WinAnsiEncoding',
|
||||
'CapHeight' => '676',
|
||||
'XHeight' => '461',
|
||||
'Ascender' => '683',
|
||||
'Descender' => '-217',
|
||||
'StdHW' => '44',
|
||||
'StdVW' => '139',
|
||||
'StartCharMetrics' => '317',
|
||||
'C' =>
|
||||
array (
|
||||
32 => 250.0,
|
||||
160 => 250.0,
|
||||
33 => 333.0,
|
||||
34 => 555.0,
|
||||
35 => 500.0,
|
||||
36 => 500.0,
|
||||
37 => 1000.0,
|
||||
38 => 833.0,
|
||||
146 => 333.0,
|
||||
40 => 333.0,
|
||||
41 => 333.0,
|
||||
42 => 500.0,
|
||||
43 => 570.0,
|
||||
44 => 250.0,
|
||||
45 => 333.0,
|
||||
173 => 333.0,
|
||||
46 => 250.0,
|
||||
47 => 278.0,
|
||||
48 => 500.0,
|
||||
49 => 500.0,
|
||||
50 => 500.0,
|
||||
51 => 500.0,
|
||||
52 => 500.0,
|
||||
53 => 500.0,
|
||||
54 => 500.0,
|
||||
55 => 500.0,
|
||||
56 => 500.0,
|
||||
57 => 500.0,
|
||||
58 => 333.0,
|
||||
59 => 333.0,
|
||||
60 => 570.0,
|
||||
61 => 570.0,
|
||||
62 => 570.0,
|
||||
63 => 500.0,
|
||||
64 => 930.0,
|
||||
65 => 722.0,
|
||||
66 => 667.0,
|
||||
67 => 722.0,
|
||||
68 => 722.0,
|
||||
69 => 667.0,
|
||||
70 => 611.0,
|
||||
71 => 778.0,
|
||||
72 => 778.0,
|
||||
73 => 389.0,
|
||||
74 => 500.0,
|
||||
75 => 778.0,
|
||||
76 => 667.0,
|
||||
77 => 944.0,
|
||||
78 => 722.0,
|
||||
79 => 778.0,
|
||||
80 => 611.0,
|
||||
81 => 778.0,
|
||||
82 => 722.0,
|
||||
83 => 556.0,
|
||||
84 => 667.0,
|
||||
85 => 722.0,
|
||||
86 => 722.0,
|
||||
87 => 1000.0,
|
||||
88 => 722.0,
|
||||
89 => 722.0,
|
||||
90 => 667.0,
|
||||
91 => 333.0,
|
||||
92 => 278.0,
|
||||
93 => 333.0,
|
||||
94 => 581.0,
|
||||
95 => 500.0,
|
||||
145 => 333.0,
|
||||
97 => 500.0,
|
||||
98 => 556.0,
|
||||
99 => 444.0,
|
||||
100 => 556.0,
|
||||
101 => 444.0,
|
||||
102 => 333.0,
|
||||
103 => 500.0,
|
||||
104 => 556.0,
|
||||
105 => 278.0,
|
||||
106 => 333.0,
|
||||
107 => 556.0,
|
||||
108 => 278.0,
|
||||
109 => 833.0,
|
||||
110 => 556.0,
|
||||
111 => 500.0,
|
||||
112 => 556.0,
|
||||
113 => 556.0,
|
||||
114 => 444.0,
|
||||
115 => 389.0,
|
||||
116 => 333.0,
|
||||
117 => 556.0,
|
||||
118 => 500.0,
|
||||
119 => 722.0,
|
||||
120 => 500.0,
|
||||
121 => 500.0,
|
||||
122 => 444.0,
|
||||
123 => 394.0,
|
||||
124 => 220.0,
|
||||
125 => 394.0,
|
||||
126 => 520.0,
|
||||
161 => 333.0,
|
||||
162 => 500.0,
|
||||
163 => 500.0,
|
||||
'fraction' => 167.0,
|
||||
165 => 500.0,
|
||||
131 => 500.0,
|
||||
167 => 500.0,
|
||||
164 => 500.0,
|
||||
39 => 278.0,
|
||||
147 => 500.0,
|
||||
171 => 500.0,
|
||||
139 => 333.0,
|
||||
155 => 333.0,
|
||||
'fi' => 556.0,
|
||||
'fl' => 556.0,
|
||||
150 => 500.0,
|
||||
134 => 500.0,
|
||||
135 => 500.0,
|
||||
183 => 250.0,
|
||||
182 => 540.0,
|
||||
149 => 350.0,
|
||||
130 => 333.0,
|
||||
132 => 500.0,
|
||||
148 => 500.0,
|
||||
187 => 500.0,
|
||||
133 => 1000.0,
|
||||
137 => 1000.0,
|
||||
191 => 500.0,
|
||||
96 => 333.0,
|
||||
180 => 333.0,
|
||||
136 => 333.0,
|
||||
152 => 333.0,
|
||||
175 => 333.0,
|
||||
'breve' => 333.0,
|
||||
'dotaccent' => 333.0,
|
||||
168 => 333.0,
|
||||
'ring' => 333.0,
|
||||
184 => 333.0,
|
||||
'hungarumlaut' => 333.0,
|
||||
'ogonek' => 333.0,
|
||||
'caron' => 333.0,
|
||||
151 => 1000.0,
|
||||
198 => 1000.0,
|
||||
170 => 300.0,
|
||||
'Lslash' => 667.0,
|
||||
216 => 778.0,
|
||||
140 => 1000.0,
|
||||
186 => 330.0,
|
||||
230 => 722.0,
|
||||
'dotlessi' => 278.0,
|
||||
'lslash' => 278.0,
|
||||
248 => 500.0,
|
||||
156 => 722.0,
|
||||
223 => 556.0,
|
||||
207 => 389.0,
|
||||
233 => 444.0,
|
||||
'abreve' => 500.0,
|
||||
'uhungarumlaut' => 556.0,
|
||||
'ecaron' => 444.0,
|
||||
159 => 722.0,
|
||||
247 => 570.0,
|
||||
221 => 722.0,
|
||||
194 => 722.0,
|
||||
225 => 500.0,
|
||||
219 => 722.0,
|
||||
253 => 500.0,
|
||||
'scommaaccent' => 389.0,
|
||||
234 => 444.0,
|
||||
'Uring' => 722.0,
|
||||
220 => 722.0,
|
||||
'aogonek' => 500.0,
|
||||
218 => 722.0,
|
||||
'uogonek' => 556.0,
|
||||
203 => 667.0,
|
||||
'Dcroat' => 722.0,
|
||||
'commaaccent' => 250.0,
|
||||
169 => 747.0,
|
||||
'Emacron' => 667.0,
|
||||
'ccaron' => 444.0,
|
||||
229 => 500.0,
|
||||
'Ncommaaccent' => 722.0,
|
||||
'lacute' => 278.0,
|
||||
224 => 500.0,
|
||||
'Tcommaaccent' => 667.0,
|
||||
'Cacute' => 722.0,
|
||||
227 => 500.0,
|
||||
'Edotaccent' => 667.0,
|
||||
154 => 389.0,
|
||||
'scedilla' => 389.0,
|
||||
237 => 278.0,
|
||||
'lozenge' => 494.0,
|
||||
'Rcaron' => 722.0,
|
||||
'Gcommaaccent' => 778.0,
|
||||
251 => 556.0,
|
||||
226 => 500.0,
|
||||
'Amacron' => 722.0,
|
||||
'rcaron' => 444.0,
|
||||
231 => 444.0,
|
||||
'Zdotaccent' => 667.0,
|
||||
222 => 611.0,
|
||||
'Omacron' => 778.0,
|
||||
'Racute' => 722.0,
|
||||
'Sacute' => 556.0,
|
||||
'dcaron' => 672.0,
|
||||
'Umacron' => 722.0,
|
||||
'uring' => 556.0,
|
||||
179 => 300.0,
|
||||
210 => 778.0,
|
||||
192 => 722.0,
|
||||
'Abreve' => 722.0,
|
||||
215 => 570.0,
|
||||
250 => 556.0,
|
||||
'Tcaron' => 667.0,
|
||||
'partialdiff' => 494.0,
|
||||
255 => 500.0,
|
||||
'Nacute' => 722.0,
|
||||
238 => 278.0,
|
||||
202 => 667.0,
|
||||
228 => 500.0,
|
||||
235 => 444.0,
|
||||
'cacute' => 444.0,
|
||||
'nacute' => 556.0,
|
||||
'umacron' => 556.0,
|
||||
'Ncaron' => 722.0,
|
||||
205 => 389.0,
|
||||
177 => 570.0,
|
||||
166 => 220.0,
|
||||
174 => 747.0,
|
||||
'Gbreve' => 778.0,
|
||||
'Idotaccent' => 389.0,
|
||||
'summation' => 600.0,
|
||||
200 => 667.0,
|
||||
'racute' => 444.0,
|
||||
'omacron' => 500.0,
|
||||
'Zacute' => 667.0,
|
||||
142 => 667.0,
|
||||
'greaterequal' => 549.0,
|
||||
208 => 722.0,
|
||||
199 => 722.0,
|
||||
'lcommaaccent' => 278.0,
|
||||
'tcaron' => 416.0,
|
||||
'eogonek' => 444.0,
|
||||
'Uogonek' => 722.0,
|
||||
193 => 722.0,
|
||||
196 => 722.0,
|
||||
232 => 444.0,
|
||||
'zacute' => 444.0,
|
||||
'iogonek' => 278.0,
|
||||
211 => 778.0,
|
||||
243 => 500.0,
|
||||
'amacron' => 500.0,
|
||||
'sacute' => 389.0,
|
||||
239 => 278.0,
|
||||
212 => 778.0,
|
||||
217 => 722.0,
|
||||
'Delta' => 612.0,
|
||||
254 => 556.0,
|
||||
178 => 300.0,
|
||||
214 => 778.0,
|
||||
181 => 556.0,
|
||||
236 => 278.0,
|
||||
'ohungarumlaut' => 500.0,
|
||||
'Eogonek' => 667.0,
|
||||
'dcroat' => 556.0,
|
||||
190 => 750.0,
|
||||
'Scedilla' => 556.0,
|
||||
'lcaron' => 394.0,
|
||||
'Kcommaaccent' => 778.0,
|
||||
'Lacute' => 667.0,
|
||||
153 => 1000.0,
|
||||
'edotaccent' => 444.0,
|
||||
204 => 389.0,
|
||||
'Imacron' => 389.0,
|
||||
'Lcaron' => 667.0,
|
||||
189 => 750.0,
|
||||
'lessequal' => 549.0,
|
||||
244 => 500.0,
|
||||
241 => 556.0,
|
||||
'Uhungarumlaut' => 722.0,
|
||||
201 => 667.0,
|
||||
'emacron' => 444.0,
|
||||
'gbreve' => 500.0,
|
||||
188 => 750.0,
|
||||
138 => 556.0,
|
||||
'Scommaaccent' => 556.0,
|
||||
'Ohungarumlaut' => 778.0,
|
||||
176 => 400.0,
|
||||
242 => 500.0,
|
||||
'Ccaron' => 722.0,
|
||||
249 => 556.0,
|
||||
'radical' => 549.0,
|
||||
'Dcaron' => 722.0,
|
||||
'rcommaaccent' => 444.0,
|
||||
209 => 722.0,
|
||||
245 => 500.0,
|
||||
'Rcommaaccent' => 722.0,
|
||||
'Lcommaaccent' => 667.0,
|
||||
195 => 722.0,
|
||||
'Aogonek' => 722.0,
|
||||
197 => 722.0,
|
||||
213 => 778.0,
|
||||
'zdotaccent' => 444.0,
|
||||
'Ecaron' => 667.0,
|
||||
'Iogonek' => 389.0,
|
||||
'kcommaaccent' => 556.0,
|
||||
'minus' => 570.0,
|
||||
206 => 389.0,
|
||||
'ncaron' => 556.0,
|
||||
'tcommaaccent' => 333.0,
|
||||
172 => 570.0,
|
||||
246 => 500.0,
|
||||
252 => 556.0,
|
||||
'notequal' => 549.0,
|
||||
'gcommaaccent' => 500.0,
|
||||
240 => 500.0,
|
||||
158 => 444.0,
|
||||
'ncommaaccent' => 556.0,
|
||||
185 => 300.0,
|
||||
'imacron' => 278.0,
|
||||
128 => 500.0,
|
||||
),
|
||||
'CIDtoGID_Compressed' => true,
|
||||
'CIDtoGID' => 'eJwDAAAAAAE=',
|
||||
'_version_' => 6,
|
||||
);
|
||||
@@ -0,0 +1,89 @@
|
||||
<?php return array (
|
||||
'sans-serif' => array(
|
||||
'normal' => $rootDir . '/lib/fonts/Helvetica',
|
||||
'bold' => $rootDir . '/lib/fonts/Helvetica-Bold',
|
||||
'italic' => $rootDir . '/lib/fonts/Helvetica-Oblique',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/Helvetica-BoldOblique',
|
||||
),
|
||||
'times' => array(
|
||||
'normal' => $rootDir . '/lib/fonts/Times-Roman',
|
||||
'bold' => $rootDir . '/lib/fonts/Times-Bold',
|
||||
'italic' => $rootDir . '/lib/fonts/Times-Italic',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/Times-BoldItalic',
|
||||
),
|
||||
'times-roman' => array(
|
||||
'normal' => $rootDir . '/lib/fonts/Times-Roman',
|
||||
'bold' => $rootDir . '/lib/fonts/Times-Bold',
|
||||
'italic' => $rootDir . '/lib/fonts/Times-Italic',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/Times-BoldItalic',
|
||||
),
|
||||
'courier' => array(
|
||||
'normal' => $rootDir . '/lib/fonts/Courier',
|
||||
'bold' => $rootDir . '/lib/fonts/Courier-Bold',
|
||||
'italic' => $rootDir . '/lib/fonts/Courier-Oblique',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/Courier-BoldOblique',
|
||||
),
|
||||
'helvetica' => array(
|
||||
'normal' => $rootDir . '/lib/fonts/Helvetica',
|
||||
'bold' => $rootDir . '/lib/fonts/Helvetica-Bold',
|
||||
'italic' => $rootDir . '/lib/fonts/Helvetica-Oblique',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/Helvetica-BoldOblique',
|
||||
),
|
||||
'zapfdingbats' => array(
|
||||
'normal' => $rootDir . '/lib/fonts/ZapfDingbats',
|
||||
'bold' => $rootDir . '/lib/fonts/ZapfDingbats',
|
||||
'italic' => $rootDir . '/lib/fonts/ZapfDingbats',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/ZapfDingbats',
|
||||
),
|
||||
'symbol' => array(
|
||||
'normal' => $rootDir . '/lib/fonts/Symbol',
|
||||
'bold' => $rootDir . '/lib/fonts/Symbol',
|
||||
'italic' => $rootDir . '/lib/fonts/Symbol',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/Symbol',
|
||||
),
|
||||
'serif' => array(
|
||||
'normal' => $rootDir . '/lib/fonts/Times-Roman',
|
||||
'bold' => $rootDir . '/lib/fonts/Times-Bold',
|
||||
'italic' => $rootDir . '/lib/fonts/Times-Italic',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/Times-BoldItalic',
|
||||
),
|
||||
'monospace' => array(
|
||||
'normal' => $rootDir . '/lib/fonts/Courier',
|
||||
'bold' => $rootDir . '/lib/fonts/Courier-Bold',
|
||||
'italic' => $rootDir . '/lib/fonts/Courier-Oblique',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/Courier-BoldOblique',
|
||||
),
|
||||
'fixed' => array(
|
||||
'normal' => $rootDir . '/lib/fonts/Courier',
|
||||
'bold' => $rootDir . '/lib/fonts/Courier-Bold',
|
||||
'italic' => $rootDir . '/lib/fonts/Courier-Oblique',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/Courier-BoldOblique',
|
||||
),
|
||||
'dejavu sans' => array(
|
||||
'bold' => $rootDir . '/lib/fonts/DejaVuSans-Bold',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/DejaVuSans-BoldOblique',
|
||||
'italic' => $rootDir . '/lib/fonts/DejaVuSans-Oblique',
|
||||
'normal' => $rootDir . '/lib/fonts/DejaVuSans',
|
||||
),
|
||||
'dejavu sans mono' => array(
|
||||
'bold' => $rootDir . '/lib/fonts/DejaVuSansMono-Bold',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/DejaVuSansMono-BoldOblique',
|
||||
'italic' => $rootDir . '/lib/fonts/DejaVuSansMono-Oblique',
|
||||
'normal' => $rootDir . '/lib/fonts/DejaVuSansMono',
|
||||
),
|
||||
'dejavu serif' => array(
|
||||
'bold' => $rootDir . '/lib/fonts/DejaVuSerif-Bold',
|
||||
'bold_italic' => $rootDir . '/lib/fonts/DejaVuSerif-BoldItalic',
|
||||
'italic' => $rootDir . '/lib/fonts/DejaVuSerif-Italic',
|
||||
'normal' => $rootDir . '/lib/fonts/DejaVuSerif',
|
||||
),
|
||||
'simhei' => array(
|
||||
'normal' => $fontDir . '/simhei',
|
||||
'bold' => $fontDir . '/simhei',
|
||||
'italic' => $fontDir . '/simhei',
|
||||
'bold_italic' => $fontDir . '/simhei',
|
||||
),
|
||||
'fontawesome' => array(
|
||||
'normal' => $fontDir . '/fontawesome_normal_c6d7408a227b5962c5926faffde7049d',
|
||||
),
|
||||
) ?>
|
||||
Binary file not shown.
@@ -0,0 +1,732 @@
|
||||
StartFontMetrics 4.1
|
||||
Notice Converted by PHP-font-lib
|
||||
Comment https://github.com/PhenX/php-font-lib
|
||||
EncodingScheme FontSpecific
|
||||
Copyright Copyright Dave Gandy 2016. All rights reserved.
|
||||
FontName FontAwesome
|
||||
FontSubfamily Regular
|
||||
UniqueID FONTLAB:OTFEXPORT
|
||||
FullName FontAwesome
|
||||
Version Version 4.7.0 2016
|
||||
PostScriptName FontAwesome
|
||||
Trademark Please refer to the Copyright section for the font trademark attribution notices.
|
||||
Manufacturer Fort Awesome
|
||||
Designer Dave Gandy
|
||||
FontVendorURL http://fontawesome.io
|
||||
LicenseURL http://fontawesome.io/license/
|
||||
Weight Medium
|
||||
ItalicAngle 0
|
||||
IsFixedPitch false
|
||||
UnderlineThickness 0
|
||||
UnderlinePosition 0
|
||||
FontHeightOffset 0
|
||||
Ascender 857
|
||||
Descender -143
|
||||
FontBBox -1 -143 1286 857
|
||||
StartCharMetrics 707
|
||||
U 32 ; WX 250 ; N space ; G 3
|
||||
U 168 ; WX 1000 ; N dieresis ; G 4
|
||||
U 169 ; WX 1000 ; N copyright ; G 5
|
||||
U 174 ; WX 1000 ; N registered ; G 6
|
||||
U 180 ; WX 1000 ; N acute ; G 7
|
||||
U 198 ; WX 1000 ; N AE ; G 8
|
||||
U 216 ; WX 1000 ; N Oslash ; G 9
|
||||
U 8482 ; WX 1000 ; N trademark ; G 10
|
||||
U 8734 ; WX 1000 ; N infinity ; G 11
|
||||
U 8800 ; WX 1000 ; N notequal ; G 12
|
||||
U 61440 ; WX 1000 ; N glass ; G 13
|
||||
U 61441 ; WX 857 ; N music ; G 14
|
||||
U 61442 ; WX 929 ; N search ; G 15
|
||||
U 61443 ; WX 1000 ; N envelope ; G 16
|
||||
U 61444 ; WX 1000 ; N heart ; G 17
|
||||
U 61445 ; WX 929 ; N star ; G 18
|
||||
U 61446 ; WX 929 ; N star_empty ; G 19
|
||||
U 61447 ; WX 714 ; N user ; G 20
|
||||
U 61448 ; WX 1071 ; N film ; G 21
|
||||
U 61449 ; WX 929 ; N th_large ; G 22
|
||||
U 61450 ; WX 1000 ; N th ; G 23
|
||||
U 61451 ; WX 1000 ; N th_list ; G 24
|
||||
U 61452 ; WX 1000 ; N ok ; G 25
|
||||
U 61453 ; WX 786 ; N remove ; G 26
|
||||
U 61454 ; WX 929 ; N zoom_in ; G 27
|
||||
U 61456 ; WX 929 ; N zoom_out ; G 28
|
||||
U 61457 ; WX 857 ; N off ; G 29
|
||||
U 61458 ; WX 1000 ; N signal ; G 30
|
||||
U 61459 ; WX 857 ; N cog ; G 31
|
||||
U 61460 ; WX 786 ; N trash ; G 32
|
||||
U 61461 ; WX 929 ; N home ; G 33
|
||||
U 61462 ; WX 857 ; N file_alt ; G 34
|
||||
U 61463 ; WX 857 ; N time ; G 35
|
||||
U 61464 ; WX 1071 ; N road ; G 36
|
||||
U 61465 ; WX 929 ; N download_alt ; G 37
|
||||
U 61466 ; WX 857 ; N download ; G 38
|
||||
U 61467 ; WX 857 ; N upload ; G 39
|
||||
U 61468 ; WX 857 ; N inbox ; G 40
|
||||
U 61469 ; WX 857 ; N play_circle ; G 41
|
||||
U 61470 ; WX 857 ; N repeat ; G 42
|
||||
U 61473 ; WX 857 ; N refresh ; G 43
|
||||
U 61474 ; WX 1000 ; N list_alt ; G 44
|
||||
U 61475 ; WX 643 ; N lock ; G 45
|
||||
U 61476 ; WX 1000 ; N flag ; G 46
|
||||
U 61477 ; WX 929 ; N headphones ; G 47
|
||||
U 61478 ; WX 429 ; N volume_off ; G 48
|
||||
U 61479 ; WX 643 ; N volume_down ; G 49
|
||||
U 61480 ; WX 929 ; N volume_up ; G 50
|
||||
U 61481 ; WX 786 ; N qrcode ; G 51
|
||||
U 61482 ; WX 1000 ; N barcode ; G 52
|
||||
U 61483 ; WX 857 ; N tag ; G 53
|
||||
U 61484 ; WX 1071 ; N tags ; G 54
|
||||
U 61485 ; WX 929 ; N book ; G 55
|
||||
U 61486 ; WX 714 ; N bookmark ; G 56
|
||||
U 61487 ; WX 929 ; N print ; G 57
|
||||
U 61488 ; WX 1071 ; N camera ; G 58
|
||||
U 61489 ; WX 929 ; N font ; G 59
|
||||
U 61490 ; WX 786 ; N bold ; G 60
|
||||
U 61491 ; WX 571 ; N italic ; G 61
|
||||
U 61492 ; WX 1000 ; N text_height ; G 62
|
||||
U 61493 ; WX 857 ; N text_width ; G 63
|
||||
U 61494 ; WX 1000 ; N align_left ; G 64
|
||||
U 61495 ; WX 1000 ; N align_center ; G 65
|
||||
U 61496 ; WX 1000 ; N align_right ; G 66
|
||||
U 61497 ; WX 1000 ; N align_justify ; G 67
|
||||
U 61498 ; WX 1000 ; N list ; G 68
|
||||
U 61499 ; WX 1000 ; N indent_left ; G 69
|
||||
U 61500 ; WX 1000 ; N indent_right ; G 70
|
||||
U 61501 ; WX 1000 ; N facetime_video ; G 71
|
||||
U 61502 ; WX 1071 ; N picture ; G 72
|
||||
U 61504 ; WX 857 ; N pencil ; G 73
|
||||
U 61505 ; WX 571 ; N map_marker ; G 74
|
||||
U 61506 ; WX 857 ; N adjust ; G 75
|
||||
U 61507 ; WX 571 ; N tint ; G 76
|
||||
U 61508 ; WX 1000 ; N edit ; G 77
|
||||
U 61509 ; WX 929 ; N share ; G 78
|
||||
U 61510 ; WX 929 ; N check ; G 79
|
||||
U 61511 ; WX 1000 ; N move ; G 80
|
||||
U 61512 ; WX 571 ; N step_backward ; G 81
|
||||
U 61513 ; WX 1000 ; N fast_backward ; G 82
|
||||
U 61514 ; WX 929 ; N backward ; G 83
|
||||
U 61515 ; WX 786 ; N play ; G 84
|
||||
U 61516 ; WX 857 ; N pause ; G 85
|
||||
U 61517 ; WX 857 ; N stop ; G 86
|
||||
U 61518 ; WX 929 ; N forward ; G 87
|
||||
U 61520 ; WX 1000 ; N fast_forward ; G 88
|
||||
U 61521 ; WX 571 ; N step_forward ; G 89
|
||||
U 61522 ; WX 858 ; N eject ; G 90
|
||||
U 61523 ; WX 714 ; N chevron_left ; G 91
|
||||
U 61524 ; WX 714 ; N chevron_right ; G 92
|
||||
U 61525 ; WX 857 ; N plus_sign ; G 93
|
||||
U 61526 ; WX 857 ; N minus_sign ; G 94
|
||||
U 61527 ; WX 857 ; N remove_sign ; G 95
|
||||
U 61528 ; WX 857 ; N ok_sign ; G 96
|
||||
U 61529 ; WX 857 ; N question_sign ; G 97
|
||||
U 61530 ; WX 857 ; N info_sign ; G 98
|
||||
U 61531 ; WX 857 ; N screenshot ; G 99
|
||||
U 61532 ; WX 857 ; N remove_circle ; G 100
|
||||
U 61533 ; WX 857 ; N ok_circle ; G 101
|
||||
U 61534 ; WX 857 ; N ban_circle ; G 102
|
||||
U 61536 ; WX 857 ; N arrow_left ; G 103
|
||||
U 61537 ; WX 857 ; N arrow_right ; G 104
|
||||
U 61538 ; WX 929 ; N arrow_up ; G 105
|
||||
U 61539 ; WX 929 ; N arrow_down ; G 106
|
||||
U 61540 ; WX 1000 ; N share_alt ; G 107
|
||||
U 61541 ; WX 857 ; N resize_full ; G 108
|
||||
U 61542 ; WX 857 ; N resize_small ; G 109
|
||||
U 61543 ; WX 786 ; N plus ; G 110
|
||||
U 61544 ; WX 786 ; N minus ; G 111
|
||||
U 61545 ; WX 929 ; N asterisk ; G 112
|
||||
U 61546 ; WX 857 ; N exclamation_sign ; G 113
|
||||
U 61547 ; WX 857 ; N gift ; G 114
|
||||
U 61548 ; WX 1000 ; N leaf ; G 115
|
||||
U 61549 ; WX 786 ; N fire ; G 116
|
||||
U 61550 ; WX 1000 ; N eye_open ; G 117
|
||||
U 61552 ; WX 1000 ; N eye_close ; G 118
|
||||
U 61553 ; WX 1000 ; N warning_sign ; G 119
|
||||
U 61554 ; WX 786 ; N plane ; G 120
|
||||
U 61555 ; WX 929 ; N calendar ; G 121
|
||||
U 61556 ; WX 1000 ; N random ; G 122
|
||||
U 61557 ; WX 1000 ; N comment ; G 123
|
||||
U 61558 ; WX 857 ; N magnet ; G 124
|
||||
U 61559 ; WX 1000 ; N chevron_up ; G 125
|
||||
U 61560 ; WX 1000 ; N chevron_down ; G 126
|
||||
U 61561 ; WX 1071 ; N retweet ; G 127
|
||||
U 61562 ; WX 929 ; N shopping_cart ; G 128
|
||||
U 61563 ; WX 929 ; N folder_close ; G 129
|
||||
U 61564 ; WX 1071 ; N folder_open ; G 130
|
||||
U 61565 ; WX 429 ; N resize_vertical ; G 131
|
||||
U 61566 ; WX 1000 ; N resize_horizontal ; G 132
|
||||
U 61568 ; WX 1143 ; N bar_chart ; G 133
|
||||
U 61569 ; WX 857 ; N twitter_sign ; G 134
|
||||
U 61570 ; WX 857 ; N facebook_sign ; G 135
|
||||
U 61571 ; WX 1000 ; N camera_retro ; G 136
|
||||
U 61572 ; WX 1000 ; N key ; G 137
|
||||
U 61573 ; WX 1071 ; N cogs ; G 138
|
||||
U 61574 ; WX 1000 ; N comments ; G 139
|
||||
U 61575 ; WX 857 ; N thumbs_up_alt ; G 140
|
||||
U 61576 ; WX 857 ; N thumbs_down_alt ; G 141
|
||||
U 61577 ; WX 500 ; N star_half ; G 142
|
||||
U 61578 ; WX 1000 ; N heart_empty ; G 143
|
||||
U 61579 ; WX 929 ; N signout ; G 144
|
||||
U 61580 ; WX 857 ; N linkedin_sign ; G 145
|
||||
U 61581 ; WX 643 ; N pushpin ; G 146
|
||||
U 61582 ; WX 1000 ; N external_link ; G 147
|
||||
U 61584 ; WX 857 ; N signin ; G 148
|
||||
U 61585 ; WX 929 ; N trophy ; G 149
|
||||
U 61586 ; WX 857 ; N github_sign ; G 150
|
||||
U 61587 ; WX 929 ; N upload_alt ; G 151
|
||||
U 61588 ; WX 857 ; N lemon ; G 152
|
||||
U 61589 ; WX 786 ; N phone ; G 153
|
||||
U 61590 ; WX 786 ; N check_empty ; G 154
|
||||
U 61591 ; WX 714 ; N bookmark_empty ; G 155
|
||||
U 61592 ; WX 857 ; N phone_sign ; G 156
|
||||
U 61593 ; WX 929 ; N twitter ; G 157
|
||||
U 61594 ; WX 571 ; N facebook ; G 158
|
||||
U 61595 ; WX 857 ; N github ; G 159
|
||||
U 61596 ; WX 929 ; N unlock ; G 160
|
||||
U 61597 ; WX 1071 ; N credit_card ; G 161
|
||||
U 61598 ; WX 786 ; N rss ; G 162
|
||||
U 61600 ; WX 857 ; N hdd ; G 163
|
||||
U 61601 ; WX 1000 ; N bullhorn ; G 164
|
||||
U 61602 ; WX 1000 ; N bell ; G 165
|
||||
U 61603 ; WX 857 ; N certificate ; G 166
|
||||
U 61604 ; WX 1000 ; N hand_right ; G 167
|
||||
U 61605 ; WX 1000 ; N hand_left ; G 168
|
||||
U 61606 ; WX 857 ; N hand_up ; G 169
|
||||
U 61607 ; WX 857 ; N hand_down ; G 170
|
||||
U 61608 ; WX 857 ; N circle_arrow_left ; G 171
|
||||
U 61609 ; WX 857 ; N circle_arrow_right ; G 172
|
||||
U 61610 ; WX 857 ; N circle_arrow_up ; G 173
|
||||
U 61611 ; WX 857 ; N circle_arrow_down ; G 174
|
||||
U 61612 ; WX 857 ; N globe ; G 175
|
||||
U 61613 ; WX 929 ; N wrench ; G 176
|
||||
U 61614 ; WX 1000 ; N tasks ; G 177
|
||||
U 61616 ; WX 786 ; N filter ; G 178
|
||||
U 61617 ; WX 1000 ; N briefcase ; G 179
|
||||
U 61618 ; WX 857 ; N fullscreen ; G 180
|
||||
U 61632 ; WX 1071 ; N group ; G 181
|
||||
U 61633 ; WX 929 ; N link ; G 182
|
||||
U 61634 ; WX 1071 ; N cloud ; G 183
|
||||
U 61635 ; WX 929 ; N beaker ; G 184
|
||||
U 61636 ; WX 1000 ; N cut ; G 185
|
||||
U 61637 ; WX 1000 ; N copy ; G 186
|
||||
U 61638 ; WX 786 ; N paper_clip ; G 187
|
||||
U 61639 ; WX 857 ; N save ; G 188
|
||||
U 61640 ; WX 857 ; N sign_blank ; G 189
|
||||
U 61641 ; WX 857 ; N reorder ; G 190
|
||||
U 61642 ; WX 1000 ; N ul ; G 191
|
||||
U 61643 ; WX 1000 ; N ol ; G 192
|
||||
U 61644 ; WX 1000 ; N strikethrough ; G 193
|
||||
U 61645 ; WX 857 ; N underline ; G 194
|
||||
U 61646 ; WX 929 ; N table ; G 195
|
||||
U 61648 ; WX 929 ; N magic ; G 196
|
||||
U 61649 ; WX 1000 ; N truck ; G 197
|
||||
U 61650 ; WX 857 ; N pinterest ; G 198
|
||||
U 61651 ; WX 857 ; N pinterest_sign ; G 199
|
||||
U 61652 ; WX 857 ; N google_plus_sign ; G 200
|
||||
U 61653 ; WX 1286 ; N google_plus ; G 201
|
||||
U 61654 ; WX 1071 ; N money ; G 202
|
||||
U 61655 ; WX 571 ; N caret_down ; G 203
|
||||
U 61656 ; WX 571 ; N caret_up ; G 204
|
||||
U 61657 ; WX 357 ; N caret_left ; G 205
|
||||
U 61658 ; WX 357 ; N caret_right ; G 206
|
||||
U 61659 ; WX 929 ; N columns ; G 207
|
||||
U 61660 ; WX 571 ; N sort ; G 208
|
||||
U 61661 ; WX 571 ; N sort_down ; G 209
|
||||
U 61662 ; WX 571 ; N sort_up ; G 210
|
||||
U 61664 ; WX 1000 ; N envelope_alt ; G 211
|
||||
U 61665 ; WX 857 ; N linkedin ; G 212
|
||||
U 61666 ; WX 857 ; N undo ; G 213
|
||||
U 61667 ; WX 1000 ; N legal ; G 214
|
||||
U 61668 ; WX 1000 ; N dashboard ; G 215
|
||||
U 61669 ; WX 1000 ; N comment_alt ; G 216
|
||||
U 61670 ; WX 1000 ; N comments_alt ; G 217
|
||||
U 61671 ; WX 500 ; N bolt ; G 218
|
||||
U 61672 ; WX 1000 ; N sitemap ; G 219
|
||||
U 61673 ; WX 929 ; N umbrella ; G 220
|
||||
U 61674 ; WX 1000 ; N paste ; G 221
|
||||
U 61675 ; WX 571 ; N light_bulb ; G 222
|
||||
U 61676 ; WX 1000 ; N exchange ; G 223
|
||||
U 61677 ; WX 1071 ; N cloud_download ; G 224
|
||||
U 61678 ; WX 1071 ; N cloud_upload ; G 225
|
||||
U 61680 ; WX 786 ; N user_md ; G 226
|
||||
U 61681 ; WX 786 ; N stethoscope ; G 227
|
||||
U 61682 ; WX 1000 ; N suitcase ; G 228
|
||||
U 61683 ; WX 1000 ; N bell_alt ; G 229
|
||||
U 61684 ; WX 1071 ; N coffee ; G 230
|
||||
U 61685 ; WX 786 ; N food ; G 231
|
||||
U 61686 ; WX 857 ; N file_text_alt ; G 232
|
||||
U 61687 ; WX 786 ; N building ; G 233
|
||||
U 61688 ; WX 786 ; N hospital ; G 234
|
||||
U 61689 ; WX 1071 ; N ambulance ; G 235
|
||||
U 61690 ; WX 1000 ; N medkit ; G 236
|
||||
U 61691 ; WX 1071 ; N fighter_jet ; G 237
|
||||
U 61692 ; WX 929 ; N beer ; G 238
|
||||
U 61693 ; WX 857 ; N h_sign ; G 239
|
||||
U 61694 ; WX 857 ; N f0fe ; G 240
|
||||
U 61696 ; WX 571 ; N double_angle_left ; G 241
|
||||
U 61697 ; WX 571 ; N double_angle_right ; G 242
|
||||
U 61698 ; WX 643 ; N double_angle_up ; G 243
|
||||
U 61699 ; WX 643 ; N double_angle_down ; G 244
|
||||
U 61700 ; WX 357 ; N angle_left ; G 245
|
||||
U 61701 ; WX 357 ; N angle_right ; G 246
|
||||
U 61702 ; WX 643 ; N angle_up ; G 247
|
||||
U 61703 ; WX 643 ; N angle_down ; G 248
|
||||
U 61704 ; WX 1071 ; N desktop ; G 249
|
||||
U 61705 ; WX 1071 ; N laptop ; G 250
|
||||
U 61706 ; WX 643 ; N tablet ; G 251
|
||||
U 61707 ; WX 429 ; N mobile_phone ; G 252
|
||||
U 61708 ; WX 857 ; N circle_blank ; G 253
|
||||
U 61709 ; WX 929 ; N quote_left ; G 254
|
||||
U 61710 ; WX 929 ; N quote_right ; G 255
|
||||
U 61712 ; WX 1000 ; N spinner ; G 256
|
||||
U 61713 ; WX 857 ; N circle ; G 257
|
||||
U 61714 ; WX 1000 ; N reply ; G 258
|
||||
U 61715 ; WX 929 ; N github_alt ; G 259
|
||||
U 61716 ; WX 929 ; N folder_close_alt ; G 260
|
||||
U 61717 ; WX 1071 ; N folder_open_alt ; G 261
|
||||
U 61718 ; WX 1000 ; N expand_alt ; G 262
|
||||
U 61719 ; WX 1000 ; N collapse_alt ; G 263
|
||||
U 61720 ; WX 857 ; N smile ; G 264
|
||||
U 61721 ; WX 857 ; N frown ; G 265
|
||||
U 61722 ; WX 857 ; N meh ; G 266
|
||||
U 61723 ; WX 1071 ; N gamepad ; G 267
|
||||
U 61724 ; WX 1071 ; N keyboard ; G 268
|
||||
U 61725 ; WX 1000 ; N flag_alt ; G 269
|
||||
U 61726 ; WX 1000 ; N flag_checkered ; G 270
|
||||
U 61728 ; WX 929 ; N terminal ; G 271
|
||||
U 61729 ; WX 1071 ; N code ; G 272
|
||||
U 61730 ; WX 1000 ; N reply_all ; G 273
|
||||
U 61731 ; WX 929 ; N star_half_empty ; G 274
|
||||
U 61732 ; WX 786 ; N location_arrow ; G 275
|
||||
U 61733 ; WX 929 ; N crop ; G 276
|
||||
U 61734 ; WX 571 ; N code_fork ; G 277
|
||||
U 61735 ; WX 929 ; N unlink ; G 278
|
||||
U 61736 ; WX 571 ; N question ; G 279
|
||||
U 61737 ; WX 357 ; N _279 ; G 280
|
||||
U 61738 ; WX 357 ; N exclamation ; G 281
|
||||
U 61739 ; WX 857 ; N superscript ; G 282
|
||||
U 61740 ; WX 857 ; N subscript ; G 283
|
||||
U 61741 ; WX 1071 ; N _283 ; G 284
|
||||
U 61742 ; WX 929 ; N puzzle_piece ; G 285
|
||||
U 61744 ; WX 643 ; N microphone ; G 286
|
||||
U 61745 ; WX 786 ; N microphone_off ; G 287
|
||||
U 61746 ; WX 714 ; N shield ; G 288
|
||||
U 61747 ; WX 929 ; N calendar_empty ; G 289
|
||||
U 61748 ; WX 786 ; N fire_extinguisher ; G 290
|
||||
U 61749 ; WX 929 ; N rocket ; G 291
|
||||
U 61750 ; WX 1000 ; N maxcdn ; G 292
|
||||
U 61751 ; WX 857 ; N chevron_sign_left ; G 293
|
||||
U 61752 ; WX 857 ; N chevron_sign_right ; G 294
|
||||
U 61753 ; WX 857 ; N chevron_sign_up ; G 295
|
||||
U 61754 ; WX 857 ; N chevron_sign_down ; G 296
|
||||
U 61755 ; WX 786 ; N html5 ; G 297
|
||||
U 61756 ; WX 1000 ; N css3 ; G 298
|
||||
U 61757 ; WX 1000 ; N anchor ; G 299
|
||||
U 61758 ; WX 643 ; N unlock_alt ; G 300
|
||||
U 61760 ; WX 857 ; N bullseye ; G 301
|
||||
U 61761 ; WX 786 ; N ellipsis_horizontal ; G 302
|
||||
U 61762 ; WX 214 ; N ellipsis_vertical ; G 303
|
||||
U 61763 ; WX 857 ; N _303 ; G 304
|
||||
U 61764 ; WX 857 ; N play_sign ; G 305
|
||||
U 61765 ; WX 1000 ; N ticket ; G 306
|
||||
U 61766 ; WX 857 ; N minus_sign_alt ; G 307
|
||||
U 61767 ; WX 786 ; N check_minus ; G 308
|
||||
U 61768 ; WX 571 ; N level_up ; G 309
|
||||
U 61769 ; WX 571 ; N level_down ; G 310
|
||||
U 61770 ; WX 857 ; N check_sign ; G 311
|
||||
U 61771 ; WX 857 ; N edit_sign ; G 312
|
||||
U 61772 ; WX 857 ; N _312 ; G 313
|
||||
U 61773 ; WX 857 ; N share_sign ; G 314
|
||||
U 61774 ; WX 857 ; N compass ; G 315
|
||||
U 61776 ; WX 857 ; N collapse ; G 316
|
||||
U 61777 ; WX 857 ; N collapse_top ; G 317
|
||||
U 61778 ; WX 857 ; N _317 ; G 318
|
||||
U 61779 ; WX 571 ; N eur ; G 319
|
||||
U 61780 ; WX 571 ; N gbp ; G 320
|
||||
U 61781 ; WX 571 ; N usd ; G 321
|
||||
U 61782 ; WX 501 ; N inr ; G 322
|
||||
U 61783 ; WX 573 ; N jpy ; G 323
|
||||
U 61784 ; WX 714 ; N rub ; G 324
|
||||
U 61785 ; WX 1000 ; N krw ; G 325
|
||||
U 61786 ; WX 714 ; N btc ; G 326
|
||||
U 61787 ; WX 857 ; N file ; G 327
|
||||
U 61788 ; WX 857 ; N file_text ; G 328
|
||||
U 61789 ; WX 929 ; N sort_by_alphabet ; G 329
|
||||
U 61790 ; WX 929 ; N _329 ; G 330
|
||||
U 61792 ; WX 1000 ; N sort_by_attributes ; G 331
|
||||
U 61793 ; WX 1000 ; N sort_by_attributes_alt ; G 332
|
||||
U 61794 ; WX 857 ; N sort_by_order ; G 333
|
||||
U 61795 ; WX 857 ; N sort_by_order_alt ; G 334
|
||||
U 61796 ; WX 929 ; N _334 ; G 335
|
||||
U 61797 ; WX 929 ; N _335 ; G 336
|
||||
U 61798 ; WX 857 ; N youtube_sign ; G 337
|
||||
U 61799 ; WX 857 ; N youtube ; G 338
|
||||
U 61800 ; WX 786 ; N xing ; G 339
|
||||
U 61801 ; WX 857 ; N xing_sign ; G 340
|
||||
U 61802 ; WX 1000 ; N youtube_play ; G 341
|
||||
U 61803 ; WX 1000 ; N dropbox ; G 342
|
||||
U 61804 ; WX 857 ; N stackexchange ; G 343
|
||||
U 61805 ; WX 857 ; N instagram ; G 344
|
||||
U 61806 ; WX 857 ; N flickr ; G 345
|
||||
U 61808 ; WX 857 ; N adn ; G 346
|
||||
U 61809 ; WX 786 ; N f171 ; G 347
|
||||
U 61810 ; WX 857 ; N bitbucket_sign ; G 348
|
||||
U 61811 ; WX 571 ; N tumblr ; G 349
|
||||
U 61812 ; WX 857 ; N tumblr_sign ; G 350
|
||||
U 61813 ; WX 429 ; N long_arrow_down ; G 351
|
||||
U 61814 ; WX 429 ; N long_arrow_up ; G 352
|
||||
U 61815 ; WX 1000 ; N long_arrow_left ; G 353
|
||||
U 61816 ; WX 1000 ; N long_arrow_right ; G 354
|
||||
U 61817 ; WX 786 ; N applelogo ; G 355
|
||||
U 61818 ; WX 929 ; N windows ; G 356
|
||||
U 61819 ; WX 786 ; N android ; G 357
|
||||
U 61820 ; WX 857 ; N linux ; G 358
|
||||
U 61821 ; WX 857 ; N dribble ; G 359
|
||||
U 61822 ; WX 857 ; N skype ; G 360
|
||||
U 61824 ; WX 714 ; N foursquare ; G 361
|
||||
U 61825 ; WX 857 ; N trello ; G 362
|
||||
U 61826 ; WX 714 ; N female ; G 363
|
||||
U 61827 ; WX 571 ; N male ; G 364
|
||||
U 61828 ; WX 857 ; N gittip ; G 365
|
||||
U 61829 ; WX 1000 ; N sun ; G 366
|
||||
U 61830 ; WX 857 ; N _366 ; G 367
|
||||
U 61831 ; WX 1000 ; N archive ; G 368
|
||||
U 61832 ; WX 929 ; N bug ; G 369
|
||||
U 61833 ; WX 1071 ; N vk ; G 370
|
||||
U 61834 ; WX 1000 ; N weibo ; G 371
|
||||
U 61835 ; WX 857 ; N renren ; G 372
|
||||
U 61836 ; WX 786 ; N _372 ; G 373
|
||||
U 61837 ; WX 714 ; N stack_exchange ; G 374
|
||||
U 61838 ; WX 857 ; N _374 ; G 375
|
||||
U 61840 ; WX 857 ; N arrow_circle_alt_left ; G 376
|
||||
U 61841 ; WX 857 ; N _376 ; G 377
|
||||
U 61842 ; WX 857 ; N dot_circle_alt ; G 378
|
||||
U 61843 ; WX 929 ; N _378 ; G 379
|
||||
U 61844 ; WX 857 ; N vimeo_square ; G 380
|
||||
U 61845 ; WX 643 ; N _380 ; G 381
|
||||
U 61846 ; WX 786 ; N plus_square_o ; G 382
|
||||
U 61847 ; WX 1214 ; N _382 ; G 383
|
||||
U 61848 ; WX 929 ; N _383 ; G 384
|
||||
U 61849 ; WX 857 ; N _384 ; G 385
|
||||
U 61850 ; WX 1000 ; N _385 ; G 386
|
||||
U 61851 ; WX 1000 ; N _386 ; G 387
|
||||
U 61852 ; WX 1143 ; N _387 ; G 388
|
||||
U 61853 ; WX 1286 ; N _388 ; G 389
|
||||
U 61854 ; WX 857 ; N _389 ; G 390
|
||||
U 61856 ; WX 857 ; N uniF1A0 ; G 391
|
||||
U 61857 ; WX 1000 ; N f1a1 ; G 392
|
||||
U 61858 ; WX 857 ; N _392 ; G 393
|
||||
U 61859 ; WX 857 ; N _393 ; G 394
|
||||
U 61860 ; WX 1071 ; N f1a4 ; G 395
|
||||
U 61861 ; WX 857 ; N _395 ; G 396
|
||||
U 61862 ; WX 1143 ; N _396 ; G 397
|
||||
U 61863 ; WX 857 ; N _397 ; G 398
|
||||
U 61864 ; WX 1137 ; N _398 ; G 399
|
||||
U 61865 ; WX 857 ; N _399 ; G 400
|
||||
U 61866 ; WX 857 ; N _400 ; G 401
|
||||
U 61867 ; WX 857 ; N f1ab ; G 402
|
||||
U 61868 ; WX 1000 ; N _402 ; G 403
|
||||
U 61869 ; WX 857 ; N _403 ; G 404
|
||||
U 61870 ; WX 714 ; N _404 ; G 405
|
||||
U 61872 ; WX 929 ; N uniF1B1 ; G 406
|
||||
U 61873 ; WX 429 ; N _406 ; G 407
|
||||
U 61874 ; WX 1000 ; N _407 ; G 408
|
||||
U 61875 ; WX 1286 ; N _408 ; G 409
|
||||
U 61876 ; WX 1143 ; N _409 ; G 410
|
||||
U 61877 ; WX 857 ; N _410 ; G 411
|
||||
U 61878 ; WX 1000 ; N _411 ; G 412
|
||||
U 61879 ; WX 857 ; N _412 ; G 413
|
||||
U 61880 ; WX 1000 ; N _413 ; G 414
|
||||
U 61881 ; WX 1143 ; N _414 ; G 415
|
||||
U 61882 ; WX 1143 ; N _415 ; G 416
|
||||
U 61883 ; WX 857 ; N _416 ; G 417
|
||||
U 61884 ; WX 857 ; N _417 ; G 418
|
||||
U 61885 ; WX 571 ; N _418 ; G 419
|
||||
U 61886 ; WX 1286 ; N _419 ; G 420
|
||||
U 61888 ; WX 857 ; N uniF1C0 ; G 421
|
||||
U 61889 ; WX 857 ; N uniF1C1 ; G 422
|
||||
U 61890 ; WX 857 ; N _422 ; G 423
|
||||
U 61891 ; WX 857 ; N _423 ; G 424
|
||||
U 61892 ; WX 857 ; N _424 ; G 425
|
||||
U 61893 ; WX 857 ; N _425 ; G 426
|
||||
U 61894 ; WX 857 ; N _426 ; G 427
|
||||
U 61895 ; WX 857 ; N _427 ; G 428
|
||||
U 61896 ; WX 857 ; N _428 ; G 429
|
||||
U 61897 ; WX 857 ; N _429 ; G 430
|
||||
U 61898 ; WX 857 ; N _430 ; G 431
|
||||
U 61899 ; WX 1000 ; N _431 ; G 432
|
||||
U 61900 ; WX 1143 ; N _432 ; G 433
|
||||
U 61901 ; WX 1000 ; N _433 ; G 434
|
||||
U 61902 ; WX 1000 ; N _434 ; G 435
|
||||
U 61904 ; WX 1000 ; N uniF1D0 ; G 436
|
||||
U 61905 ; WX 1000 ; N uniF1D1 ; G 437
|
||||
U 61906 ; WX 857 ; N uniF1D2 ; G 438
|
||||
U 61907 ; WX 1000 ; N _438 ; G 439
|
||||
U 61908 ; WX 857 ; N _439 ; G 440
|
||||
U 61909 ; WX 714 ; N uniF1D5 ; G 441
|
||||
U 61910 ; WX 1000 ; N uniF1D6 ; G 442
|
||||
U 61911 ; WX 1143 ; N uniF1D7 ; G 443
|
||||
U 61912 ; WX 1000 ; N _443 ; G 444
|
||||
U 61913 ; WX 1000 ; N _444 ; G 445
|
||||
U 61914 ; WX 857 ; N _445 ; G 446
|
||||
U 61915 ; WX 857 ; N _446 ; G 447
|
||||
U 61916 ; WX 1000 ; N _447 ; G 448
|
||||
U 61917 ; WX 714 ; N _448 ; G 449
|
||||
U 61918 ; WX 857 ; N _449 ; G 450
|
||||
U 61920 ; WX 857 ; N uniF1E0 ; G 451
|
||||
U 61921 ; WX 857 ; N _451 ; G 452
|
||||
U 61922 ; WX 1000 ; N _452 ; G 453
|
||||
U 61923 ; WX 1000 ; N _453 ; G 454
|
||||
U 61924 ; WX 1000 ; N _454 ; G 455
|
||||
U 61925 ; WX 1000 ; N _455 ; G 456
|
||||
U 61926 ; WX 1000 ; N _456 ; G 457
|
||||
U 61927 ; WX 1000 ; N _457 ; G 458
|
||||
U 61928 ; WX 1000 ; N _458 ; G 459
|
||||
U 61929 ; WX 857 ; N _459 ; G 460
|
||||
U 61930 ; WX 1143 ; N _460 ; G 461
|
||||
U 61931 ; WX 1143 ; N _461 ; G 462
|
||||
U 61932 ; WX 1000 ; N _462 ; G 463
|
||||
U 61933 ; WX 857 ; N _463 ; G 464
|
||||
U 61934 ; WX 1000 ; N _464 ; G 465
|
||||
U 61936 ; WX 1286 ; N uniF1F0 ; G 466
|
||||
U 61937 ; WX 1286 ; N _466 ; G 467
|
||||
U 61938 ; WX 1286 ; N _467 ; G 468
|
||||
U 61939 ; WX 1286 ; N f1f3 ; G 469
|
||||
U 61940 ; WX 1286 ; N _469 ; G 470
|
||||
U 61941 ; WX 1286 ; N _470 ; G 471
|
||||
U 61942 ; WX 1143 ; N _471 ; G 472
|
||||
U 61943 ; WX 1143 ; N _472 ; G 473
|
||||
U 61944 ; WX 786 ; N _473 ; G 474
|
||||
U 61945 ; WX 857 ; N _474 ; G 475
|
||||
U 61946 ; WX 857 ; N _475 ; G 476
|
||||
U 61947 ; WX 1000 ; N _476 ; G 477
|
||||
U 61948 ; WX 1000 ; N f1fc ; G 478
|
||||
U 61949 ; WX 1000 ; N _478 ; G 479
|
||||
U 61950 ; WX 1143 ; N _479 ; G 480
|
||||
U 61952 ; WX 1000 ; N _480 ; G 481
|
||||
U 61953 ; WX 1143 ; N _481 ; G 482
|
||||
U 61954 ; WX 1000 ; N _482 ; G 483
|
||||
U 61955 ; WX 857 ; N _483 ; G 484
|
||||
U 61956 ; WX 1143 ; N _484 ; G 485
|
||||
U 61957 ; WX 1143 ; N _485 ; G 486
|
||||
U 61958 ; WX 1286 ; N _486 ; G 487
|
||||
U 61959 ; WX 857 ; N _487 ; G 488
|
||||
U 61960 ; WX 1143 ; N _488 ; G 489
|
||||
U 61961 ; WX 714 ; N _489 ; G 490
|
||||
U 61962 ; WX 1143 ; N _490 ; G 491
|
||||
U 61963 ; WX 857 ; N _491 ; G 492
|
||||
U 61964 ; WX 857 ; N _492 ; G 493
|
||||
U 61965 ; WX 857 ; N _493 ; G 494
|
||||
U 61966 ; WX 1143 ; N _494 ; G 495
|
||||
U 61968 ; WX 857 ; N f210 ; G 496
|
||||
U 61969 ; WX 857 ; N _496 ; G 497
|
||||
U 61970 ; WX 1143 ; N f212 ; G 498
|
||||
U 61971 ; WX 1143 ; N _498 ; G 499
|
||||
U 61972 ; WX 857 ; N _499 ; G 500
|
||||
U 61973 ; WX 1143 ; N _500 ; G 501
|
||||
U 61974 ; WX 1143 ; N _501 ; G 502
|
||||
U 61975 ; WX 929 ; N _502 ; G 503
|
||||
U 61976 ; WX 929 ; N _503 ; G 504
|
||||
U 61977 ; WX 1143 ; N _504 ; G 505
|
||||
U 61978 ; WX 1143 ; N _505 ; G 506
|
||||
U 61979 ; WX 857 ; N _506 ; G 507
|
||||
U 61980 ; WX 1286 ; N _507 ; G 508
|
||||
U 61981 ; WX 857 ; N _508 ; G 509
|
||||
U 61982 ; WX 1000 ; N _509 ; G 510
|
||||
U 61985 ; WX 714 ; N venus ; G 511
|
||||
U 61986 ; WX 857 ; N _511 ; G 512
|
||||
U 61987 ; WX 714 ; N _512 ; G 513
|
||||
U 61988 ; WX 857 ; N _513 ; G 514
|
||||
U 61989 ; WX 1000 ; N _514 ; G 515
|
||||
U 61990 ; WX 1000 ; N _515 ; G 516
|
||||
U 61991 ; WX 1071 ; N _516 ; G 517
|
||||
U 61992 ; WX 1143 ; N _517 ; G 518
|
||||
U 61993 ; WX 857 ; N _518 ; G 519
|
||||
U 61994 ; WX 714 ; N _519 ; G 520
|
||||
U 61995 ; WX 1143 ; N _520 ; G 521
|
||||
U 61996 ; WX 714 ; N _521 ; G 522
|
||||
U 61997 ; WX 714 ; N _522 ; G 523
|
||||
U 61998 ; WX 1000 ; N _523 ; G 524
|
||||
U 61999 ; WX 1000 ; N _524 ; G 525
|
||||
U 62000 ; WX 857 ; N _525 ; G 526
|
||||
U 62001 ; WX 714 ; N _526 ; G 527
|
||||
U 62002 ; WX 857 ; N _527 ; G 528
|
||||
U 62003 ; WX 1000 ; N _528 ; G 529
|
||||
U 62004 ; WX 1143 ; N _529 ; G 530
|
||||
U 62005 ; WX 1143 ; N _530 ; G 531
|
||||
U 62006 ; WX 1143 ; N _531 ; G 532
|
||||
U 62007 ; WX 857 ; N _532 ; G 533
|
||||
U 62008 ; WX 857 ; N _533 ; G 534
|
||||
U 62009 ; WX 857 ; N _534 ; G 535
|
||||
U 62010 ; WX 1000 ; N _535 ; G 536
|
||||
U 62011 ; WX 857 ; N _536 ; G 537
|
||||
U 62012 ; WX 1281 ; N _537 ; G 538
|
||||
U 62013 ; WX 1286 ; N _538 ; G 539
|
||||
U 62014 ; WX 1000 ; N _539 ; G 540
|
||||
U 62016 ; WX 1286 ; N _540 ; G 541
|
||||
U 62017 ; WX 1286 ; N _541 ; G 542
|
||||
U 62018 ; WX 1286 ; N _542 ; G 543
|
||||
U 62019 ; WX 1286 ; N _543 ; G 544
|
||||
U 62020 ; WX 1286 ; N _544 ; G 545
|
||||
U 62021 ; WX 714 ; N _545 ; G 546
|
||||
U 62022 ; WX 571 ; N _546 ; G 547
|
||||
U 62023 ; WX 1143 ; N _547 ; G 548
|
||||
U 62024 ; WX 1286 ; N _548 ; G 549
|
||||
U 62025 ; WX 857 ; N _549 ; G 550
|
||||
U 62026 ; WX 857 ; N _550 ; G 551
|
||||
U 62027 ; WX 1286 ; N _551 ; G 552
|
||||
U 62028 ; WX 1286 ; N _552 ; G 553
|
||||
U 62029 ; WX 1000 ; N _553 ; G 554
|
||||
U 62030 ; WX 1286 ; N _554 ; G 555
|
||||
U 62032 ; WX 857 ; N _555 ; G 556
|
||||
U 62033 ; WX 857 ; N _556 ; G 557
|
||||
U 62034 ; WX 857 ; N _557 ; G 558
|
||||
U 62035 ; WX 857 ; N _558 ; G 559
|
||||
U 62036 ; WX 857 ; N _559 ; G 560
|
||||
U 62037 ; WX 857 ; N _560 ; G 561
|
||||
U 62038 ; WX 1000 ; N _561 ; G 562
|
||||
U 62039 ; WX 1000 ; N _562 ; G 563
|
||||
U 62040 ; WX 1143 ; N _563 ; G 564
|
||||
U 62041 ; WX 1143 ; N _564 ; G 565
|
||||
U 62042 ; WX 1000 ; N _565 ; G 566
|
||||
U 62043 ; WX 857 ; N _566 ; G 567
|
||||
U 62044 ; WX 1101 ; N _567 ; G 568
|
||||
U 62045 ; WX 1000 ; N _568 ; G 569
|
||||
U 62046 ; WX 1000 ; N _569 ; G 570
|
||||
U 62048 ; WX 1143 ; N f260 ; G 571
|
||||
U 62049 ; WX 1000 ; N f261 ; G 572
|
||||
U 62050 ; WX 1286 ; N _572 ; G 573
|
||||
U 62051 ; WX 714 ; N f263 ; G 574
|
||||
U 62052 ; WX 857 ; N _574 ; G 575
|
||||
U 62053 ; WX 960 ; N _575 ; G 576
|
||||
U 62054 ; WX 1286 ; N _576 ; G 577
|
||||
U 62055 ; WX 1000 ; N _577 ; G 578
|
||||
U 62056 ; WX 1000 ; N _578 ; G 579
|
||||
U 62057 ; WX 1000 ; N _579 ; G 580
|
||||
U 62058 ; WX 1000 ; N _580 ; G 581
|
||||
U 62059 ; WX 1000 ; N _581 ; G 582
|
||||
U 62060 ; WX 1143 ; N _582 ; G 583
|
||||
U 62061 ; WX 1000 ; N _583 ; G 584
|
||||
U 62062 ; WX 857 ; N _584 ; G 585
|
||||
U 62064 ; WX 1000 ; N _585 ; G 586
|
||||
U 62065 ; WX 1000 ; N _586 ; G 587
|
||||
U 62066 ; WX 1000 ; N _587 ; G 588
|
||||
U 62067 ; WX 1000 ; N _588 ; G 589
|
||||
U 62068 ; WX 1000 ; N _589 ; G 590
|
||||
U 62069 ; WX 1000 ; N _590 ; G 591
|
||||
U 62070 ; WX 571 ; N _591 ; G 592
|
||||
U 62071 ; WX 1000 ; N _592 ; G 593
|
||||
U 62072 ; WX 1143 ; N _593 ; G 594
|
||||
U 62073 ; WX 1000 ; N _594 ; G 595
|
||||
U 62074 ; WX 1000 ; N _595 ; G 596
|
||||
U 62075 ; WX 1000 ; N _596 ; G 597
|
||||
U 62076 ; WX 571 ; N _597 ; G 598
|
||||
U 62077 ; WX 1000 ; N _598 ; G 599
|
||||
U 62078 ; WX 857 ; N f27e ; G 600
|
||||
U 62080 ; WX 857 ; N uniF280 ; G 601
|
||||
U 62081 ; WX 1000 ; N uniF281 ; G 602
|
||||
U 62082 ; WX 1000 ; N _602 ; G 603
|
||||
U 62083 ; WX 1286 ; N _603 ; G 604
|
||||
U 62084 ; WX 1000 ; N _604 ; G 605
|
||||
U 62085 ; WX 1000 ; N uniF285 ; G 606
|
||||
U 62086 ; WX 1000 ; N uniF286 ; G 607
|
||||
U 62087 ; WX 1286 ; N _607 ; G 608
|
||||
U 62088 ; WX 1000 ; N _608 ; G 609
|
||||
U 62089 ; WX 1286 ; N _609 ; G 610
|
||||
U 62090 ; WX 857 ; N _610 ; G 611
|
||||
U 62091 ; WX 857 ; N _611 ; G 612
|
||||
U 62092 ; WX 857 ; N _612 ; G 613
|
||||
U 62093 ; WX 857 ; N _613 ; G 614
|
||||
U 62094 ; WX 857 ; N _614 ; G 615
|
||||
U 62096 ; WX 1000 ; N _615 ; G 616
|
||||
U 62097 ; WX 1143 ; N _616 ; G 617
|
||||
U 62098 ; WX 1000 ; N _617 ; G 618
|
||||
U 62099 ; WX 857 ; N _618 ; G 619
|
||||
U 62100 ; WX 571 ; N _619 ; G 620
|
||||
U 62101 ; WX 857 ; N _620 ; G 621
|
||||
U 62102 ; WX 1000 ; N _621 ; G 622
|
||||
U 62103 ; WX 1000 ; N _622 ; G 623
|
||||
U 62104 ; WX 857 ; N _623 ; G 624
|
||||
U 62105 ; WX 1000 ; N _624 ; G 625
|
||||
U 62106 ; WX 1000 ; N _625 ; G 626
|
||||
U 62107 ; WX 857 ; N _626 ; G 627
|
||||
U 62108 ; WX 857 ; N _627 ; G 628
|
||||
U 62109 ; WX 786 ; N _628 ; G 629
|
||||
U 62110 ; WX 1286 ; N _629 ; G 630
|
||||
U 62112 ; WX 786 ; N uniF2A0 ; G 631
|
||||
U 62113 ; WX 1214 ; N uniF2A1 ; G 632
|
||||
U 62114 ; WX 1000 ; N uniF2A2 ; G 633
|
||||
U 62115 ; WX 1286 ; N uniF2A3 ; G 634
|
||||
U 62116 ; WX 1000 ; N uniF2A4 ; G 635
|
||||
U 62117 ; WX 857 ; N uniF2A5 ; G 636
|
||||
U 62118 ; WX 857 ; N uniF2A6 ; G 637
|
||||
U 62119 ; WX 929 ; N uniF2A7 ; G 638
|
||||
U 62120 ; WX 1000 ; N uniF2A8 ; G 639
|
||||
U 62121 ; WX 714 ; N uniF2A9 ; G 640
|
||||
U 62122 ; WX 857 ; N uniF2AA ; G 641
|
||||
U 62123 ; WX 857 ; N uniF2AB ; G 642
|
||||
U 62124 ; WX 929 ; N uniF2AC ; G 643
|
||||
U 62125 ; WX 857 ; N uniF2AD ; G 644
|
||||
U 62126 ; WX 1286 ; N uniF2AE ; G 645
|
||||
U 62128 ; WX 857 ; N uniF2B0 ; G 646
|
||||
U 62129 ; WX 929 ; N uniF2B1 ; G 647
|
||||
U 62130 ; WX 1000 ; N uniF2B2 ; G 648
|
||||
U 62131 ; WX 857 ; N uniF2B3 ; G 649
|
||||
U 62132 ; WX 857 ; N uniF2B4 ; G 650
|
||||
U 62133 ; WX 1286 ; N uniF2B5 ; G 651
|
||||
U 62134 ; WX 1000 ; N uniF2B6 ; G 652
|
||||
U 62135 ; WX 1000 ; N uniF2B7 ; G 653
|
||||
U 62136 ; WX 857 ; N uniF2B8 ; G 654
|
||||
U 62137 ; WX 929 ; N uniF2B9 ; G 655
|
||||
U 62138 ; WX 929 ; N uniF2BA ; G 656
|
||||
U 62139 ; WX 1143 ; N uniF2BB ; G 657
|
||||
U 62140 ; WX 1143 ; N uniF2BC ; G 658
|
||||
U 62141 ; WX 1000 ; N uniF2BD ; G 659
|
||||
U 62142 ; WX 1000 ; N uniF2BE ; G 660
|
||||
U 62144 ; WX 857 ; N uniF2C0 ; G 661
|
||||
U 62145 ; WX 714 ; N uniF2C1 ; G 662
|
||||
U 62146 ; WX 1143 ; N uniF2C2 ; G 663
|
||||
U 62147 ; WX 1143 ; N uniF2C3 ; G 664
|
||||
U 62148 ; WX 1000 ; N uniF2C4 ; G 665
|
||||
U 62149 ; WX 1286 ; N uniF2C5 ; G 666
|
||||
U 62150 ; WX 1000 ; N uniF2C6 ; G 667
|
||||
U 62151 ; WX 571 ; N uniF2C7 ; G 668
|
||||
U 62152 ; WX 571 ; N uniF2C8 ; G 669
|
||||
U 62153 ; WX 571 ; N uniF2C9 ; G 670
|
||||
U 62154 ; WX 571 ; N uniF2CA ; G 671
|
||||
U 62155 ; WX 571 ; N uniF2CB ; G 672
|
||||
U 62156 ; WX 1071 ; N uniF2CC ; G 673
|
||||
U 62157 ; WX 1000 ; N uniF2CD ; G 674
|
||||
U 62158 ; WX 857 ; N uniF2CE ; G 675
|
||||
U 62160 ; WX 1000 ; N uniF2D0 ; G 676
|
||||
U 62161 ; WX 1000 ; N uniF2D1 ; G 677
|
||||
U 62162 ; WX 1143 ; N uniF2D2 ; G 678
|
||||
U 62163 ; WX 1000 ; N uniF2D3 ; G 679
|
||||
U 62164 ; WX 1000 ; N uniF2D4 ; G 680
|
||||
U 62165 ; WX 1000 ; N uniF2D5 ; G 681
|
||||
U 62166 ; WX 1001 ; N uniF2D6 ; G 682
|
||||
U 62167 ; WX 857 ; N uniF2D7 ; G 683
|
||||
U 62168 ; WX 857 ; N uniF2D8 ; G 684
|
||||
U 62169 ; WX 1214 ; N uniF2D9 ; G 685
|
||||
U 62170 ; WX 1000 ; N uniF2DA ; G 686
|
||||
U 62171 ; WX 857 ; N uniF2DB ; G 687
|
||||
U 62172 ; WX 929 ; N uniF2DC ; G 688
|
||||
U 62173 ; WX 1000 ; N uniF2DD ; G 689
|
||||
U 62174 ; WX 1000 ; N uniF2DE ; G 690
|
||||
U 62176 ; WX 1071 ; N uniF2E0 ; G 691
|
||||
U 62177 ; WX 1000 ; N uniF2E1 ; G 692
|
||||
U 62178 ; WX 1000 ; N uniF2E2 ; G 693
|
||||
U 62179 ; WX 1000 ; N uniF2E3 ; G 694
|
||||
U 62180 ; WX 1000 ; N uniF2E4 ; G 695
|
||||
U 62181 ; WX 1000 ; N uniF2E5 ; G 696
|
||||
U 62182 ; WX 1000 ; N uniF2E6 ; G 697
|
||||
U 62183 ; WX 1000 ; N uniF2E7 ; G 698
|
||||
U 62184 ; WX 1000 ; N _698 ; G 699
|
||||
U 62185 ; WX 1000 ; N uniF2E9 ; G 700
|
||||
U 62186 ; WX 1000 ; N uniF2EA ; G 701
|
||||
U 62187 ; WX 1000 ; N uniF2EB ; G 702
|
||||
U 62188 ; WX 1000 ; N uniF2EC ; G 703
|
||||
U 62189 ; WX 1000 ; N uniF2ED ; G 704
|
||||
U 62190 ; WX 1000 ; N uniF2EE ; G 705
|
||||
U 62720 ; WX 1000 ; N lessequal ; G 706
|
||||
EndCharMetrics
|
||||
EndFontMetrics
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user