mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix(Journals): sync posting datetime with jorunal entries.
This commit is contained in:
@@ -106,7 +106,6 @@ export default class InventoryAdjustmentsController extends BaseController {
|
||||
) {
|
||||
const { tenantId, user } = req;
|
||||
const quickInventoryAdjustment = this.matchedBodyData(req);
|
||||
console.log(quickInventoryAdjustment);
|
||||
|
||||
try {
|
||||
const inventoryAdjustment = await this.inventoryAdjustmentService.createQuickAdjustment(
|
||||
|
||||
@@ -324,7 +324,7 @@ export default class PaymentReceivesController extends BaseController {
|
||||
* @param {Request} req -
|
||||
* @param {Response} res -
|
||||
*/
|
||||
async getPaymentReceiveEditPage(
|
||||
async getPaymentReceiveEditPage(
|
||||
req: Request,
|
||||
res: Response,
|
||||
next: NextFunction
|
||||
|
||||
@@ -435,9 +435,7 @@ export default class SaleInvoicesController extends BaseController {
|
||||
}
|
||||
if (error.errorType === 'SALE_INVOICE_NO_IS_REQUIRED') {
|
||||
return res.boom.badRequest(null, {
|
||||
errors: [
|
||||
{ type: 'SALE_INVOICE_NO_IS_REQUIRED', code: 1500 },
|
||||
],
|
||||
errors: [{ type: 'SALE_INVOICE_NO_IS_REQUIRED', code: 1500 }],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user