3 | The TF which this transaction will be taken from.
4 |
--------------------------------------------------------------------------------
/javascript/05_jquery.jqplot.min.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/javascript/05_jquery.jqplot.min.js
--------------------------------------------------------------------------------
/patches/patch-00019.sql:
--------------------------------------------------------------------------------
1 | -- Remove projectPerson.emailEmptyTaskList;
2 | alter table projectPerson drop emailEmptyTaskList;
3 |
--------------------------------------------------------------------------------
/patches/patch-00227-alla.sql:
--------------------------------------------------------------------------------
1 | -- new field to track productCost tax
2 | ALTER TABLE productCost ADD tax boolean DEFAULT NULL;
3 |
--------------------------------------------------------------------------------
/help/config_taxTfID.html:
--------------------------------------------------------------------------------
1 | Services Tax TF
2 |
3 |
4 | This Tagged Fund will be the recipient of any tax credits.
5 |
--------------------------------------------------------------------------------
/help/transaction_product.html:
--------------------------------------------------------------------------------
1 | Product/Description
2 |
3 | The description that will appear on the TF statement
4 |
--------------------------------------------------------------------------------
/patches/patch-00026.sql:
--------------------------------------------------------------------------------
1 | -- Nuke timeSheetPrintUnit config item
2 | DELETE FROM config WHERE name = "timeSheetPrintUnit";
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00281-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | ALTER TABLE client DROP clientComment;
3 | ALTER TABLE client ADD clientURL TEXT DEFAULT NULL;
4 |
--------------------------------------------------------------------------------
/doc/images/allocPSA_server_appliance.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/allocPSA_server_appliance.png
--------------------------------------------------------------------------------
/help/transaction_tf.html:
--------------------------------------------------------------------------------
1 | Destination Tagged Fund
2 |
3 | The TF which this transaction is to be recorded against.
4 |
--------------------------------------------------------------------------------
/patches/patch-00014.sql:
--------------------------------------------------------------------------------
1 |
2 | DELETE FROM history;
3 | ALTER TABLE history ADD the_args varchar(255) default NULL AFTER the_place;
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00060-alla.sql:
--------------------------------------------------------------------------------
1 | -- add new manager field to task
2 | alter table task add managerID int(11) default NULL after personID;
3 |
--------------------------------------------------------------------------------
/patches/patch-00250-alla.sql:
--------------------------------------------------------------------------------
1 | -- permit anyone to create comments.
2 | UPDATE permission SET roleName = '' where tableName = 'comment';
3 |
--------------------------------------------------------------------------------
/patches/patch-00089-patrick.sql:
--------------------------------------------------------------------------------
1 |
2 | -- update all multipliers to '1' (standard rate)
3 | UPDATE timeSheetItem SET multiplier = 1;
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00225-alla.sql:
--------------------------------------------------------------------------------
1 | -- Permit blanks for projectPerson.rate
2 | ALTER TABLE projectPerson CHANGE rate rate BIGINT DEFAULT NULL;
3 |
--------------------------------------------------------------------------------
/patches/patch-00010.sql:
--------------------------------------------------------------------------------
1 | alter table person add phoneNo1 varchar(255) default "";
2 | alter table person add phoneNo2 varchar(255) default "";
3 |
--------------------------------------------------------------------------------
/patches/patch-00042.sql:
--------------------------------------------------------------------------------
1 | -- Add clientID to expenseForm table
2 | ALTER TABLE expenseForm ADD clientID int(11) DEFAULT 0 AFTER expenseFormID;
3 |
--------------------------------------------------------------------------------
/patches/patch-00076-jeremyc.sql:
--------------------------------------------------------------------------------
1 | -- Add field for expense form comment
2 | ALTER TABLE expenseForm ADD expenseFormComment text DEFAULT "";
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00077-jeremyc.sql:
--------------------------------------------------------------------------------
1 | -- Add field for indicating a duplicate task
2 | ALTER TABLE task ADD duplicateTaskID int(11) DEFAULT NULL;
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00079-jeremyc.sql:
--------------------------------------------------------------------------------
1 | -- Add field for TF status
2 | ALTER TABLE tf MODIFY status enum('active', 'disabled') DEFAULT 'active';
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00080-alla.php:
--------------------------------------------------------------------------------
1 | backup();
6 |
7 | ?>
8 |
--------------------------------------------------------------------------------
/patches/patch-00123-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add a FULLTEXT index to task.taskName for easy duplicate checking
2 | ALTER TABLE task ADD FULLTEXT(taskName);
3 |
--------------------------------------------------------------------------------
/patches/patch-00197-jeremyc.sql:
--------------------------------------------------------------------------------
1 | -- Speed up task page DB query.
2 | CREATE INDEX idx_interestedParty_entityID ON interestedParty (entityID);
3 |
--------------------------------------------------------------------------------
/patches/patch-00284-alla.sql:
--------------------------------------------------------------------------------
1 | -- remove unique constraint on comment.commentEmailUID field.
2 | ALTER TABLE comment DROP KEY commentEmailUID;
3 |
--------------------------------------------------------------------------------
/help/transaction_amount.html:
--------------------------------------------------------------------------------
1 | Amount
2 |
3 | The dollar value for the transaction. Enter the complete amount, including any tax.
4 |
--------------------------------------------------------------------------------
/patches/patch-00043.sql:
--------------------------------------------------------------------------------
1 | -- Add index to timeSheetItem table for timeSheetID
2 | ALTER TABLE timeSheetItem ADD INDEX idx_timeSheetID (timeSheetID);
3 |
--------------------------------------------------------------------------------
/patches/patch-00044.sql:
--------------------------------------------------------------------------------
1 | -- extend length of password field
2 | ALTER TABLE person change password password varchar(255) NOT NULL DEFAULT '';
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00148-alla.sql:
--------------------------------------------------------------------------------
1 | -- nuke old-style config table based time sheet multipliers
2 | DELETE FROM config WHERE name = 'timeSheetMultipliers';
3 |
--------------------------------------------------------------------------------
/patches/patch-00153-alla.sql:
--------------------------------------------------------------------------------
1 | -- Nuke the savedView entry from the permission table
2 | DELETE FROM permission WHERE tableName = 'savedView';
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00155-alla.sql:
--------------------------------------------------------------------------------
1 | -- turns out this foreign constraint is not required.
2 | ALTER TABLE reminder DROP FOREIGN KEY reminder_metaPerson;
3 |
--------------------------------------------------------------------------------
/patches/patch-00193-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- New product.productActive field
3 | ALTER TABLE product ADD productActive boolean NOT NULL default true;
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00236-alla.sql:
--------------------------------------------------------------------------------
1 | -- rebuild bad client search index
2 | INSERT INTO indexQueue (entity,entityID) SELECT "client",clientID FROM client;
3 |
--------------------------------------------------------------------------------
/patches/patch-00278-alla.sql:
--------------------------------------------------------------------------------
1 | -- missing patch
2 | INSERT INTO config (name,value,type) VALUES ('emailSubject_reminderOther', 'Reminder: ', 'text');
3 |
--------------------------------------------------------------------------------
/finance/templates/wagesUploadResultsM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
3 |
4 | To mark this task as a duplicate of another task, enter the ID of the other
5 | task here.
6 |
7 |
--------------------------------------------------------------------------------
/patches/patch-00024.sql:
--------------------------------------------------------------------------------
1 | -- Stick a new config item for address line 3
2 | INSERT INTO config (name, value) VALUES ('companyContactAddress3','Australia');
3 |
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00028.sql:
--------------------------------------------------------------------------------
1 | -- Nuke old sessdata reference from sessions
2 | UPDATE person SET sessData = replace(sessData,"projectSummary.php","projectGraph.php");
3 |
--------------------------------------------------------------------------------
/patches/patch-00075-jeremyc.sql:
--------------------------------------------------------------------------------
1 | -- Add field for emergency contact details
2 | ALTER TABLE person ADD emergencyContact varchar(255) DEFAULT "" AFTER phoneNo2;
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00114-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add index to client table for primary contact
2 | ALTER TABLE client ADD INDEX idx_clientPrimaryContactID (clientPrimaryContactID);
3 |
--------------------------------------------------------------------------------
/patches/patch-00216-alla.sql:
--------------------------------------------------------------------------------
1 | -- Allow updating of interested parties
2 | UPDATE permission SET actions = 11 WHERE tableName = 'interestedParty' AND actions = 9;
3 |
--------------------------------------------------------------------------------
/help/config_taxName.html:
--------------------------------------------------------------------------------
1 | Services Tax Name
2 |
3 |
4 | The name of your countries goods and services tax, for example in Australia it is called GST.
5 |
--------------------------------------------------------------------------------
/help/invoice_transaction.html:
--------------------------------------------------------------------------------
1 | Invoice
2 |
3 |
4 | Selecting an invoice here will create a correlation from this time sheet to that invoice.
5 |
6 |
7 |
--------------------------------------------------------------------------------
/patches/patch-00177-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- drop task.taskSubStatus
3 | ALTER TABLE task DROP taskSubStatus;
4 |
5 |
6 | DELETE FROM config WHERE name = 'taskStatusOptions';
7 |
--------------------------------------------------------------------------------
/patches/patch-00203-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- New config value to permit additional
3 | INSERT INTO config (name,value,type) values ('allocEmailExtra','/notls/norsh','text');
4 |
--------------------------------------------------------------------------------
/patches/patch-00235-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | DROP TABLE IF EXISTS error;
3 | CREATE TABLE error (
4 | errorID varchar(255) NOT NULL PRIMARY KEY
5 | ) ENGINE=InnoDB PACK_KEYS=0;
6 |
--------------------------------------------------------------------------------
/time/templates/pendingApprovalTimeSheetHomeR.tpl:
--------------------------------------------------------------------------------
1 |
4 |
5 | The options you select here dictate which tabs will appear across the top of your instance of alloc.
6 |
--------------------------------------------------------------------------------
/patches/patch-00005.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Insert a lowlevel user
3 | INSERT INTO person (username, password, perms, personActive) VALUES ('tester','/.iTV2iP8pLgs','employee',1);
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00007.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Insert a lowlevel user
3 | INSERT INTO person (username, password, perms, personActive) VALUES ('tester2','/.iTV2iP8pLgs','employee',1);
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00021.sql:
--------------------------------------------------------------------------------
1 | -- Stick a new config item in for the company business number
2 | INSERT INTO config (name, value) VALUES ('companyABN','13 053 904 082');
3 |
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00055-alla.sql:
--------------------------------------------------------------------------------
1 | -- more changes to reconcile differences between sql/db_structure.sql
2 | alter table invoiceItem change status status varchar(255) default NULL;
3 |
--------------------------------------------------------------------------------
/patches/patch-00072-alla.sql:
--------------------------------------------------------------------------------
1 | -- Change type of timeEstimate so that null can be stores
2 | ALTER TABLE task CHANGE timeEstimate timeEstimate DECIMAL(4,2) DEFAULT NULL;
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00087-alla.sql:
--------------------------------------------------------------------------------
1 | -- add new config item for default manager at config level
2 | INSERT INTO config (name,value,type) VALUES ("timeSheetManagerEmail", "","text");
3 |
--------------------------------------------------------------------------------
/patches/patch-00109-alla.sql:
--------------------------------------------------------------------------------
1 | -- This should fix weird windows installation bug
2 | ALTER TABLE expenseForm CHANGE expenseFormComment expenseFormComment text DEFAULT NULL;
3 |
--------------------------------------------------------------------------------
/patches/patch-00110-alla.sql:
--------------------------------------------------------------------------------
1 | -- Shorten taskType name of Parent/Phase to just Parent
2 | UPDATE taskType set taskTypeName = 'Parent' WHERE taskTypeName = 'Parent/Phase';
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00117-alla.sql:
--------------------------------------------------------------------------------
1 | -- Nuke unused table
2 | DROP TABLE IF EXISTS projectModificationNote;
3 | DELETE FROM permission WHERE tableName = "projectModificationNote";
4 |
--------------------------------------------------------------------------------
/patches/patch-00122-alla.sql:
--------------------------------------------------------------------------------
1 | -- Make the Email To field longer for comments
2 | ALTER TABLE comment CHANGE commentEmailRecipients commentEmailRecipients TEXT DEFAULT NULL;
3 |
--------------------------------------------------------------------------------
/patches/patch-00214-alla.sql:
--------------------------------------------------------------------------------
1 | -- Missing a changeType from the table.
2 | INSERT INTO changeType (changeTypeID, changeTypeSeq, changeTypeActive) VALUES ('TaskPending',6,true);
3 |
--------------------------------------------------------------------------------
/patches/patch-00248-alla.sql:
--------------------------------------------------------------------------------
1 | -- permit god perm to create other god users
2 | insert into permission (tableName,entityID,roleName,actions) values ("person",0,"god",7951);
3 |
--------------------------------------------------------------------------------
/help/config_rssFeed.html:
--------------------------------------------------------------------------------
1 | RSS Feed Settings
2 |
3 | These options adjust the contents of the Task RSS Feed. They apply to both the
4 | regular and summary views.
5 |
--------------------------------------------------------------------------------
/help/config_timeSheetPrint.html:
--------------------------------------------------------------------------------
1 | Time Sheet Print Options
2 | These options allow you to select which variants of the printable Time Sheets are offered to the user.
3 |
--------------------------------------------------------------------------------
/home/templates/homePrintableM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 | {show_home_items("standard")}
4 | {show_home_items("narrow")}
5 | {page::footer()}
6 |
--------------------------------------------------------------------------------
/patches/patch-00025.sql:
--------------------------------------------------------------------------------
1 | -- Stick a new config item for the footer of the printable timesheet
2 | INSERT INTO config (name, value) VALUES ('timeSheetPrintFooter','');
3 |
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00086-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- new config variable for email addressing method
3 | INSERT INTO config (name,value,type) VALUES ("allocEmailAddressMethod","to","text");
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00091-patrick.sql:
--------------------------------------------------------------------------------
1 |
2 | -- increase the limit on estimated hours to 99999.99
3 | ALTER TABLE task CHANGE timeEstimate timeEstimate DECIMAL(7,2) DEFAULT NULL;
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00170-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Add a new changeType for task pending
3 | INSERT INTO changeType (changeTypeID,changeTypeSeq,changeTypeActive) VALUES ("TaskPending",6,1);
4 |
--------------------------------------------------------------------------------
/patches/patch-00201-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Clear out old entries
3 | DELETE FROM permission WHERE tableName = 'taskSearchable';
4 | DELETE FROM permission WHERE tableName = 'taskType';
5 |
--------------------------------------------------------------------------------
/patches/patch-00204-alla.sql:
--------------------------------------------------------------------------------
1 | -- Nuke old header/footer entries
2 | DELETE FROM config WHERE name = 'task_email_header';
3 | DELETE FROM config WHERE name = 'task_email_footer';
4 |
--------------------------------------------------------------------------------
/patches/patch-00252-jeremyc.sql:
--------------------------------------------------------------------------------
1 | -- Re-apply DB triggers to fix a bug with editing timesheet
2 | -- items.
3 | DELETE FROM patchLog WHERE patchName = 'patch-00242-alla.php';
4 |
5 |
--------------------------------------------------------------------------------
/help/config_calendarFirstDay.html:
--------------------------------------------------------------------------------
1 |
2 | Calendar 1st Day
3 |
4 | The day selected here will be the leading day used as the start of the week for the allocPSA calendar.
5 |
--------------------------------------------------------------------------------
/help/config_clientSubjectLine.html:
--------------------------------------------------------------------------------
1 | Client Subject Line
2 |
4 |
5 | When a Sale is made, the Sell Price amount will be transferred from
6 | the Incoming Funds TF to the Sale TF.
7 |
8 |
--------------------------------------------------------------------------------
/patches/patch-00022.sql:
--------------------------------------------------------------------------------
1 | -- Stick a new config item in for the company address line 2
2 | INSERT INTO config (name, value) VALUES ('companyContactAddress2','ADDRESS LINE 2');
3 |
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00152-alla.sql:
--------------------------------------------------------------------------------
1 | -- New config item to specify how long a session should last.
2 | INSERT INTO config (name,value,type) VALUES ('allocSessionMinutes', '540', 'text');
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00167-jeremyc.sql:
--------------------------------------------------------------------------------
1 | -- Add the new rejected field to the timesheet table
2 | ALTER TABLE timeSheet ADD dateRejected date default NULL AFTER dateSubmittedToAdmin;
3 |
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00174-jeremyc.sql:
--------------------------------------------------------------------------------
1 | -- New config item to specify the map URL
2 | INSERT INTO config (name,value,type) VALUES ('mapURL', 'http://maps.google.com.au/?q=%ad', 'text');
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00269-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | INSERT INTO tokenAction (tokenActionID,tokenAction,tokenActionType,tokenActionMethod) VALUES (4,'Reopen pending task','task','reopen_pending_task');
3 |
--------------------------------------------------------------------------------
/help/config_allocEmailAdmin.html:
--------------------------------------------------------------------------------
1 | Adminstrator Email Address
2 |
3 | If there's a problem this email address will be notified. Ensure you enter a real persons email address.
4 |
--------------------------------------------------------------------------------
/patches/patch-00032.sql:
--------------------------------------------------------------------------------
1 | -- Nuke eventFilter table
2 | drop table eventFilter;
3 |
4 | -- Nuke permission entries for eventFilter
5 | delete from permission where tableName='eventFilter';
6 |
--------------------------------------------------------------------------------
/patches/patch-00106-alla.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO config (name,value,type) VALUES ("task_email_header", "","text");
2 | INSERT INTO config (name,value,type) VALUES ("task_email_footer", "","text");
3 |
--------------------------------------------------------------------------------
/patches/patch-00130-patrick.sql:
--------------------------------------------------------------------------------
1 |
2 | -- add configuration option for Company Expense Form TF
3 | INSERT INTO `config` (`name`,`value`,`type`) VALUES ("expenseFormTfID", "","text");
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00198-alla.sql:
--------------------------------------------------------------------------------
1 | -- New sentEmailType for project comments
2 | INSERT INTO sentEmailType (sentEmailTypeID,sentEmailTypeSeq,sentEmailTypeActive) values ("project_comments",14,1);
3 |
--------------------------------------------------------------------------------
/patches/patch-00199-alla.sql:
--------------------------------------------------------------------------------
1 | -- New sentEmailType for project comments
2 | INSERT INTO sentEmailType (sentEmailTypeID,sentEmailTypeSeq,sentEmailTypeActive) values ("client_comments",15,1);
3 |
--------------------------------------------------------------------------------
/patches/patch-00203-jeremyc.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/patches/patch-00020.sql:
--------------------------------------------------------------------------------
1 | -- Stick a new config item in which dictates the location of the header image
2 | insert into config (name,value) values ("companyImage","../images/cyberLogo.png");
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00058-alla.sql:
--------------------------------------------------------------------------------
1 | -- increase the size of the timeSheetItemDuration field
2 | ALTER TABLE timeSheetItem CHANGE timeSheetItemDuration timeSheetItemDuration DECIMAL(9,2) default '0.00';
3 |
--------------------------------------------------------------------------------
/patches/patch-00091-alla.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO tokenAction (tokenAction,tokenActionType,tokenActionMethod) VALUES ("Add Comments to Task (via a comment)","comment","add_comment_from_email");
2 |
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00151-alla.sql:
--------------------------------------------------------------------------------
1 | -- whack an emailUID field onto timeSheetItem to allow tracking of which items by which email
2 | ALTER TABLE timeSheetItem ADD emailUID varchar(255) DEFAULT NULL;
3 |
--------------------------------------------------------------------------------
/patches/patch-00200-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- New sentEmailType for invoice comments
3 | INSERT INTO sentEmailType (sentEmailTypeID,sentEmailTypeSeq,sentEmailTypeActive) values ("invoice_comments",16,1);
4 |
--------------------------------------------------------------------------------
/patches/patch-00205-jeremyc.sql:
--------------------------------------------------------------------------------
1 | -- Add a config entry for the capability to edit timesheet rates.
2 | INSERT INTO config (name, value, type) VALUES ('timeSheetEditors', 'none', 'text');
3 |
4 |
--------------------------------------------------------------------------------
/help/config_misc_setup.html:
--------------------------------------------------------------------------------
1 | Miscellaneous Setup
2 |
3 |
4 | These options will let you change the items that appear in various dropdown
5 | boxes throughout the allocPSA website.
6 |
--------------------------------------------------------------------------------
/patches/patch-00047.sql:
--------------------------------------------------------------------------------
1 | -- Add an index to the timeSheetID on the transaction table (changed a 2.70sec query to a 0.01sec)
2 | ALTER TABLE transaction ADD INDEX idx_timeSheetID (timeSheetID);
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00126-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- change timeSheet.customerBilledDollars to DEFAULT NULL
3 | ALTER TABLE timeSheet CHANGE customerBilledDollars customerBilledDollars DECIMAL(19,2) DEFAULT NULL;
4 |
--------------------------------------------------------------------------------
/patches/patch-00127-alla.sql:
--------------------------------------------------------------------------------
1 | -- Move reminder.metaPerson AFTER personID, so that make test_db works again
2 | ALTER TABLE reminder CHANGE metaPerson metaPerson int(11) DEFAULT NULL AFTER personID;
3 |
--------------------------------------------------------------------------------
/patches/patch-00215-alla.sql:
--------------------------------------------------------------------------------
1 | -- For adding comments to product sales
2 | INSERT INTO sentEmailType (sentEmailTypeID, sentEmailTypeSeq, sentEmailTypeActive) VALUES ('productSale_comments',20,true);
3 |
--------------------------------------------------------------------------------
/patches/patch-00220-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add new field to client contacts to permit deactivated client contacts
2 | ALTER TABLE clientContact ADD clientContactActive BOOLEAN DEFAULT TRUE AFTER primaryContact;
3 |
--------------------------------------------------------------------------------
/patches/patch-00279-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | INSERT INTO permission (tableName, entityID, roleName, sortKey, actions, comment)
3 | VALUES ('absenceType' ,0 ,'admin' ,NULL ,1+2+4+8 ,NULL);
4 |
--------------------------------------------------------------------------------
/patches/patch-00296-alla.sql:
--------------------------------------------------------------------------------
1 | -- reapply the db_triggers.sql file, but telling the updater system we need to apply patch 242 again.
2 | DELETE FROM patchLog WHERE patchName = 'patch-00242-alla.php';
3 |
--------------------------------------------------------------------------------
/help/config_allocEmailHost.html:
--------------------------------------------------------------------------------
1 | allocPSA Mail Server Hostname/IP
2 |
3 | The hostname or IP address of a mail server that has an account that can be used to listen for incoming emails.
4 |
--------------------------------------------------------------------------------
/help/config_allocSessionMinutes.html:
--------------------------------------------------------------------------------
1 | Session Timeout Minutes
2 |
3 | This setting specifies how long an *inactive* login session will last, before the user is automatically logged out.
4 |
--------------------------------------------------------------------------------
/patches/patch-00013.sql:
--------------------------------------------------------------------------------
1 | alter table sentEmailLog change sentEmailType sentEmailType enum('reminder','reminder_advnotice','task_created','task_closed','task_comments','timesheet_submit') default NULL;
2 |
3 |
--------------------------------------------------------------------------------
/patches/patch-00023.sql:
--------------------------------------------------------------------------------
1 | -- Stick a new config item in for whether the time sheets should display money or quantity.
2 | INSERT INTO config (name, value) VALUES ('timeSheetPrintUnit','money');
3 |
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00057-alla.sql:
--------------------------------------------------------------------------------
1 | -- Nuke entries in taskCCList where fullName is incorrectly set to a single space
2 | UPDATE taskCCList SET fullName = NULL WHERE fullName NOT REGEXP "[[:alnum:]]+";
3 |
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00222-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Nuke unused fields
3 | ALTER TABLE permission DROP FOREIGN KEY `permission_personID`;
4 | ALTER TABLE permission DROP personID;
5 | ALTER TABLE permission DROP allow;
6 |
--------------------------------------------------------------------------------
/patches/patch-00245-jeremyc.sql:
--------------------------------------------------------------------------------
1 | -- Ensure project short names are unique.
2 | UPDATE project SET projectShortName = NULL WHERE projectShortName = '';
3 | ALTER TABLE project add unique (projectShortName);
4 |
--------------------------------------------------------------------------------
/patches/patch-00260-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- give the product sale item quantity field, a precision to two places
3 | ALTER TABLE productSaleItem CHANGE quantity quantity DECIMAL(19,2) NOT NULL DEFAULT 1;
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00272-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | INSERT INTO permission (tableName, entityID, roleName, sortKey, actions, comment)
3 | VALUES
4 | ('announcement' ,0 ,'manage' ,NULL ,1+2+4+8 ,NULL);
5 |
--------------------------------------------------------------------------------
/finance/templates/checkRepeatM.tpl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | {page::footer()}
28 |
--------------------------------------------------------------------------------
/help/config_companyInfo.html:
--------------------------------------------------------------------------------
1 | Company Information
2 |
3 | This information is used in various places around the allocPSA application. Most noteably in the generated PDF Invoices and Time Sheets.
4 |
--------------------------------------------------------------------------------
/patches/patch-00084-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add tax type to transaction
2 | ALTER TABLE transaction MODIFY transactionType enum('invoice','expense','salary','commission','timesheet','adjustment','tax') NOT NULL;
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00207-alla.sql:
--------------------------------------------------------------------------------
1 | -- New perm for tokenAction
2 | INSERT INTO permission (tableName,entityID,personID,roleName,allow,sortKey,actions,comment) VALUES ("tokenAction",0,NULL,"",1,NULL,1,NULL);
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00230-alla.sql:
--------------------------------------------------------------------------------
1 | -- External reference fields for productSale.
2 | ALTER TABLE productSale ADD extRef VARCHAR(255) DEFAULT NULL;
3 | ALTER TABLE productSale ADD extRefDate date DEFAULT NULL;
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00241-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- straighten out some perms
3 | UPDATE permission SET roleName = '' WHERE tableName = 'auditItem';
4 | UPDATE permission SET roleName = '' WHERE tableName = 'indexQueue';
5 |
--------------------------------------------------------------------------------
/patches/patch-00294-alla.sql:
--------------------------------------------------------------------------------
1 | -- Fix up case insensitivity problem with alloc-cli creating lowercase taskTypeIDs
2 | UPDATE task SET taskTypeID = CONCAT(UCASE(LEFT(taskTypeID, 1)), SUBSTRING(taskTypeID, 2));
3 |
--------------------------------------------------------------------------------
/time/templates/weeklyTimeItemR.tpl:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/help/config_timeSheetSubjectLine.html:
--------------------------------------------------------------------------------
1 | Time Sheet Subject Line
2 |
3 | Additional substitutions for timesheet subject lines:
4 |
5 | %ti = Time Sheet ID
6 | %pn = Time Sheet Project Name
7 |
--------------------------------------------------------------------------------
/help/timeSheetGraph_filter.html:
--------------------------------------------------------------------------------
1 | Time Sheet Graph
2 |
3 |
4 | This filter lets you nominate a staff member and a date range to display a graph for the number of hours
5 | worked for that person.
6 |
--------------------------------------------------------------------------------
/patches/patch-00089-alla.sql:
--------------------------------------------------------------------------------
1 | -- add new email uid field to comment, so each comment knows which email it came from
2 | ALTER TABLE comment ADD commentEmailUID VARCHAR(255) DEFAULT NULL AFTER commentEmailRecipients;
3 |
--------------------------------------------------------------------------------
/patches/patch-00131-alla.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE transaction ADD transactionGroupID INT(11) DEFAULT NULL AFTER transactionRepeatID;
2 | ALTER TABLE transaction ADD INDEX idx_transactionGroupID (transactionGroupID);
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00213-alla.sql:
--------------------------------------------------------------------------------
1 | -- New field to track activating and deactivating interested parties
2 | ALTER TABLE interestedParty ADD interestedPartyActive boolean default true AFTER interestedPartyCreatedTime;
3 |
--------------------------------------------------------------------------------
/patches/patch-00288-alla.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO timeSheetItemMultiplier (timeSheetItemMultiplierID, timeSheetItemMultiplierName, timeSheetItemMultiplierSeq, timeSheetItemMultiplierActive) VALUES (-1,'Credit',6,true);
2 |
3 |
--------------------------------------------------------------------------------
/person/templates/personManagementFieldsS.tpl:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/patches/patch-00015.sql:
--------------------------------------------------------------------------------
1 | alter table sentEmailLog change sentEmailType sentEmailType enum('reminder','reminder_advnotice','task_created','task_closed','task_comments','timesheet_submit','timesheet_reject') default NULL;
2 |
--------------------------------------------------------------------------------
/help/config_allocEmailPort.html:
--------------------------------------------------------------------------------
1 | allocPSA Mail Server Port
2 |
3 | The port number (typically 143 for IMAP or 110 for POP3) of a mail server that has an account that can be used to listen for incoming emails.
4 |
--------------------------------------------------------------------------------
/help/project_interested_parties.html:
--------------------------------------------------------------------------------
1 | Default Interested Parties
2 |
3 |
4 |
5 | Newly created comments for this project and this project's tasks, will have these interested parties checked by default.
6 |
7 |
--------------------------------------------------------------------------------
/patches/patch-00112-alla.sql:
--------------------------------------------------------------------------------
1 | -- Nuke unused tables
2 | DROP TABLE IF EXISTS htmlAttribute;
3 | DROP TABLE IF EXISTS htmlAttributeType;
4 | DROP TABLE IF EXISTS htmlElement;
5 | DROP TABLE IF EXISTS htmlElementType;
6 |
7 |
8 |
--------------------------------------------------------------------------------
/patches/patch-00002.sql:
--------------------------------------------------------------------------------
1 | -- Add repeat to transactionTypes
2 | alter table transaction change transactionType transactionType enum('invoice','expense','salary','commission','timesheet','adjustment','repeat') default 'invoice';
3 |
--------------------------------------------------------------------------------
/patches/patch-00054-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- nuke modified time/dates (should already be contained in created time/users fields)
3 | UPDATE comment SET commentModifiedUser = NULL;
4 | UPDATE comment SET commentModifiedTime = NULL;
5 |
6 |
--------------------------------------------------------------------------------
/patches/patch-00124-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- add new config items for wiki
3 | INSERT INTO config (name,value,type) VALUES ("wikiMarkup", "Markdown","text");
4 | INSERT INTO config (name,value,type) VALUES ("wikiVCS", "git","text");
5 |
--------------------------------------------------------------------------------
/patches/patch-00287-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- new scaling config value to scale the logo image in pdfs, this helps tweak the fit and quality (300 is an ok value)
3 | INSERT INTO config (name,value,type) VALUES ("logoScaleX",0,"text");
4 |
--------------------------------------------------------------------------------
/help/config_rssStatusFilter.html:
--------------------------------------------------------------------------------
1 | RSS Feed Status Filter
2 |
3 | This field is the list of status changes that will be reported in the RSS feed.
4 | Task creation and reassignments are separate and will not be filtered.
5 |
--------------------------------------------------------------------------------
/patches/patch-00108-alla.sql:
--------------------------------------------------------------------------------
1 | -- Again: Update existing interestedParties, so that if they don't have a personID then they are external
2 | UPDATE interestedParty SET external = 1 WHERE personID IS NULL AND entity = 'comment';
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00175-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add couple of indexes to speed up the comment summary query
2 | CREATE INDEX dateTimeSheetItem ON timeSheetItem (dateTimeSheetItem);
3 | CREATE INDEX commentCreatedTime ON comment (commentCreatedTime);
4 |
--------------------------------------------------------------------------------
/patches/patch-00228-alla.sql:
--------------------------------------------------------------------------------
1 | -- New field to allow deletion (actually deactivation) of product costs, regardless of referential integrity constraints
2 | ALTER TABLE productCost ADD productCostActive boolean NOT NULL DEFAULT true;
3 |
--------------------------------------------------------------------------------
/shared/lib/db_alloc.inc.php:
--------------------------------------------------------------------------------
1 | Project Subject Line
2 |
3 | Additional substitutions for projects:
4 |
5 | %pi = Project ID
6 | %pn = Project Name
7 |
8 | %li = Client ID
9 | %cc = Client Name
10 |
--------------------------------------------------------------------------------
/patches/patch-00104-patrick.sql:
--------------------------------------------------------------------------------
1 |
2 | -- alter permissions that refer to taskCommentTemplate to refer to commentTemplate (the new name of the table)
3 | UPDATE permission SET tableName = "commentTemplate" WHERE tableName = "taskCommentTemplate";
4 |
5 |
--------------------------------------------------------------------------------
/patches/patch-00208-alla.sql:
--------------------------------------------------------------------------------
1 | -- New taskStatus for archived tasks
2 | INSERT INTO taskStatus (taskStatusID, taskStatusLabel, taskStatusColour, taskStatusSeq, taskStatusActive) VALUES ("closed_archived" ,"Closed: Archived" ,"#e0e0e0", 85,true);
3 |
--------------------------------------------------------------------------------
/time/templates/timeSheetItemM.tpl:
--------------------------------------------------------------------------------
1 |
3 |
4 | This should be set to the base URL of your allocPSA website installation. This
5 | setting is mainly used to specify absolute URLs inside of emails that
6 | allocPSA sends out.
7 |
--------------------------------------------------------------------------------
/help/config_timeSheetEdit.html:
--------------------------------------------------------------------------------
1 | Time Sheet Rate Editing
2 | Only the selected types of users may edit their rate when submitting time sheet line items.
3 | Any user may edit their rate if it has not been assigned in the relevant project.
4 |
--------------------------------------------------------------------------------
/patches/patch-00050.sql:
--------------------------------------------------------------------------------
1 | -- add perm for token
2 | INSERT INTO `permission` (`tableName`, `entityID`, `personID`, `roleName`, `allow`, `sortKey`, `comment`, `actions`) VALUES ('token',0,0,'','Y',NULL,'Allow everyone to do anything with tokens.',15);
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00003.sql:
--------------------------------------------------------------------------------
1 | -- Alter transactionType values in transactionRepeat table
2 | alter table transactionRepeat change transactionType transactionType enum('invoice','expense','salary','commission','timesheet','adjustment','repeat') default 'invoice';
3 |
--------------------------------------------------------------------------------
/patches/patch-00085-alla.sql:
--------------------------------------------------------------------------------
1 | -- allow people to read timeUnit records.
2 | INSERT INTO permission (tableName, entityID, personID, roleName, allow, sortKey, comment, actions) VALUES ('timeUnit',0,0,'','Y',NULL,'Allow people to read timeUnit records.',1);
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00286-alla.sql:
--------------------------------------------------------------------------------
1 | -- permit god user account to edit the projectType table
2 | INSERT INTO permission (tableName, entityID, roleName, sortKey, actions, comment)
3 | VALUES ('projectType' ,0 ,'god' ,NULL ,1+2+4+8 ,NULL);
4 |
5 |
--------------------------------------------------------------------------------
/person/templates/personAbsenceR.tpl:
--------------------------------------------------------------------------------
1 |
3 |
4 | If your connection needs special parameters to enable features (e.g.
5 | SSL) then you may put them in here. Please see the PHP manual for the
6 | imap_open function:
7 |
8 | http://php.net/imap_open
9 |
--------------------------------------------------------------------------------
/help/config_mapURL.html:
--------------------------------------------------------------------------------
1 | Maps Base URL
2 |
3 |
4 | This is the base URL for linking to maps. %ad will be replaced with the street address and postcode to create the map link.
5 |
6 | It is recommended that this be left as the google maps URL for your country.
7 |
8 |
--------------------------------------------------------------------------------
/patches/patch-00192-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Add productSale.personID
3 | ALTER TABLE productSale ADD personID INTEGER DEFAULT NULL AFTER projectID;
4 |
5 | -- Add constraint
6 | ALTER TABLE productSale ADD CONSTRAINT productSale_personID FOREIGN KEY (personID) REFERENCES person (personID);
7 |
--------------------------------------------------------------------------------
/patches/patch-00265-alla.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO config (name,value,type) VALUES ('allocTabs','a:11:{i:0;s:4:"home";i:1;s:6:"client";i:2;s:7:"project";i:3;s:4:"task";i:4;s:4:"time";i:5;s:7:"invoice";i:6;s:4:"sale";i:7;s:6:"person";i:8;s:4:"wiki";i:9;s:5:"inbox";i:10;s:5:"tools";}','array');
2 |
--------------------------------------------------------------------------------
/project/templates/projectPersonSummaryViewS.tpl:
--------------------------------------------------------------------------------
1 |
3 | This will be the amount that the time sheet creator is entitled to receive.
4 |
5 |
6 | If the Update button is available to click, it will re-fetch the person's rate from the Project level and apply it to this Time Sheet.
7 |
--------------------------------------------------------------------------------
/patches/patch-00017.sql:
--------------------------------------------------------------------------------
1 | -- Added daily_digest type to sentEmailLog table
2 | alter table sentEmailLog change sentEmailType sentEmailType enum('reminder','reminder_advnotice','task_created','task_closed','task_comments','timesheet_submit','timesheet_reject','daily_digest') default NULL;
3 |
--------------------------------------------------------------------------------
/patches/patch-00094-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- New permission for interestedParty
3 | INSERT INTO permission (tableName, entityID, personID, roleName, allow, sortKey, comment, actions) VALUES ('interestedParty',0,0,'','Y',NULL,'Allow people to do anything to interestedParty records.',15);
4 |
5 |
6 |
--------------------------------------------------------------------------------
/patches/patch-00221-alla.sql:
--------------------------------------------------------------------------------
1 | -- Allow anyone to create sales that they own
2 | UPDATE permission SET roleName = '',actions=15 WHERE tableName = 'productSale' AND entityID = '-1';
3 | UPDATE permission SET roleName = '',actions=15 WHERE tableName = 'productSaleItem' AND entityID = '-1';
4 |
--------------------------------------------------------------------------------
/patches/patch-00261-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- permit managers to be able to read/write employee management fields.
3 | INSERT INTO permission (tableName, entityID, roleName, sortKey, actions, comment)
4 | VALUES ('person' ,0 ,'manage' ,NULL ,1+2+4+8+256+512+1024 ,NULL);
5 |
--------------------------------------------------------------------------------
/time/templates/pendingAdminApprovalTimeSheetHomeM.tpl:
--------------------------------------------------------------------------------
1 |
3 |
4 | To view your list of Clients, enter some search criteria and click the "Filter" button.
5 |
6 | Alternatively you can select one of the letter links below to view all Clients whose names begin with that letter.
7 |
--------------------------------------------------------------------------------
/help/templates/getHelpM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
4 |
5 |
6 |
Help
7 |
8 |
9 |
10 |
11 | {$str}
12 |
13 |
14 |
15 |
16 | {page::footer()}
17 |
--------------------------------------------------------------------------------
/patches/patch-00285-alla.sql:
--------------------------------------------------------------------------------
1 | -- fix up rejected time sheets
2 | INSERT INTO timeSheetStatus (timeSheetStatusID,timeSheetStatusSeq, timeSheetStatusActive) VALUES ("rejected",6,1);
3 | UPDATE timeSheet SET status = 'rejected' WHERE status = 'edit' AND dateRejected IS NOT NULL AND dateRejected;
4 |
--------------------------------------------------------------------------------
/help/config_hoursInDay.html:
--------------------------------------------------------------------------------
1 | Hours in a Working Day
2 |
3 |
4 | When a Time Sheet is filled in and the Time Units used are in days,
5 | allocPSA needs to know how many hours you typically consider to be in a working
6 | day. In a lot of offices in Australia it is 7.5 hours.
7 |
8 |
--------------------------------------------------------------------------------
/patches/patch-00045.sql:
--------------------------------------------------------------------------------
1 | -- allow everyone to read taskCommentTemplates
2 | INSERT INTO `permission` (`tableName`, `entityID`, `personID`, `roleName`, `allow`, `sortKey`, `comment`, `actions`)
3 | VALUES ('taskCommentTemplate',0,0,'','Y',NULL,'Allow everyone to read taskCommentTemplates',1);
4 |
5 |
--------------------------------------------------------------------------------
/tools/templates/sourceCodeListM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
4 |
3 | If this is set to 1 then show a little link in the bottom right-hand corner of every page
4 | which allows you to view the SQL database queries that generated the page. This is useful
5 | for debugging why a certain page is running slowly.
6 |
--------------------------------------------------------------------------------
/patches/patch-00105-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add new commentTemplateType field to allow different commentTemplates lists for tasks and timesheets.
2 | ALTER TABLE commentTemplate add commentTemplateType varchar(255) DEFAULT NULL AFTER commentTemplateText;
3 | UPDATE commentTemplate set commentTemplateType = 'task';
4 |
--------------------------------------------------------------------------------
/patches/patch-00194-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- New field productSale.productSaleDate
3 | ALTER TABLE productSale ADD productSaleDate date default NULL AFTER productSaleModifiedUser;
4 |
5 | -- Copy date created into the new date field.
6 | UPDATE productSale set productSaleDate = DATE(productSaleCreatedTime);
7 |
--------------------------------------------------------------------------------
/time/templates/weeklyTimeDayR.tpl:
--------------------------------------------------------------------------------
1 |
16 | {page::footer()}
17 |
--------------------------------------------------------------------------------
/patches/patch-00092-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add an index on the timeSheetItem for the taskID field
2 | ALTER TABLE timeSheetItem ADD INDEX idx_taskID (taskID);
3 |
4 | -- Add an index on the projectPerson for the projectID and personID
5 | ALTER TABLE projectPerson ADD INDEX idx_person_project (projectID,personID);
6 |
--------------------------------------------------------------------------------
/help/product_percentageCost.html:
--------------------------------------------------------------------------------
1 | Product Commissions
2 |
3 |
4 | Product Commissions specify how to distribute the margin/profit from
5 | a Product sale.
6 |
7 |
8 |
9 | The total of all Product Commissions should not exceed 100% (to allocate
10 | all of the margin/profit).
11 |
--------------------------------------------------------------------------------
/patches/patch-00240-alla.php:
--------------------------------------------------------------------------------
1 | $email) {
7 | $db->query("UPDATE interestedParty set external = null WHERE emailAddress = '%s'",$email);
8 | }
9 |
10 | ?>
11 |
--------------------------------------------------------------------------------
/patches/patch-00266-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- add new field invoice.tfID
3 | ALTER TABLE invoice ADD tfID integer NOT NULL AFTER projectID;
4 | UPDATE invoice SET tfID = (SELECT value FROM config WHERE name = 'mainTfID');
5 | ALTER TABLE invoice ADD CONSTRAINT invoice_tfID FOREIGN KEY (tfID) REFERENCES tf (tfID);
6 |
7 |
--------------------------------------------------------------------------------
/css/README:
--------------------------------------------------------------------------------
1 | The main CSS files for the application live in this directory. However the
2 | style_*.css files do not need to be modified directly. Instead, modify the
3 | source files in the src/ directory and then run `make css`, which will
4 | rebuild the css files. This approach help to allow allocPSA to be themable.
5 |
--------------------------------------------------------------------------------
/help/taskList_filter.html:
--------------------------------------------------------------------------------
1 | Task Summary Filter
2 |
3 |
4 | This filter will allow you to filter a list of Tasks and manipulate how
5 | they are displayed on this screen.
6 |
7 |
Also note that you can print this report from within your browser and it should render nicely.
8 |
9 |
10 |
--------------------------------------------------------------------------------
/patches/patch-00035.sql:
--------------------------------------------------------------------------------
1 | -- Add new_password to sentEmailLog.sentEmailType
2 | ALTER TABLE sentEmailLog CHANGE sentEmailType sentEmailType enum('reminder','reminder_advnotice','task_created','task_closed','task_comments','timesheet_submit','timesheet_reject','daily_digest','timesheet_finished','new_password');
3 |
4 |
--------------------------------------------------------------------------------
/patches/patch-00147-alla.sql:
--------------------------------------------------------------------------------
1 | -- add referential contraint from timeSheetItem.multiplier to timeSheetItemMultiplier.timeSheetItemMultiplierID
2 | ALTER TABLE timeSheetItem ADD CONSTRAINT timeSheetItem_multiplier FOREIGN KEY (multiplier) REFERENCES timeSheetItemMultiplier (timeSheetItemMultiplierID) ON UPDATE CASCADE;
3 |
--------------------------------------------------------------------------------
/help/expenseForm_seek_reimbursement.html:
--------------------------------------------------------------------------------
1 | Seek Reimbursement
2 |
3 |
4 |
5 | Make sure this checkbox is ticked if the client should reimburse these expenses.
6 |
7 |
8 |
9 | Note that if you're creating an Invoice Item from an Expense Form, you will need to ensure this box is ticked.
10 |
--------------------------------------------------------------------------------
/security/templates/permissionListR.tpl:
--------------------------------------------------------------------------------
1 |
3 |
4 | This will be the product of the engineer's hours by the Client Billed At rate, set at the Project level.
5 |
6 | If the Update button is available to click, it will re-fetch the Client Billed At rate from the Project level and apply it to this Time Sheet.
7 |
--------------------------------------------------------------------------------
/help/config_expenseFormTfID.html:
--------------------------------------------------------------------------------
1 | Expense Form TF
2 |
3 |
4 | This is a special tagged fund that all employees are allowed to claim expenses
5 | from (in addition to the TFs that they have permissions to).
6 |
7 | Expense claims from this TF will be highlighted on the expense form display.
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/patches/patch-00056-alla.php:
--------------------------------------------------------------------------------
1 | query("show keys from config");
6 |
7 | while ($db->next_record()) {
8 | if ($db->f("Key_name") == "name_2") {
9 | $db->query("drop index name_2 on config");
10 | }
11 | }
12 |
13 | ?>
14 |
--------------------------------------------------------------------------------
/patches/patch-00115-alla.sql:
--------------------------------------------------------------------------------
1 | -- Update the names of the tf's: wagesTfID->outTfID, invoicesTfID->inTfID, cybersourceTfID->mainTfID
2 | UPDATE config SET name = "mainTfID" WHERE name = "cybersourceTfID";
3 | UPDATE config SET name = "outTfID" WHERE name = "wagesTfID";
4 | UPDATE config SET name = "inTfID" WHERE name = "invoicesTfID";
5 |
6 |
--------------------------------------------------------------------------------
/patches/patch-00133-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- fix up skillProficiencys stuff
3 | alter table skillList rename to skill;
4 | alter table skillProficiencys rename to proficiency;
5 | update permission set tableName = 'skill' where tableName = 'skillList';
6 | update permission set tableName = 'proficiency' where tableName = 'skillProficiencys';
7 |
--------------------------------------------------------------------------------
/patches/patch-00171-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Add a couple of fields to interestedParty to track who created the entry and when
3 | alter table interestedParty add interestedPartyCreatedUser integer DEFAULT NULL AFTER external;
4 | alter table interestedParty add interestedPartyCreatedTime datetime DEFAULT NULL AFTER interestedPartyCreatedUser;
5 |
--------------------------------------------------------------------------------
/patches/patch-00229-alla.sql:
--------------------------------------------------------------------------------
1 | -- New field to allow sales to have a specfic tf
2 | ALTER TABLE productSale ADD tfID INTEGER NOT NULL AFTER personID;
3 | UPDATE productSale SET tfID = (SELECT value FROM config WHERE name = 'mainTfID');
4 | ALTER TABLE productSale ADD CONSTRAINT productSale_tfID FOREIGN KEY (tfID) REFERENCES tf (tfID);
5 |
6 |
--------------------------------------------------------------------------------
/project/templates/personGraphR.tpl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
2 |
3 | This is the maximum number of status changes to include in the RSS feed.
4 | The feed may show fewer than this number of entries due to the status filter.
5 |
6 | Note that increasing this number will increase the load on the database each time the RSS feed is viewed.
7 |
8 |
--------------------------------------------------------------------------------
/invoice/templates/invoiceTransactionViewR.tpl:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/patches/patch-00059-alla.sql:
--------------------------------------------------------------------------------
1 | -- Rename modified fields on the sentEmailLog table to created, so that they populate again.
2 | ALTER TABLE sentEmailLog CHANGE sentEmailLogModifiedTime sentEmailLogCreatedTime datetime DEFAULT NULL;
3 | ALTER TABLE sentEmailLog CHANGE sentEmailLogModifiedUser sentEmailLogCreatedUser int(11) DEFAULT NULL;
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/patches/patch-00116-alla.sql:
--------------------------------------------------------------------------------
1 | -- Rename tf.status to tf.tfActive (have to update old entries)
2 | ALTER TABLE tf CHANGE status tfActive varchar(255);
3 | UPDATE tf SET tfActive = 1 WHERE tfActive = 'active';
4 | UPDATE tf SET tfActive = 0 WHERE tfActive = 'disabled' OR tfActive IS NULL;
5 | ALTER TABLE tf CHANGE tfActive tfActive tinyint(1) NOT NULL;
6 |
--------------------------------------------------------------------------------
/help/config_taskPriorityScale.html:
--------------------------------------------------------------------------------
1 | Task Priority Scale
2 |
3 |
4 | This configuration value affects the sclae of the numbers in the task priority.
5 |
6 |
7 | The lower the value the lower all the priority values will be.
8 |
9 |
10 | A sensible default might be 8.
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/patches/patch-00191-alla.sql:
--------------------------------------------------------------------------------
1 | -- These buyCost fields are not needed
2 | ALTER TABLE product DROP buyCost;
3 | ALTER TABLE product DROP buyCostCurrencyTypeID;
4 | ALTER TABLE product DROP buyCostIncTax;
5 | ALTER TABLE productSaleItem DROP buyCost;
6 | ALTER TABLE productSaleItem DROP buyCostCurrencyTypeID;
7 | ALTER TABLE productSaleItem DROP buyCostIncTax;
8 |
--------------------------------------------------------------------------------
/finance/templates/pendingTransactionListR.tpl:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/patches/patch-00095-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add new field to interestedParty: external
2 | ALTER TABLE interestedParty ADD external tinyint(1) DEFAULT NULL AFTER clientContactID;
3 |
4 | -- Update existing interestedParties, so that if they don't have a personID then they are external
5 | UPDATE interestedParty SET external = 1 WHERE personID IS NULL AND entity = 'comment';
6 |
7 |
--------------------------------------------------------------------------------
/.esformatter:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": [
3 | "esformatter-dot-notation",
4 | "esformatter-semicolons",
5 | "esformatter-braces",
6 | "esformatter-eol-last",
7 | "esformatter-quotes",
8 | "esformatter-var-each"
9 | ],
10 | "quotes": {
11 | "type": "single",
12 | "avoidEscape": true
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/help/task_pending_tasks.html:
--------------------------------------------------------------------------------
1 | Task Status: Pending Tasks
2 |
3 |
4 | If this task, is waiting on other tasks to complete, before it can get started, then enter
5 | that list of tasks.
6 |
7 |
8 | Eg: 1234 543 654 234
9 |
10 |
11 | (Would indicate that we're waiting for those four tasks to complete, before this task can commence)
12 |
--------------------------------------------------------------------------------
/patches/patch-00271-alla.sql:
--------------------------------------------------------------------------------
1 | -- add fields to project to track creation and modification
2 |
3 | ALTER TABLE project ADD projectCreatedTime datetime default NULL AFTER clientContactID;
4 | ALTER TABLE project ADD projectCreatedUser integer default NULL AFTER projectCreatedTime;
5 | ALTER TABLE project ADD projectModifiedTime datetime DEFAULT NULL AFTER projectCreatedUser;
6 |
--------------------------------------------------------------------------------
/patches/patch-00212-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add a field that links transactions to productCosts.
2 | ALTER TABLE transaction ADD productCostID INTEGER DEFAULT NULL AFTER productSaleItemID;
3 | CREATE INDEX idx_productCostID ON transaction (productCostID);
4 | ALTER TABLE transaction ADD CONSTRAINT transaction_productCostID FOREIGN KEY (productCostID) REFERENCES productCost (productCostID);
5 |
--------------------------------------------------------------------------------
/help/config_taxPercent.html:
--------------------------------------------------------------------------------
1 | Services Tax Percent
2 |
3 |
4 | The value of your countries goods and services tax, for example in Australia it
5 | is currently 10%. This percentage is used within the Time Sheets. Eg, a client
6 | is invoiced at a rate which is inclusive of this tax, but when dividing the
7 | funds up the value that gets allocated is excluding this tax.
8 |
--------------------------------------------------------------------------------
/patches/patch-00052-alla.sql:
--------------------------------------------------------------------------------
1 | -- Changing type slightly so that structure conciles with db_struct
2 | ALTER TABLE config CHANGE name name VARCHAR(255) NOT NULL;
3 |
4 | -- Nuke old table
5 | DROP TABLE IF EXISTS `eventFilter`;
6 |
7 | -- Will have to add this to tables when creating them..
8 | ALTER TABLE token PACK_KEYS=0;
9 | ALTER TABLE tokenAction PACK_KEYS=0;
10 |
11 |
12 |
--------------------------------------------------------------------------------
/patches/patch-00257-alla.php:
--------------------------------------------------------------------------------
1 | query("UPDATE permission SET actions = 1 WHERE tableName = 'inbox' AND roleName = 'manage'");
7 | $db->query("UPDATE permission SET actions = 1 WHERE tableName = 'inbox' AND roleName = 'admin'");
8 | }
9 |
10 | ?>
11 |
--------------------------------------------------------------------------------
/project/templates/personGraphM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
14 | {page::footer()}
15 |
--------------------------------------------------------------------------------
/patches/patch-00081-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Change two fields on transaction so that they default to NULL instead of zero
3 | ALTER TABLE transaction MODIFY expenseFormID int(11) DEFAULT NULL;
4 | ALTER TABLE transaction MODIFY projectID int(11) DEFAULT NULL;
5 |
6 | UPDATE transaction SET expenseFormID = NULL WHERE expenseFormID = 0;
7 | UPDATE transaction SET projectID = NULL WHERE projectID = 0;
8 |
--------------------------------------------------------------------------------
/patches/patch-00282-alla.php:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/help/transaction_status.html:
--------------------------------------------------------------------------------
1 | Transaction Status
2 |
3 |
4 | Pending transactions indicate that the transaction has not yet been finalised (e.g. an invoice that is due to be paid).
5 | Approved transactions are paid/completed transactions.
6 | Rejected transactions are transactions that were never finalised (e.g. invoices which are no longer being chased).
7 |
--------------------------------------------------------------------------------
/project/templates/projectGraphM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
4 |
5 |
Project Task Graph
6 |
7 |
8 |
{show_filter()}
9 |
10 |
11 |
{show_projects("templates/projectGraphR.tpl")}
12 |
13 |
14 | {page::footer()}
15 |
--------------------------------------------------------------------------------
/patches/patch-00004.sql:
--------------------------------------------------------------------------------
1 | -- Alter transactionType values in transactionRepeat table
2 | alter table transactionRepeat change transactionType transactionType enum('invoice','expense','salary','commission','timesheet','adjustment') default 'invoice';
3 | alter table transaction change transactionType transactionType enum('invoice','expense','salary','commission','timesheet','adjustment') default 'invoice';
4 |
--------------------------------------------------------------------------------
/patches/patch-00118-alla.sql:
--------------------------------------------------------------------------------
1 | -- add invoice.maxAmount for pre-paid invoices
2 | ALTER TABLE invoice ADD maxAmount decimal(19,2) DEFAULT 0;
3 |
4 | -- add invoice.projectID
5 | ALTER TABLE invoice ADD projectID int(11) DEFAULT NULL AFTER clientID;
6 |
7 | -- add prepaid to list of projectTypes
8 | ALTER TABLE project CHANGE projectType projectType enum('contract','job','project','prepaid') DEFAULT NULL;
9 |
--------------------------------------------------------------------------------
/sale/templates/productSaleListR.tpl:
--------------------------------------------------------------------------------
1 |
2 |
{echo productSale::get_link($sale)}
3 |
{=$creatorLabel}
4 |
{$productSaleDate}
5 |
{=$clientName}
6 |
{=$projectName}
7 |
{$statusLabel}
8 |
{$sale.amounts.total_margin}
9 |
10 |
--------------------------------------------------------------------------------
/patches/patch-00031.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Make config.name of type varchar(255)
3 | alter table config change name name varchar(255);
4 |
5 | -- Make config.name a unique key
6 | alter table config add unique key (name);
7 |
8 | -- Nuke existing person.username key
9 | alter table person drop key username;
10 |
11 | -- Make person.username a unique key
12 | alter table person add unique key (username);
13 |
14 |
--------------------------------------------------------------------------------
/help/config_taskSubjectLine.html:
--------------------------------------------------------------------------------
1 | Task Comment Subject Line
2 |
4 | This logo will appear in the top-left corner of allocPSA. It will be scaled down.
5 |
6 |
7 | The logo will also appear (in full size) within printable (PDF and HTML) time sheets and invoices.
8 |
9 |
10 | The approximate recommended dimensions for the uploaded image are about 80px in height, and up to 400px in width.
11 |
--------------------------------------------------------------------------------
/patches/patch-00008.sql:
--------------------------------------------------------------------------------
1 | -- Alter transactionType values in transactionRepeat table
2 | alter table transactionRepeat change transactionType transactionType enum('invoice','expense','salary','commission','timesheet','adjustment') NOT NULL default 'invoice';
3 | alter table transaction change transactionType transactionType enum('invoice','expense','salary','commission','timesheet','adjustment') NOT NULL default 'invoice';
4 |
--------------------------------------------------------------------------------
/patches/patch-00246-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- sort out some permissions
3 | insert into permission (tableName,entityID,roleName,actions) values ("permission",0,"god",15);
4 | insert into permission (tableName,entityID,roleName,actions) values ("commentTemplate",0,"manage",15);
5 |
6 | DELETE FROM permission where tableName = 'config';
7 | insert into permission (tableName,entityID,roleName,actions) values ("config",0,"god",15);
8 |
--------------------------------------------------------------------------------
/patches/patch-00209-alla.sql:
--------------------------------------------------------------------------------
1 | -- New table to allow asynchronous search index building
2 | CREATE TABLE indexQueue (
3 | indexQueueID integer NOT NULL auto_increment PRIMARY KEY,
4 | entity varchar(255) NOT NULL,
5 | entityID integer NOT NULL
6 | ) ENGINE=InnoDB PACK_KEYS=0;
7 |
8 | -- Add unique index across entity and entityID
9 | CREATE UNIQUE INDEX entity_entityID ON indexQueue (entity,entityID);
10 |
11 |
--------------------------------------------------------------------------------
/home/templates/tfListR.tpl:
--------------------------------------------------------------------------------
1 |
4 |
5 | Time Sheets for this Project will be paid from this TF.
6 |
7 |
8 |
9 | Sales of products for this Project will be credited to this TF.
10 | Product commissions and costs will be debited from this TF.
11 |
12 |
13 |
14 | If no TF is selected, the Main Finance TF will be used by the Time
15 | Sheets and Sales by default.
16 |
--------------------------------------------------------------------------------
/patches/patch-00083-alla.sql:
--------------------------------------------------------------------------------
1 | -- Make sent email header field big
2 | ALTER TABLE sentEmailLog MODIFY sentEmailHeader TEXT;
3 |
4 | -- Add orphan type to sentEmailTypes
5 | ALTER TABLE sentEmailLog MODIFY sentEmailType enum('reminder','reminder_advnotice','task_created','task_closed','task_comments','timesheet_submit','timesheet_reject','daily_digest','timesheet_finished','new_password','task_reassigned','orphan') DEFAULT NULL;
6 |
7 |
--------------------------------------------------------------------------------
/project/templates/projectTaskS.tpl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Uncompleted Tasks
4 | - {print count($taskListRows)} records
5 |
6 | New Task
7 |
8 |
3 |
4 | Commissions can be added here so that when Time Sheets are billed for this
5 | Project, a percentage of the funds from the Time Sheet will go to the nominated
6 | TF.
7 |
8 |
9 | If you enter zero as the commission percentage, it will signify that "all
10 | the remaining funds" from a time sheet will be allocated (after the other
11 | commissions have been paid).
12 |
13 |
--------------------------------------------------------------------------------
/home/templates/homeItemS.tpl:
--------------------------------------------------------------------------------
1 |
16 |
--------------------------------------------------------------------------------
/patches/patch-00067-alla.php:
--------------------------------------------------------------------------------
1 | query("SELECT * FROM invoice");
8 | while ($db->next_record()) {
9 | $db2->query(prepare("UPDATE invoiceItem SET iiDate = '%s' WHERE invoiceID = %d",$db->f("invoiceDateFrom"),$db->f("invoiceID")));
10 | }
11 |
12 | ?>
13 |
--------------------------------------------------------------------------------
/patches/patch-00149-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Fix up some data that went bad
3 | UPDATE transactionRepeat set paymentBasis = 'weekly' where paymentBasis = 0;
4 | UPDATE transactionRepeat set paymentBasis = 'fortnightly' where paymentBasis = 1;
5 | UPDATE transactionRepeat set paymentBasis = 'monthly' where paymentBasis = 2;
6 | UPDATE transactionRepeat set paymentBasis = 'quarterly' where paymentBasis = 3;
7 | UPDATE transactionRepeat set paymentBasis = 'yearly' where paymentBasis = 4;
8 |
--------------------------------------------------------------------------------
/patches/patch-00082-alla.sql:
--------------------------------------------------------------------------------
1 | -- Changed default zeroes, to default nulls.
2 | ALTER TABLE invoiceItem MODIFY invoiceID int(11) NOT NULL;
3 | ALTER TABLE invoiceItem MODIFY timeSheetID int(11) DEFAULT NULL;
4 | ALTER TABLE invoiceItem MODIFY timeSheetItemID int(11) DEFAULT NULL;
5 | ALTER TABLE invoiceItem MODIFY expenseFormID int(11) DEFAULT NULL;
6 | ALTER TABLE invoiceItem MODIFY transactionID int(11) DEFAULT NULL;
7 |
8 | ALTER TABLE expenseForm MODIFY clientID int(11) DEFAULT NULL;
9 |
--------------------------------------------------------------------------------
/patches/patch-00217-alla.sql:
--------------------------------------------------------------------------------
1 | -- New config values for rss feed
2 | INSERT INTO config (name,value,type) VALUES ('rssStatusFilter', 'a:7:{i:0;s:12:"pending_info";i:1;s:15:"pending_manager";i:2;s:14:"pending_client";i:3;s:14:"closed_invalid";i:4;s:16:"closed_duplicate";i:5;s:17:"closed_incomplete";i:6;s:15:"closed_complete";}', 'array');
3 | INSERT INTO config (name,value,type) VALUES ('rssEntries', '20', 'text');
4 | INSERT INTO config (name,value,type) VALUES ('rssShowProject', 'on', 'text');
5 |
--------------------------------------------------------------------------------
/help/config_taskPrioritySpread.html:
--------------------------------------------------------------------------------
1 | Task Priority Spread
2 |
3 |
4 | This configuration value affects the shape of the task priority curve.
5 |
6 |
7 | The lower the spread value, the more dramatic the effect the target completion date has on priority.
8 |
9 |
10 | Conversely a higher value here flattens out the curve, reducing the effect that time has on a priority value.
11 |
12 |
13 |
14 | A sensible default might be 20.
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/help/config_timeSheetManagerEmail.html:
--------------------------------------------------------------------------------
1 | Time Sheet Manager
2 |
3 |
4 | These people are the default Time Sheet Managers for all Projects. If a
5 | Time Sheet Manager is specified at the Project level, the Time Sheet will get
6 | routed to that person instead.
7 |
8 |
9 | If no Time Sheet Manager is set up at this global level or at the Project level,
10 | then the Time Sheet will skip past the Manager stage and go straight to the
11 | Time Sheet Administrator.
12 |
13 |
--------------------------------------------------------------------------------
/help/task_create_reminder.html:
--------------------------------------------------------------------------------
1 | Create a reminder for this task
2 |
3 |
4 | Selecting this option will create a reminder for the assignee of this task,
5 | based on the task's priority.
6 |
7 | This will mean that the assignee receives an email about the task as soon
8 | as it is created, and a reminder until the task is closed (or the reminder
9 | deleted).
10 |
11 |
12 |
13 | This can be used, for example, to make sure phone messages are acted on.
14 |
15 |
--------------------------------------------------------------------------------
/patches/patch-00187-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Add currencyTypeID fields to product
3 | ALTER TABLE product ADD buyCostCurrencyTypeID varchar(255) DEFAULT NULL AFTER buyCost;
4 | ALTER TABLE product ADD sellPriceCurrencyTypeID varchar(255) DEFAULT NULL AFTER sellPrice;
5 |
6 | -- and productSaleItem
7 | ALTER TABLE productSaleItem ADD buyCostCurrencyTypeID varchar(255) DEFAULT NULL AFTER buyCost;
8 | ALTER TABLE productSaleItem ADD sellPriceCurrencyTypeID varchar(255) DEFAULT NULL AFTER sellPrice;
9 |
10 |
--------------------------------------------------------------------------------
/patches/patch-00276-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | ALTER TABLE invoiceItem ADD productSaleID INTEGER DEFAULT NULL AFTER transactionID;
3 | ALTER TABLE invoiceItem ADD productSaleItemID INTEGER DEFAULT NULL AFTER productSaleID;
4 | ALTER TABLE invoiceItem ADD CONSTRAINT invoiceItem_productSaleID FOREIGN KEY (productSaleID) REFERENCES productSale (productSaleID);
5 | ALTER TABLE invoiceItem ADD CONSTRAINT invoiceItem_productSaleItemID FOREIGN KEY (productSaleItemID) REFERENCES productSaleItem (productSaleItemID);
6 |
7 |
8 |
--------------------------------------------------------------------------------
/sale/templates/productSaleItemTransactionViewR.tpl:
--------------------------------------------------------------------------------
1 | {include_template("templates/productSaleItemR2.tpl")}
2 |
3 |
3 |
4 | This filter will allow you to filter the Tasks that are graphed for a Project
5 | by Task Type and Task Status.
6 |
7 |
8 |
9 | Note, in some web browsers after you click the Filter button, you may have
10 | to do a hard refresh to avoid seeing the previously cached graph image. You
11 | can usually do this with an Ctrl-R, or Ctrl-Shift-R, or holding Control whilst
12 | hitting the Refresh button with your mouse.
13 |
--------------------------------------------------------------------------------
/help/task_estimates.html:
--------------------------------------------------------------------------------
1 | Task Estimates
2 |
3 |
4 | Best: The number of hours this task is expected to take in the best case.
5 |
6 |
7 | Most likely: The number of hours this task is expected to take in the most likely case.
8 |
9 |
10 | Worst: The number of hours this task is expected to take in the worst case.
11 |
12 |
13 |
14 | Note the Most likely figure is used in combination with the Actual Hours
15 | figure to calculate the percentage completed of the task.
16 |
--------------------------------------------------------------------------------
/patches/patch-00107-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add fromTfID to allow proper double-entry bookkeeping.
2 | ALTER TABLE transaction ADD fromTfID int(11) NOT NULL AFTER tfID;
3 |
4 | -- Ditto to transactionRepeat table
5 | ALTER TABLE transactionRepeat ADD fromTfID int(11) NOT NULL AFTER tfID;
6 |
7 | -- New config value to specify a default source Wages TF and source Invoices TF
8 | INSERT INTO config (name,value,type) VALUES ("wagesTfID","","text");
9 | INSERT INTO config (name,value,type) VALUES ("invoicesTfID","","text");
10 |
11 |
--------------------------------------------------------------------------------
/patches/patch-00145-alla.sql:
--------------------------------------------------------------------------------
1 | -- Fix up the timeSheetItem.multiplier field
2 | ALTER TABLE timeSheetItem CHANGE multiplier multiplier decimal(9,2) default 1.00 NOT NULL;
3 |
4 | -- new table for the referential integrity
5 | CREATE TABLE timeSheetItemMultiplier (
6 | timeSheetItemMultiplierID decimal(9,2) PRIMARY KEY,
7 | timeSheetItemMultiplierName varchar(255),
8 | timeSheetItemMultiplierSeq integer NOT NULL,
9 | timeSheetItemMultiplierActive boolean DEFAULT true
10 | )ENGINE=InnoDB PACK_KEYS=0;
11 |
12 |
13 |
--------------------------------------------------------------------------------
/patches/patch-00158-alla.php:
--------------------------------------------------------------------------------
1 | query($q);
9 | while ($db->row()) {
10 | $task = new task();
11 | $task->read_db_record($db);
12 | $task->update_search_index_doc($index);
13 | }
14 | $index->commit();
15 | ?>
16 |
--------------------------------------------------------------------------------
/patches/patch-00159-alla.php:
--------------------------------------------------------------------------------
1 | query($q);
9 | while ($db->row()) {
10 | $item = new item();
11 | $item->read_db_record($db);
12 | $item->update_search_index_doc($index);
13 | }
14 | $index->commit();
15 | ?>
16 |
--------------------------------------------------------------------------------
/patches/patch-00256-alla.sql:
--------------------------------------------------------------------------------
1 | insert into permission (tableName,entityID,roleName,actions,comment) values
2 | ("inbox",0,"manage",1+2+4+8,"Manager can change inbox emails.");
3 | insert into permission (tableName,entityID,roleName,actions,comment) values
4 | ("inbox",0,"admin",1+2+4+8,"Admin can change inbox emails.");
5 | insert into permission (tableName,entityID,roleName,actions,comment) values
6 | ("inbox",0,"god",1+2+4+8,"Super-user can change inbox emails.");
7 |
--------------------------------------------------------------------------------
/sale/templates/productListM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
4 |
5 |
Products
6 | - {print count($productListRows)} records
7 |
8 | New Product
9 | New Sale
10 |
11 |
3 |
4 | When generating a PDF version of a Time Sheet it may be desireable to have a
5 | customized footer. This footer could contain your organizations bank details
6 | etc. Basic html such as <br>, <b> and <u> are allowed
7 | and will be rendered as expected in the PDF document (br means new line, b
8 | means bold, u means underline. The b and u tags must encapsulate their content
9 | with an ending tag eg: </b>).
10 |
--------------------------------------------------------------------------------
/patches/patch-00012.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE sentEmailLog (
2 | sentEmailLogID int(11) NOT NULL auto_increment,
3 | sentEmailTo text NOT NULL,
4 | sentEmailSubject varchar(255),
5 | sentEmailBody text,
6 | sentEmailHeader varchar(255),
7 | sentEmailType enum('reminder','reminder_advnotice','task_created','task_closed','task_comments'),
8 | sentEmailLogModifiedTime timestamp(14) NOT NULL,
9 | sentEmailLogModifiedUser int(11) NOT NULL default '0',
10 | PRIMARY KEY (sentEmailLogID)
11 | ) TYPE=ISAM PACK_KEYS=1;
12 |
13 |
14 |
--------------------------------------------------------------------------------
/patches/patch-00069-alla.php:
--------------------------------------------------------------------------------
1 | to alla@cyber.com.dsa
5 | $email = config::get_config_item("AllocFromEmailAddress");
6 | $email = preg_replace("/^.*","",$email);
7 | $email = str_replace(">","",$email);
8 |
9 | $configID = config::get_config_item_id("AllocFromEmailAddress");
10 |
11 | $c = new config();
12 | $c->set_id($configID);
13 | $c->select();
14 | $c->set_value("value",$email);
15 | $c->save();
16 |
17 |
18 |
19 |
20 | ?>
21 |
--------------------------------------------------------------------------------
/patches/patch-00162-alla.php:
--------------------------------------------------------------------------------
1 | query($q);
9 | while ($db->row()) {
10 | $client = new client();
11 | $client->read_db_record($db);
12 | $client->update_search_index_doc($index);
13 | }
14 | $index->commit();
15 | ?>
16 |
--------------------------------------------------------------------------------
/sale/templates/saleListHomeM.tpl:
--------------------------------------------------------------------------------
1 | {if $saleListRows}
2 |
15 |
--------------------------------------------------------------------------------
/patches/patch-00016.sql:
--------------------------------------------------------------------------------
1 | -- Create new table patchLog to track database changes that have been applied to this database.
2 | -- CREATE TABLE patchLog (
3 | -- patchLogID int(11) NOT NULL auto_increment,
4 | -- patchName varchar(255) NOT NULL,
5 | -- patchDesc text,
6 | -- patchDate timestamp(14) NOT NULL,
7 | -- PRIMARY KEY (patchLogID)
8 | -- ) TYPE=ISAM PACK_KEYS=1;
9 |
10 | -- Insert a dummy record so that previous patches don't attempt to get applied.
11 | -- insert into patchLog values (1, "patch-16.sql","","2006-11-12 18:04:46");
12 |
13 |
--------------------------------------------------------------------------------
/patches/patch-00161-alla.php:
--------------------------------------------------------------------------------
1 | query($q);
9 | while ($db->row()) {
10 | $project = new project();
11 | $project->read_db_record($db);
12 | $project->update_search_index_doc($index);
13 | }
14 | $index->commit();
15 | ?>
16 |
--------------------------------------------------------------------------------
/patches/patch-00163-alla.php:
--------------------------------------------------------------------------------
1 | query($q);
9 | while ($db->row()) {
10 | $comment = new comment();
11 | $comment->read_db_record($db);
12 | $comment->update_search_index_doc($index);
13 | }
14 | $index->commit();
15 | ?>
16 |
--------------------------------------------------------------------------------
/patches/patch-00160-alla.php:
--------------------------------------------------------------------------------
1 | query($q);
9 | while ($db->row()) {
10 | $timeSheet = new timeSheet();
11 | $timeSheet->read_db_record($db);
12 | $timeSheet->update_search_index_doc($index);
13 | }
14 | $index->commit();
15 | ?>
16 |
--------------------------------------------------------------------------------
/patches/patch-00218-alla.php:
--------------------------------------------------------------------------------
1 | $email) {
9 |
10 | $q = prepare("UPDATE interestedParty SET fullName = '%s' WHERE emailAddress = '%s' AND (fullName is NULL or fullName = '')"
11 | ,db_esc($name),db_esc($email));
12 |
13 | $db2->query($q);
14 | }
15 |
16 | ?>
17 |
--------------------------------------------------------------------------------
/patches/patch-00223-alla.php:
--------------------------------------------------------------------------------
1 | query("SELECT * FROM audititem WHERE changeType != 'FieldChange' INTO OUTFILE '".ATTACHMENTS_DIR."tmp/auditItem_backup.csv'");
8 |
9 | $db->query("DELETE FROM auditItem WHERE changeType != 'FieldChange'");
10 |
11 | // This can happen much later
12 | //$db->query("DELETE FROM changeType WHERE changeTypeID != 'FieldChange'");
13 |
14 | ?>
15 |
--------------------------------------------------------------------------------
/help/comment.html:
--------------------------------------------------------------------------------
1 | Comments
2 |
3 |
4 | Click the "New" link in the top right hand corner and enter your comment
5 | below.
6 |
7 | To email the comment, select the recipients using the checkboxes before
8 | clicking Save Comment.
9 |
10 |
11 | Every comment added via this web interface maintains its own recipient
12 | list. So all *emailed* replies to this comment will get re-sent *only* to the
13 | people that you select as recipients now.
14 |
15 |
16 | The names highlighted in orange are external people, i.e. Client Contacts.
17 |
--------------------------------------------------------------------------------
/patches/patch-00185-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Add currency to invoice table
3 | ALTER TABLE invoice ADD currencyTypeID varchar(255) default NULL AFTER invoiceStatus;
4 |
5 | -- Add a constraint from invoice.currencyTypeID to currencyType.currencyTypeID
6 | ALTER TABLE invoice ADD CONSTRAINT invoice_currencyTypeID FOREIGN KEY (currencyTypeID) REFERENCES currencyType (currencyTypeID);
7 |
8 | -- Update the invoice.currencyTypeID field from its related project
9 | UPDATE invoice,project SET invoice.currencyTypeID = project.currencyTypeID WHERE invoice.projectID = project.projectID;
10 |
--------------------------------------------------------------------------------
/help/config_allocEmailKeyMethod.html:
--------------------------------------------------------------------------------
1 | allocPSA Mail Key Method
2 |
3 | If incoming emails are not being added as Task Comments for some reason, it
4 | could be because the people who are sending mail into the system are using
5 | email clients that don't adhere to a standardised email format. Switch this
6 | option over to "Email Subject" if you have a surplus of these users, and the
7 | key which identifies which Task to insert Comments into etc, will be stored
8 | simply on the subject line of emails, instead of embedded in the Message-ID
9 | header.
10 |
11 |
--------------------------------------------------------------------------------
/help/reminder_recipient.html:
--------------------------------------------------------------------------------
1 | Reminder Recipient
2 |
3 |
4 | Select the person who will recieve this reminder.
5 |
6 |
7 |
8 | Additional options for task, project and client reminders:
9 |
10 |
--all-- A reminder will be created for everyone
11 | interested in this task/project/client.
12 |
13 |
14 |
15 |
16 | For task reminders:
17 |
18 |
Task Manager Send the reminder to the task
19 | manager.
20 |
Task Assignee Send the reminder to the task
21 | assignee.
22 |
23 |
--------------------------------------------------------------------------------
/patches/patch-00182-jeremyc.php:
--------------------------------------------------------------------------------
1 | query("DELETE FROM config WHERE name = 'allocTimezone'");
8 |
9 | // Put a new entry in for timezone using the default for the server eg: Australia/Melbourne
10 | $query = prepare("INSERT INTO config (name, value, type) VALUES ('allocTimezone', '%s', 'text')", $timezone);
11 | $db->query($query);
12 |
13 | ?>
14 |
--------------------------------------------------------------------------------
/patches/patch-00251-alla.php:
--------------------------------------------------------------------------------
1 | query("INSERT INTO permission (tableName,entityID,roleName,actions,comment) values ('task',0,'','2','permit clients to re-open tasks, CYBER-ONLY.')");
7 | } else {
8 | $db = new db_alloc();
9 | // Else need to permit client all to read tasks
10 | $db->query("update permission set roleName = '' where tableName = 'task' and roleName = 'employee' and actions = 1;");
11 | }
12 |
13 | ?>
14 |
--------------------------------------------------------------------------------
/person/templates/personEmployeeFieldsS.tpl:
--------------------------------------------------------------------------------
1 |
20 | {page::footer()}
21 |
--------------------------------------------------------------------------------
/help/config_taskWindow.html:
--------------------------------------------------------------------------------
1 | Task Closed Window Num Days
2 |
3 | Time can be recorded against a task for this many days after a task has been closed.
4 |
5 | So for example, if this value is set to 21 - three weeks - then say a task is closed
6 | on the 5th of the month, the task assignee has until the 26st to record effort spent
7 | for that task on a time sheet. If they wait until the 27nd, the task will have to
8 | be re-opened first.
9 |
10 | This provides some accountability for the billing of old closed tasks. And should help
11 | improve expedient time sheeting of tasks.
12 |
--------------------------------------------------------------------------------
/help/task_reopen_task.html:
--------------------------------------------------------------------------------
1 | Automatically Reopen Task On This Date
2 |
3 | If you would like this task to automatically reopen on a particular date,
4 | then input the date here.
5 |
6 |
7 | A new reminder will be created for the date you specify. When that particular
8 | reminder fires, the task will change its status to Open: In Progress.
9 |
10 |
11 | If you wish to cancel this future event, then go into the reminder and
12 | deactivate or delete it.
13 |
14 |
15 | Note that this functionality is dependant on the reminders functionality being
16 | enabled.
17 |
18 |
--------------------------------------------------------------------------------
/project/templates/projectListM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
4 |
5 |
Projects
6 | - {print count($projectListRows)} records
7 |
8 | Show Filter
9 | New Project
10 |
11 |
5 |
6 | The number of hours entered here gives an indication of the maximum amount of
7 | hours that are to be time sheeted for this task.
8 |
9 |
10 |
11 | Should the amount of hours billed exceed this figure, a warning will appear on
12 | the related time sheet.
13 |
14 |
15 |
16 | When the task is first being created, the value entered for the Most
17 | Likely will be copied into this field.
18 |
19 |
20 |
21 | If there's still no value in the Effort Limited To, then the Default
22 | Task Limit field on the Task's Project, will be used.
23 |
--------------------------------------------------------------------------------
/patches/patch-00122-patrick.sql:
--------------------------------------------------------------------------------
1 |
2 | -- add config item for task blockers
3 | INSERT INTO config (name,value,type) VALUES ("taskBlockers", "a:4:{i:0;a:2:{s:5:\"label\";s:20:\"Available to work on\";s:4:\"icon\";s:18:\"icon_orb_green.png\";}i:1;a:2:{s:5:\"label\";s:20:\"Waiting for customer\";s:4:\"icon\";s:16:\"icon_orb_red.png\";}i:2;a:2:{s:5:\"label\";s:23:\"Waiting for information\";s:4:\"icon\";s:16:\"icon_orb_red.png\";}i:3;a:2:{s:5:\"label\";s:16:\"Awaiting manager\";s:4:\"icon\";s:19:\"icon_orb_yellow.png\";}}","array");
4 |
5 | -- add a new task field for the current task blockage status
6 | ALTER TABLE task ADD blocker TINYINT NOT NULL DEFAULT 0;
7 |
--------------------------------------------------------------------------------
/finance/templates/wagesUploadM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
4 |
5 |
Wages Upload
6 |
7 |
8 |
9 |
14 |
15 |
16 |
17 |
{$msg}
18 |
19 |
20 | {page::footer()}
21 |
--------------------------------------------------------------------------------
/patches/patch-00234-alla.sql:
--------------------------------------------------------------------------------
1 | -- Created by fields for timeSheetItem
2 | ALTER TABLE timeSheetItem ADD timeSheetItemCreatedTime datetime default NULL;
3 | ALTER TABLE timeSheetItem ADD timeSheetItemCreatedUser integer default NULL AFTER timeSheetItemCreatedTime;
4 | ALTER TABLE timeSheetItem ADD timeSheetItemModifiedTime datetime DEFAULT NULL AFTER timeSheetItemCreatedUser;
5 | ALTER TABLE timeSheetItem ADD timeSheetItemModifiedUser integer DEFAULT NULL AFTER timeSheetItemModifiedTime;
6 |
7 | -- Update fields
8 | UPDATE timeSheetItem SET timeSheetItemCreatedTime = dateTimeSheetItem;
9 | UPDATE timeSheetItem SET timeSheetItemCreatedUser = personID;
10 |
--------------------------------------------------------------------------------
/time/templates/weeklyTimeM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
11 |
--------------------------------------------------------------------------------
/patches/patch-00132-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Move personID to the top of the person table.
3 | alter table person change personID personID int(11) NOT NULL AFTER username;
4 |
5 | -- This also changes the default value of username from '' to NULL
6 | alter table person change username username varchar(32) NOT NULL AFTER personID;
7 |
8 | -- fix up key for autitItem table
9 | alter table auditItem change auditItemID auditItemID int(11) NOT NULL;
10 |
11 | -- change a couple of unsigned int(10) to regular int(11), for consistency
12 | alter table auditItem change entityID entityID int(11) NOT NULL;
13 | alter table auditItem change personID personID int(11) NOT NULL;
14 |
15 |
--------------------------------------------------------------------------------
/person/templates/personListM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
3 |
4 | This is the default currency as used in alloc. To modify the list that appears
5 | in the dropdown you may want to go to Setup - Miscellaneous - Currency
6 | Types and make certain currencies active or inactive.
7 |
8 |
9 |
10 | If you are updating from a previous version of alloc that did not have support
11 | for currencies, you may want to select your preferred currency from the
12 | dropdown and click the "Update Transactions That Have No Currency" button.
13 |
14 |
15 | Th old-style monetary transactions (that don't have a currency at all), will then be
16 | stored as the selected currency.
17 |
18 |
--------------------------------------------------------------------------------
/help/config_exchangeRates.html:
--------------------------------------------------------------------------------
1 |
2 | Update Exchange Rates
3 |
4 |
5 | Please ensure that you have set up and activated the currencies that you intend to use on the
6 | Setup -> Miscellaneous -> Currency Types -> Edit screen.
7 |
8 |
9 | When you are satisfied that you have only activated the currencies
10 | that you want to use, you can click this button which will download
11 | today's exchange rates.
12 |
13 |
14 | You may see some errors if you've already downloaded the rates for
15 | today. Once the rate has been downloaded for a particular source
16 | currency to destination currency for a particular date, it cannot be
17 | downloaded again.
18 |
--------------------------------------------------------------------------------
/help/which_tf_to_credit.html:
--------------------------------------------------------------------------------
1 | Which TF to Credit
2 |
3 |
4 | The Tagged Fund name which is shown will be the one which the money from this
5 | Time Sheet will be deposited into. If that is the incorrect TF account, or there is no TF shown
6 | then go to your user account settings page and select your 'Preferred Payment TF'.
7 |
8 |
9 | If there are no entries in the Preferred Payment TF dropdown box on your
10 | person page, then you will need to be added as an owner of a particular TF. Go
11 | to tools and either add a new TF, or view an existing one. At the bottom of the
12 | TF editing page you will be able to add yourself as an owner of that TF.
13 |
14 |
15 |
--------------------------------------------------------------------------------
/patches/patch-00169-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- Fix up the case of the project statuses
3 | UPDATE projectStatus SET projectStatusID = 'Current' WHERE projectStatusID = 'current';
4 | UPDATE projectStatus SET projectStatusID = 'Archived' WHERE projectStatusID = 'archived';
5 | UPDATE projectStatus SET projectStatusID = 'Potential' WHERE projectStatusID = 'potential';
6 |
7 | -- Just in case the database cascade doesn't work, update the project records
8 | UPDATE project SET projectStatus = 'Current' WHERE projectStatus = 'current';
9 | UPDATE project SET projectStatus = 'Archived' WHERE projectStatus = 'archived';
10 | UPDATE project SET projectStatus = 'Potential' WHERE projectStatus = 'potential';
11 |
--------------------------------------------------------------------------------
/project/templates/projectTransactionS.tpl:
--------------------------------------------------------------------------------
1 |
GNOME Planner Imports a GNOME Planner file. Planner "Resource" names must match the usernames of people in the alloc database.
6 |
CSV Imports a list of tasks in comma-separated variable format. You will be given the opportunity to select what data corresponds to each field on the next screen. You may also use a header line including any of the fields "name", "description", "assignee", "manager", "limit", "timeBest", "timeWorst", "timeExpected", "startDate", "completionDate" and "interestedParties". Interested parties may be email addresses or user IDs.
7 |
8 |
--------------------------------------------------------------------------------
/patches/patch-00071-alla.sql:
--------------------------------------------------------------------------------
1 | -- Add CreatedTime and CreatedUser fields to transaction and transactionRepeat
2 | ALTER TABLE transaction CHANGE dateEntered transactionCreatedTime datetime DEFAULT NULL;
3 | ALTER TABLE transaction ADD transactionCreatedUser int(11) DEFAULT NULL AFTER quantity;
4 | UPDATE transaction SET transactionCreatedUser = transactionModifiedUser;
5 |
6 | ALTER TABLE transactionRepeat CHANGE dateEntered transactionRepeatCreatedTime datetime DEFAULT NULL;
7 | ALTER TABLE transactionRepeat ADD transactionRepeatCreatedUser int(11) DEFAULT NULL AFTER transactionRepeatModifiedTime;
8 | UPDATE transactionRepeat SET transactionRepeatCreatedUser = transactionRepeatModifiedUser;
9 |
10 |
--------------------------------------------------------------------------------
/patches/patch-00103-patrick.sql:
--------------------------------------------------------------------------------
1 |
2 | -- create the savedView table for saved list filters
3 | CREATE TABLE `savedView` (
4 | `savedViewID` int(10) unsigned NOT NULL auto_increment,
5 | `personID` int(10) unsigned NOT NULL,
6 | `formName` varchar(32) NOT NULL,
7 | `viewName` varchar(255) NOT NULL,
8 | `formView` text,
9 | PRIMARY KEY (`savedViewID`)
10 | ) TYPE=MyISAM PACK_KEYS=0;
11 |
12 |
13 | -- add permissions to allow all users to save list filters
14 | INSERT INTO `permission` (`tableName`, `entityID`, `personID`, `roleName`, `allow`, `sortKey`, `comment`, `actions`) VALUES ('savedView', 0, 0, '', 'Y', 100, 'Allow people to view, save, edit and delete list filters.', 15);
15 |
--------------------------------------------------------------------------------
/patches/patch-00178-alla.sql:
--------------------------------------------------------------------------------
1 |
2 | -- create a back up field
3 | ALTER TABLE comment ADD commentEmailUIDORIG VARCHAR(255) DEFAULT NULL;
4 |
5 | -- back up data
6 | UPDATE comment SET commentEmailUIDORIG = commentEmailUID;
7 |
8 | -- wipe field clean, so the unique constraint can be added
9 | UPDATE comment SET commentEmailUID = null;
10 |
11 | -- need to ensure commentEmailUID is unique
12 | CREATE UNIQUE INDEX commentEmailUID ON comment (commentEmailUID);
13 |
14 | -- create a new field to track the email id
15 | ALTER TABLE comment ADD commentEmailMessageID TEXT DEFAULT NULL AFTER commentEmailUID;
16 |
17 | -- backup the comment table
18 | CREATE TABLE commentbackup SELECT * FROM comment;
19 |
--------------------------------------------------------------------------------
/reminder/templates/reminderListM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
3 |
4 | The Sell Price is the amount that you are selling the Product for.
5 | When this product is involved in a Sale, a transaction will be created that
6 | moves the amount of the Sell Price from the Incoming TF to the Main Finance TF*.
7 |
8 |
9 |
10 | If the Sell Price is tax inclusive, then during a Product Sale
11 | there will be additional line items for the tax, and the resulting margin will
12 | be lessened.
13 |
14 |
15 |
16 | * Main Finance TF, if a Project is selected for the Product Sale, then the Sale
17 | will use the Projects TF, and if that's not set, then fall back to the Main
18 | Finance TF.
19 |
--------------------------------------------------------------------------------
/invoice/templates/invoiceListM.tpl:
--------------------------------------------------------------------------------
1 | {page::header()}
2 | {page::toolbar()}
3 |
4 |
5 |
Invoices
6 | - {print count($invoiceListRows)} records
7 |
8 | Show Filter
9 | {if $current_user->have_role("admin")}
10 | New Invoice
11 | {/}
12 |
13 |
3 | The subject lines allocPSA uses on the emails it sends out. These use the
4 | comment template substitution method, allowing the following substitutions:
5 |
6 | %cu = Current User
7 |
8 | %cd = Company Contact Details (c1,c2,c3,cp,cf,ce,cw)
9 | %cn = Company Name
10 | %c1 = Company Address (line 1)
11 | %c2 = Company Address (line 2)
12 | %c3 = Company Address (line 3)
13 | %ce = Company Email
14 | %cp = Company Phone No
15 | %cf = Company Fax No
16 | %cw = Company Home Page
17 |
18 | Additional substitutions are available for task, time sheet and reminder subject lines.
19 |
--------------------------------------------------------------------------------
/help/product_fixedCost.html:
--------------------------------------------------------------------------------
1 | Product Costs
2 |
3 |
4 | Enter any costs associated with the product. For example, the cost of
5 | acquiring the product, the postage and handling, and fixed commissions
6 | etc.
7 |
8 |
9 |
10 | The Sell Price minus the sum of all the fixed Product Costs, will be the
11 | margin/profit from the sale.
12 |
13 |
14 |
15 | For example: If the Sell Price is $100 and you have two product costs:
16 | $60 to acquire the item, and $10 postage. Then the margin/profit will be $30.
17 |
18 |
19 |
20 | The margin/profit will be later distributed based on the Product
21 | Commissions percentages that you set up below.
22 |
23 |