fix invoice payment
This commit is contained in:
@@ -6,6 +6,12 @@ use App\Models\Shop\InvoicePayment;
|
||||
|
||||
class InvoicePayments
|
||||
{
|
||||
public static function init()
|
||||
{
|
||||
return [
|
||||
'payment_types' => self::paymentTypes(),
|
||||
];
|
||||
}
|
||||
public static function get($id, $relations = false)
|
||||
{
|
||||
return $relations ? InvoicePayment::with($relations)->findOrFail($id) : InvoicePayment::findOrFail($id);
|
||||
|
||||
Reference in New Issue
Block a user