mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Update transaltions
This commit is contained in:
parent
b7feb1e71b
commit
3f622f20fd
@ -177,10 +177,7 @@ class PreviewController extends BaseController
|
||||
|
||||
public function design(DesignPreviewRequest $request)
|
||||
{
|
||||
// if (Ninja::isHosted() && !in_array($request->getHost(), ['preview.invoicing.co','staging.invoicing.co'])) {
|
||||
// return response()->json(['message' => 'This server cannot handle this request.'], 400);
|
||||
// }
|
||||
|
||||
|
||||
$pdf = (new PdfMock($request->all(), auth()->user()->company()))->build()->getPdf();
|
||||
|
||||
$response = Response::make($pdf, 200);
|
||||
|
@ -302,13 +302,6 @@ class CheckoutComPaymentDriver extends BaseDriver
|
||||
throw new PaymentFailed($human_exception);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// catch (\Exception $e) {
|
||||
// // API error
|
||||
// throw new PaymentFailed($e->getMessage(), $e->getCode());
|
||||
// }
|
||||
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
|
@ -5042,6 +5042,7 @@ $LANG = array(
|
||||
'tax_summary' => 'Tax Summary',
|
||||
'oauth_mail' => 'OAuth / Mail',
|
||||
'preferences' => 'Preferences',
|
||||
'analytics' => 'Analytics',
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user