Fixed: Single Client page gave 404 when opened directly
Add role query:
insert into auth_roles ("RoleID", "Name") VALUES ('2c40f7cf-67fc-4efa-a670-8d16a2e7884d', 'Net Transactions');
Added settings page, view, route and controller.
Added lock_date setting to prevent changes to voucher upto and including that date.
The sql for this update is:
CREATE TABLE settings (
"SettingID" UUID NOT NULL,
"Name" VARCHAR(255) NOT NULL,
"Data" BYTEA,
PRIMARY KEY ("SettingID"),
UNIQUE ("Name")
);
INSERT INTO auth_roles ("RoleID", "Name") VALUES ('d52de0be-9388-4b0b-a359-7e122ab6e53a', 'Lock Date');
Signed-off-by: Tanshu <tanshu@gmail.com>
Showing subscribers in main.html
Messages are considered read when the message is opened by the user.
Fixed error left from before where batch date was not updated on updating purchase voucher.
to update this step, also execute the following sql in the database.
update entities_batches set "Name" = '01-Jan-2012' where "Name" = 'Old Products';
alter table entities_batches alter column "Name" type timestamp without time zone using "Name"::date;
Fixed storing utc dates in message tables.
Created utc class for time-aware dates.
Updated home to show age of Threads and open in new window available.
Modified message detail template to show editable by privileged user.
Added subscribers to thread detail.
Improved markup for message-detail to use less space.
Improved the chosen directive for when there is no create option.
Added method 'Names' to user resource for use in message subscribers.
Payment and Receipt clear typeahead on adding ledgers.
TODO: Implement thread read status per user.
TODO: Implemented edit post functionality for privileged user.
TODO: Implement thread filtering on main page for subscribers
Signed-off-by: Tanshu <tanshu@gmail.com>
Public and Closed checkboxes should now be working.
Delete button in message-detail.html was accidentally left, removed.
Removed cacheing from an-autocomplete.
Message list now returns tags list also.