Update transaltions

This commit is contained in:
David Bomba 2023-04-17 08:20:12 +10:00
parent b7feb1e71b
commit 3f622f20fd
3 changed files with 2 additions and 11 deletions

View File

@ -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);

View File

@ -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;
}
}

View File

@ -5042,6 +5042,7 @@ $LANG = array(
'tax_summary' => 'Tax Summary',
'oauth_mail' => 'OAuth / Mail',
'preferences' => 'Preferences',
'analytics' => 'Analytics',
);