Feat: Shipping functionalities redesign, elta courier integration, commenting out acs since no integration can happen, flow updates
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Core\Shipping\Contracts;
|
||||
|
||||
use Illuminate\Support\Collection;
|
||||
use Modules\Core\Shipping\Models\Shipment;
|
||||
|
||||
/**
|
||||
* A carrier that can print several shipments' labels as one PDF — behind
|
||||
* the Pending Vouchers screen's "Print selected". Same side effects as
|
||||
* printLabel() per shipment (issuing pending vouchers, setting
|
||||
* label_printed_at).
|
||||
*/
|
||||
interface SupportsBatchLabels
|
||||
{
|
||||
/**
|
||||
* @param Collection<int, Shipment> $shipments
|
||||
*/
|
||||
public function printLabels(Collection $shipments): string;
|
||||
}
|
||||
Reference in New Issue
Block a user