fix invoice payment
This commit is contained in:
@@ -16,7 +16,9 @@ class InvoicePaymentController extends Controller
|
||||
|
||||
public function create()
|
||||
{
|
||||
return view('Admin.Shop.InvoicePayments.create');
|
||||
$data = InvoicePayments::init();
|
||||
|
||||
return view('Admin.Shop.InvoicePayments.create' , $data);
|
||||
}
|
||||
|
||||
public function store(Request $request)
|
||||
@@ -37,8 +39,6 @@ class InvoicePaymentController extends Controller
|
||||
{
|
||||
$data = InvoicePayments::init();
|
||||
$data['invoice_payment'] = InvoicePayments::getFull($id)->toArray();
|
||||
$model = new invoice_paymentPaymentsDataTable();
|
||||
$data['invoice_payment_payments'] = $model->html();
|
||||
|
||||
return view('Admin.Shop.InvoicePayments.edit', $data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user