mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
25 lines
596 B
PHP
25 lines
596 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\PackingLists\Services;
|
|
|
|
use App\Classes\General\Eloquent\AbstractUpdateRecord;
|
|
use App\Models\PackingList;
|
|
|
|
class UpdatesPackingListContractReference extends AbstractUpdateRecord
|
|
{
|
|
|
|
/**
|
|
* @param PackingList $model
|
|
* @param int $status
|
|
* @return \Illuminate\Database\Eloquent\Model
|
|
* @throws \App\Classes\Exceptions\MalformedRequestException
|
|
*/
|
|
public function execute(PackingList $model, string $reference_contract) {
|
|
|
|
$model->reference_contract = $reference_contract;
|
|
|
|
return $this->handler($model);
|
|
|
|
}
|
|
}
|