From 90d7789b344e59433fc6d0a9e4af553225a712ad Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Thu, 19 Mar 2020 23:29:06 +0100 Subject: [PATCH] suite --- app/controllers/admin/p_customer_sheets_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/p_customer_sheets_controller.rb b/app/controllers/admin/p_customer_sheets_controller.rb index f206c55..0473b06 100644 --- a/app/controllers/admin/p_customer_sheets_controller.rb +++ b/app/controllers/admin/p_customer_sheets_controller.rb @@ -24,7 +24,7 @@ class Admin::PCustomerSheetsController < ApplicationController end def index - @p_customer_sheets = PCustomerSheet.all + @p_customer_sheets = PCustomerSheet date_regex = /^(0[1-9]|[12][0-9]|3[01])[\/](0[1-9]|1[012])[\/](19|20)\d\d$/i