mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
fix invoice date for april
This commit is contained in:
@@ -35,7 +35,7 @@ class CreatesTransaction extends AbstractUpdateRelationshipRecord
|
||||
$model->expires_on = $object->getExpiresOn();
|
||||
$model->status = $object->getStatus();
|
||||
|
||||
if($object->getTransactionType() === TransactionType::SHIPPING_INVOICE){
|
||||
if((int)$object->getTransactionType() === TransactionType::SHIPPING_INVOICE){
|
||||
$model->created_at = Carbon::now()->subDays(10);
|
||||
$model->updated_at = Carbon::now()->subDays(10);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user