├── util ├── alloc_version └── fonts │ └── Vera.ttf ├── comment └── templates │ ├── commentP.tpl │ ├── commentTemplateListR.tpl │ └── commentTemplateListM.tpl ├── home └── templates │ ├── homeItemRowBreakS.tpl │ ├── homePrintableM.tpl │ ├── tfListR.tpl │ └── homeItemS.tpl ├── task └── templates │ ├── taskMessageListH.tpl │ ├── taskListH.tpl │ ├── taskChildrenM.tpl │ └── taskHistoryM.tpl ├── wiki └── templates │ ├── fileM.tpl │ ├── wikiListS.tpl │ └── newDirectoryM.tpl ├── favicon.ico ├── patches ├── patch-00211-alla.sql ├── patch-00006.sh ├── patch-00128-alla.sql ├── patch-00018.sql ├── patch-00232-alla.sql ├── patch-00011.sql ├── patch-00226-alla.sql ├── patch-00291-alla.sql ├── patch-00096-alla.sql ├── patch-00098-alla.sql ├── patch-00125-alla.sql ├── patch-00195-alla.sql ├── patch-00233-alla.sql ├── patch-00262-alla.sql ├── patch-00275-alla.sql ├── patch-00295-alla.sql ├── patch-00027.sql ├── patch-00273-alla.sql ├── patch-00019.sql ├── patch-00227-alla.sql ├── patch-00026.sql ├── patch-00281-alla.sql ├── patch-00014.sql ├── patch-00060-alla.sql ├── patch-00250-alla.sql ├── patch-00089-patrick.sql ├── patch-00225-alla.sql ├── patch-00010.sql ├── patch-00042.sql ├── patch-00076-jeremyc.sql ├── patch-00077-jeremyc.sql ├── patch-00079-jeremyc.sql ├── patch-00080-alla.php ├── patch-00123-alla.sql ├── patch-00197-jeremyc.sql ├── patch-00284-alla.sql ├── patch-00043.sql ├── patch-00044.sql ├── patch-00148-alla.sql ├── patch-00153-alla.sql ├── patch-00155-alla.sql ├── patch-00193-alla.sql ├── patch-00236-alla.sql ├── patch-00278-alla.sql ├── patch-00040.sql ├── patch-00041.sql ├── patch-00073-alla.sql ├── patch-00078-jeremyc.sql ├── patch-00111-alla.sql ├── patch-00165-alla.sql ├── patch-00183-alla.sql ├── patch-00237-alla.sql ├── patch-00001.sql ├── patch-00036.sql ├── patch-00070-alla.sql ├── patch-00231-alla.sql ├── patch-00024.sql ├── patch-00028.sql ├── patch-00075-jeremyc.sql ├── patch-00114-alla.sql ├── patch-00216-alla.sql ├── patch-00177-alla.sql ├── patch-00203-alla.sql ├── patch-00235-alla.sql ├── patch-00005.sql ├── patch-00007.sql ├── patch-00021.sql ├── patch-00055-alla.sql ├── patch-00072-alla.sql ├── patch-00087-alla.sql ├── patch-00109-alla.sql ├── patch-00110-alla.sql ├── patch-00117-alla.sql ├── patch-00122-alla.sql ├── patch-00214-alla.sql ├── patch-00248-alla.sql ├── patch-00025.sql ├── patch-00086-alla.sql ├── patch-00091-patrick.sql ├── patch-00170-alla.sql ├── patch-00201-alla.sql ├── patch-00204-alla.sql ├── patch-00252-jeremyc.sql ├── patch-00022.sql ├── patch-00152-alla.sql ├── patch-00167-jeremyc.sql ├── patch-00174-jeremyc.sql ├── patch-00269-alla.sql ├── patch-00032.sql ├── patch-00106-alla.sql ├── patch-00130-patrick.sql ├── patch-00198-alla.sql ├── patch-00199-alla.sql ├── patch-00203-jeremyc.php ├── patch-00020.sql ├── patch-00058-alla.sql ├── patch-00091-alla.sql ├── patch-00151-alla.sql ├── patch-00200-alla.sql ├── patch-00205-jeremyc.sql ├── patch-00047.sql ├── patch-00126-alla.sql ├── patch-00127-alla.sql ├── patch-00215-alla.sql ├── patch-00220-alla.sql ├── patch-00279-alla.sql ├── patch-00296-alla.sql ├── patch-00013.sql ├── patch-00023.sql ├── patch-00057-alla.sql ├── patch-00222-alla.sql ├── patch-00245-jeremyc.sql ├── patch-00260-alla.sql ├── patch-00272-alla.sql ├── patch-00084-alla.sql ├── patch-00207-alla.sql ├── patch-00230-alla.sql ├── patch-00241-alla.sql ├── patch-00294-alla.sql ├── patch-00089-alla.sql ├── patch-00131-alla.sql ├── patch-00213-alla.sql ├── patch-00288-alla.sql ├── patch-00015.sql ├── patch-00112-alla.sql ├── patch-00002.sql ├── patch-00054-alla.sql ├── patch-00124-alla.sql ├── patch-00287-alla.sql ├── patch-00108-alla.sql ├── patch-00175-alla.sql ├── patch-00228-alla.sql ├── patch-00124-patrick.sql ├── patch-00268-alla.sql ├── patch-00104-patrick.sql ├── patch-00208-alla.sql ├── patch-00050.sql ├── patch-00003.sql ├── patch-00085-alla.sql ├── patch-00286-alla.sql ├── patch-00206-jeremyc.sql ├── patch-00277-alla.sql ├── patch-00263-alla.sql ├── patch-00030.sql ├── patch-00259-alla.sql ├── patch-00192-alla.sql ├── patch-00265-alla.sql ├── patch-00017.sql ├── patch-00094-alla.sql ├── patch-00221-alla.sql ├── patch-00261-alla.sql ├── patch-00285-alla.sql ├── patch-00045.sql ├── patch-00105-alla.sql ├── patch-00194-alla.sql ├── patch-00092-alla.sql ├── patch-00240-alla.php ├── patch-00266-alla.sql ├── patch-00035.sql ├── patch-00147-alla.sql ├── patch-00056-alla.php ├── patch-00115-alla.sql ├── patch-00133-alla.sql ├── patch-00171-alla.sql ├── patch-00229-alla.sql ├── patch-00051-jeremyc.sql ├── patch-00059-alla.sql ├── patch-00116-alla.sql ├── patch-00191-alla.sql ├── patch-00095-alla.sql ├── patch-00271-alla.sql ├── patch-00212-alla.sql ├── patch-00052-alla.sql ├── patch-00257-alla.php ├── patch-00081-alla.sql ├── patch-00282-alla.php ├── patch-00004.sql ├── patch-00118-alla.sql ├── patch-00031.sql ├── patch-00253-alla.sql ├── patch-00008.sql ├── patch-00246-alla.sql ├── patch-00209-alla.sql ├── patch-00097-alla.php ├── patch-00083-alla.sql ├── patch-00172-alla.sql ├── patch-00029.sql ├── patch-00184-alla.sql ├── patch-00067-alla.php ├── patch-00149-alla.sql ├── patch-00082-alla.sql ├── patch-00217-alla.sql ├── patch-00187-alla.sql ├── patch-00276-alla.sql ├── patch-00100-alla.php ├── patch-00107-alla.sql ├── patch-00145-alla.sql ├── patch-00158-alla.php ├── patch-00159-alla.php ├── patch-00256-alla.sql ├── patch-00012.sql ├── patch-00069-alla.php ├── patch-00162-alla.php ├── patch-00016.sql ├── patch-00161-alla.php ├── patch-00163-alla.php ├── patch-00160-alla.php ├── patch-00218-alla.php ├── patch-00223-alla.php ├── patch-00185-alla.sql ├── patch-00182-jeremyc.php ├── patch-00251-alla.php ├── patch-00052-jeremyc.php ├── patch-00101-alla.sql ├── patch-00182-alla.sql ├── patch-00267-alla.sql ├── patch-00039.sql ├── patch-00190-alla.php ├── patch-00122-patrick.sql ├── patch-00234-alla.sql ├── patch-00132-alla.sql ├── patch-00088-patrick.sql ├── patch-00150-alla.sql ├── patch-00167-alla.sql ├── patch-00169-alla.sql ├── patch-00071-alla.sql ├── patch-00103-patrick.sql ├── patch-00178-alla.sql ├── patch-00124-alla.php ├── patch-00238-alla.sql ├── patch-00065-alla.php ├── patch-00134-alla.php ├── patch-00154-dinis.php ├── patch-00049.php ├── patch-00157-alla.php ├── patch-00062-alla.php ├── patch-00093-alla.php ├── patch-00146-alla.php ├── patch-00090-alla.sql ├── patch-00033.sql └── patch-00164-alla.php ├── calendar └── templates │ ├── taskCalendarS.tpl │ └── taskCalendarM.tpl ├── images ├── cal.png ├── cal.xcf ├── help.gif ├── task.gif ├── tick.gif ├── alloc.png ├── cross.gif ├── cyber.png ├── mip │ ├── h1.png │ ├── h2.png │ ├── h3.png │ ├── h4.png │ ├── h5.png │ ├── h6.png │ ├── bold.png │ ├── code.png │ ├── link.png │ ├── menu.png │ ├── italic.png │ ├── picture.png │ ├── preview.png │ ├── quotes.png │ ├── submenu.png │ ├── list-bullet.png │ └── list-numeric.png ├── pixel.gif ├── absence.gif ├── alloc_med.png ├── bg_lava.jpg ├── bg_leaf.jpg ├── bg_nacho.jpg ├── bg_rams.png ├── bg_tweak.jpg ├── cal2008.png ├── cal2009.png ├── cal2010.png ├── cal2011.png ├── cal2012.png ├── cal2013.png ├── cal2014.png ├── cal2015.png ├── grippie.png ├── pdf_icon.png ├── printer.png ├── reminder.gif ├── roundbg.png ├── selectn.gif ├── spinner.gif ├── ticker2.gif ├── alloc_small.png ├── alloc_tiny.png ├── bg_default.jpg ├── icon_vcard.png ├── sourceforge.png ├── alloc_com_tiny.png ├── download_email.gif ├── fileicons │ ├── code.png │ ├── css.png │ ├── db.png │ ├── doc.gif │ ├── doc.png │ ├── file.png │ ├── film.png │ ├── html.png │ ├── java.png │ ├── pdf.gif │ ├── pdf.png │ ├── php.png │ ├── ppt.png │ ├── psd.png │ ├── ruby.png │ ├── txt.png │ ├── xls.gif │ ├── xls.png │ ├── zip.gif │ ├── zip.png │ ├── email.png │ ├── flash.png │ ├── linux.png │ ├── music.png │ ├── script.png │ ├── directory.gif │ ├── directory.png │ ├── picture.png │ ├── spinner.gif │ ├── unknown.gif │ ├── application.png │ └── folder_open.png ├── skill_advanced.png ├── skill_junior.png ├── skill_novice.png ├── skill_senior.png ├── tab_selected.gif ├── tab_unselected.gif ├── taskType_fault.gif ├── taskType_task.gif ├── wallpaper_lava.jpg ├── wallpaper_leaf.jpg ├── alloc-screenshot.png ├── icon_vcard_faded.png ├── invoice_pending.png ├── invoice_rejected.png ├── taskType_message.gif ├── taskType_parent.gif ├── wallpaper_nacho.jpg ├── wallpaper_tweak.jpg ├── invoice_fully_paid.png ├── invoice_over_paid.png ├── invoice_partly_paid.png ├── skill_intermediate.png ├── tab_unselected_rams.gif ├── taskType_milestone.gif └── wallpaper_default.jpg ├── tools └── templates │ ├── menuR.tpl │ ├── sourceCodeListM.tpl │ ├── sourceCodeView.tpl │ ├── statsR.tpl │ ├── whatsnewM.tpl │ └── menuM.tpl ├── doc ├── images │ ├── login.png │ ├── task.png │ ├── client.png │ ├── client2.png │ ├── project.png │ ├── tf_new.png │ ├── calendar.png │ ├── icon_alloc.png │ ├── statement.png │ ├── task_list.png │ ├── timeSheet.png │ ├── top_tasks.png │ ├── client_list.png │ ├── forgot_pass.png │ ├── invoice_new.png │ ├── new_reminder.png │ ├── project_list.png │ ├── skill_matrix.png │ ├── task_detail.png │ ├── transaction.png │ ├── client_comment.png │ ├── client_contact.png │ ├── client_upload.png │ ├── invoiceItem_new.png │ ├── project_people.png │ ├── timeSheet_items.png │ ├── timeSheet_new.png │ └── allocPSA_server_appliance.png └── documentation.tss ├── finance ├── templates │ ├── tfPersonListViewR.tpl │ ├── wagesUploadResultsM.tpl │ ├── checkRepeatM.tpl │ ├── transactionRepeatListR.tpl │ ├── pendingTransactionListR.tpl │ ├── tfPersonListR.tpl │ ├── expenseFormPrintableR.tpl │ ├── pendingAdminExpenseFormM.tpl │ ├── expenseUploadM.tpl │ ├── wagesUploadM.tpl │ └── transactionRepeatListM.tpl └── wagesUpload.php ├── announcement └── templates │ ├── announcementsH.tpl │ ├── announcementListHomeR.tpl │ ├── announcementListR.tpl │ └── announcementListM.tpl ├── project └── templates │ ├── projectPersonListViewR.tpl │ ├── modificationListR.tpl │ ├── projectPersonSummaryViewR.tpl │ ├── projectGraphR.tpl │ ├── projectPersonSummaryViewS.tpl │ ├── personGraphR.tpl │ ├── personGraphM.tpl │ ├── projectGraphM.tpl │ ├── projectTaskS.tpl │ ├── projectListH.tpl │ ├── project_transactionItemR.tpl │ ├── projectHistoryM.tpl │ ├── projectTimeSheetS.tpl │ ├── projectListM.tpl │ └── projectTransactionS.tpl ├── css ├── font │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ └── fontawesome-webfont.woff └── README ├── help ├── from_transaction_tf.html ├── config_taxTfID.html ├── transaction_product.html ├── transaction_tf.html ├── transaction_amount.html ├── config_AllocFromEmailAddress.html ├── task_duplicate.html ├── config_taxName.html ├── invoice_transaction.html ├── config_allocTabs.html ├── config_rssFeed.html ├── config_timeSheetPrint.html ├── config_calendarFirstDay.html ├── config_clientSubjectLine.html ├── product.html ├── config_allocEmailAdmin.html ├── config_misc_setup.html ├── config_allocEmailHost.html ├── config_allocSessionMinutes.html ├── config_companyInfo.html ├── config_timeSheetSubjectLine.html ├── timeSheetGraph_filter.html ├── config_allocEmailPort.html ├── project_interested_parties.html ├── config_rssStatusFilter.html ├── config_projectSubjectLine.html ├── config_allocURL.html ├── config_timeSheetEdit.html ├── config_inTfID.html ├── config_timeSheetAdminEmail.html ├── config_allocEmailExtra.html ├── config_mapURL.html ├── engineer_amount.html ├── clientListFilter.html ├── templates │ └── getHelpM.tpl ├── config_hoursInDay.html ├── config_sqlDebug.html ├── product_percentageCost.html ├── taskList_filter.html ├── expenseForm_seek_reimbursement.html ├── client_billing.html ├── config_expenseFormTfID.html ├── config_outTfID.html ├── config_rssEntries.html ├── config_taskPriorityScale.html ├── task_pending_tasks.html ├── config_taxPercent.html ├── transaction_status.html ├── config_taskSubjectLine.html ├── config_companyLogo.html ├── project_cost_centre_tf.html ├── config_mainTfID.html ├── timesheet_commission.html ├── config_taskPrioritySpread.html ├── config_timeSheetManagerEmail.html ├── task_create_reminder.html ├── projectSummary_filter.html ├── task_estimates.html ├── config_timeSheetPrintFooter.html ├── comment.html ├── config_allocEmailKeyMethod.html ├── reminder_recipient.html ├── config_taskWindow.html ├── task_reopen_task.html ├── task_timeLimit.html ├── config_currency.html ├── config_exchangeRates.html ├── which_tf_to_credit.html ├── projectImport_types.html ├── productSale.html ├── config_allocEmailSubject.html └── product_fixedCost.html ├── javascript └── 05_jquery.jqplot.min.js ├── item └── templates │ ├── loanAndReturnR.tpl │ └── itemLoanR.tpl ├── time └── templates │ ├── pendingApprovalTimeSheetHomeR.tpl │ ├── weeklyTimeItemR.tpl │ ├── timeSheetItemM.tpl │ ├── pendingApprovalTimeSheetHomeM.tpl │ ├── pendingAdminApprovalTimeSheetHomeM.tpl │ ├── weeklyTimeDayR.tpl │ ├── weeklyTimeM.tpl │ ├── timeSheetListM.tpl │ └── timeSheetTransactionListViewR.tpl ├── person └── templates │ ├── personManagementFieldsS.tpl │ ├── personAbsenceR.tpl │ ├── personEmployeeFieldsS.tpl │ ├── personListR.tpl │ ├── personListM.tpl │ └── personSkillFilterS.tpl ├── shared ├── lib │ └── db_alloc.inc.php └── templates │ └── tabR.tpl ├── .gitignore ├── installation └── make_postgres_struct.sh ├── start.sh ├── security └── templates │ └── permissionListR.tpl ├── .codeclimate.yml ├── invoice └── templates │ ├── invoiceTransactionViewR.tpl │ └── invoiceListM.tpl ├── .esformatter ├── sale └── templates │ ├── productSaleListR.tpl │ ├── transactionViewR.tpl │ ├── productSaleItemTransactionViewR.tpl │ ├── productListM.tpl │ ├── saleListHomeM.tpl │ ├── productCommissionR.tpl │ ├── productListS.tpl │ └── productSaleListM.tpl ├── client └── templates │ └── clientListM.tpl └── reminder └── templates ├── reminderListM.tpl └── reminderSelectParentTypeM.tpl /util/alloc_version: -------------------------------------------------------------------------------- 1 | 1.8.9 2 | -------------------------------------------------------------------------------- /comment/templates/commentP.tpl: -------------------------------------------------------------------------------- 1 | {$commentsR} 2 | -------------------------------------------------------------------------------- /home/templates/homeItemRowBreakS.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /task/templates/taskMessageListH.tpl: -------------------------------------------------------------------------------- 1 | {$task->show_tasks()} 2 | -------------------------------------------------------------------------------- /task/templates/taskListH.tpl: -------------------------------------------------------------------------------- 1 | {task::get_list_html($taskListRows,$_FORM)} 2 | -------------------------------------------------------------------------------- /wiki/templates/fileM.tpl: -------------------------------------------------------------------------------- 1 | {include_template("templates/fileEditS.tpl")} 2 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/favicon.ico -------------------------------------------------------------------------------- /patches/patch-00211-alla.sql: -------------------------------------------------------------------------------- 1 | DELETE FROM permission WHERE roleName = "client"; 2 | -------------------------------------------------------------------------------- /calendar/templates/taskCalendarS.tpl: -------------------------------------------------------------------------------- 1 | {$calendar->show_task_calendar_recursive()} 2 | -------------------------------------------------------------------------------- /images/cal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cal.png -------------------------------------------------------------------------------- /images/cal.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cal.xcf -------------------------------------------------------------------------------- /images/help.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/help.gif -------------------------------------------------------------------------------- /images/task.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/task.gif -------------------------------------------------------------------------------- /images/tick.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/tick.gif -------------------------------------------------------------------------------- /patches/patch-00006.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "hey patch-6.sh is running!!" 4 | 5 | -------------------------------------------------------------------------------- /patches/patch-00128-alla.sql: -------------------------------------------------------------------------------- 1 | -- Nuke savedView 2 | DROP TABLE IF EXISTS savedView; 3 | -------------------------------------------------------------------------------- /tools/templates/menuR.tpl: -------------------------------------------------------------------------------- 1 | {$text}{$br} 2 | -------------------------------------------------------------------------------- /images/alloc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/alloc.png -------------------------------------------------------------------------------- /images/cross.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cross.gif -------------------------------------------------------------------------------- /images/cyber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cyber.png -------------------------------------------------------------------------------- /images/mip/h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/h1.png -------------------------------------------------------------------------------- /images/mip/h2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/h2.png -------------------------------------------------------------------------------- /images/mip/h3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/h3.png -------------------------------------------------------------------------------- /images/mip/h4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/h4.png -------------------------------------------------------------------------------- /images/mip/h5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/h5.png -------------------------------------------------------------------------------- /images/mip/h6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/h6.png -------------------------------------------------------------------------------- /images/pixel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/pixel.gif -------------------------------------------------------------------------------- /doc/images/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/login.png -------------------------------------------------------------------------------- /doc/images/task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/task.png -------------------------------------------------------------------------------- /images/absence.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/absence.gif -------------------------------------------------------------------------------- /images/alloc_med.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/alloc_med.png -------------------------------------------------------------------------------- /images/bg_lava.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/bg_lava.jpg -------------------------------------------------------------------------------- /images/bg_leaf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/bg_leaf.jpg -------------------------------------------------------------------------------- /images/bg_nacho.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/bg_nacho.jpg -------------------------------------------------------------------------------- /images/bg_rams.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/bg_rams.png -------------------------------------------------------------------------------- /images/bg_tweak.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/bg_tweak.jpg -------------------------------------------------------------------------------- /images/cal2008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cal2008.png -------------------------------------------------------------------------------- /images/cal2009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cal2009.png -------------------------------------------------------------------------------- /images/cal2010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cal2010.png -------------------------------------------------------------------------------- /images/cal2011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cal2011.png -------------------------------------------------------------------------------- /images/cal2012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cal2012.png -------------------------------------------------------------------------------- /images/cal2013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cal2013.png -------------------------------------------------------------------------------- /images/cal2014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cal2014.png -------------------------------------------------------------------------------- /images/cal2015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/cal2015.png -------------------------------------------------------------------------------- /images/grippie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/grippie.png -------------------------------------------------------------------------------- /images/mip/bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/bold.png -------------------------------------------------------------------------------- /images/mip/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/code.png -------------------------------------------------------------------------------- /images/mip/link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/link.png -------------------------------------------------------------------------------- /images/mip/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/menu.png -------------------------------------------------------------------------------- /images/pdf_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/pdf_icon.png -------------------------------------------------------------------------------- /images/printer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/printer.png -------------------------------------------------------------------------------- /images/reminder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/reminder.gif -------------------------------------------------------------------------------- /images/roundbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/roundbg.png -------------------------------------------------------------------------------- /images/selectn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/selectn.gif -------------------------------------------------------------------------------- /images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/spinner.gif -------------------------------------------------------------------------------- /images/ticker2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/ticker2.gif -------------------------------------------------------------------------------- /patches/patch-00018.sql: -------------------------------------------------------------------------------- 1 | -- Remove the tf.tfBalance column 2 | alter table tf drop tfBalance; 3 | -------------------------------------------------------------------------------- /patches/patch-00232-alla.sql: -------------------------------------------------------------------------------- 1 | -- Remove unused field 2 | ALTER TABLE task DROP taskComments; 3 | -------------------------------------------------------------------------------- /util/fonts/Vera.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/util/fonts/Vera.ttf -------------------------------------------------------------------------------- /doc/documentation.tss: -------------------------------------------------------------------------------- 1 | \setlength{\parindent}{0pt} 2 | \setlength{\parskip}{6pt plus 2pt minus 1pt} 3 | -------------------------------------------------------------------------------- /doc/images/client.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/client.png -------------------------------------------------------------------------------- /doc/images/client2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/client2.png -------------------------------------------------------------------------------- /doc/images/project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/project.png -------------------------------------------------------------------------------- /doc/images/tf_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/tf_new.png -------------------------------------------------------------------------------- /images/alloc_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/alloc_small.png -------------------------------------------------------------------------------- /images/alloc_tiny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/alloc_tiny.png -------------------------------------------------------------------------------- /images/bg_default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/bg_default.jpg -------------------------------------------------------------------------------- /images/icon_vcard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/icon_vcard.png -------------------------------------------------------------------------------- /images/mip/italic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/italic.png -------------------------------------------------------------------------------- /images/mip/picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/picture.png -------------------------------------------------------------------------------- /images/mip/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/preview.png -------------------------------------------------------------------------------- /images/mip/quotes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/quotes.png -------------------------------------------------------------------------------- /images/mip/submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/submenu.png -------------------------------------------------------------------------------- /images/sourceforge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/sourceforge.png -------------------------------------------------------------------------------- /patches/patch-00011.sql: -------------------------------------------------------------------------------- 1 | alter table project add clientContactID INT default '0' AFTER clientID; 2 | -------------------------------------------------------------------------------- /patches/patch-00226-alla.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE reminder ADD reminderActive BOOLEAN NOT NULL DEFAULT true; 2 | -------------------------------------------------------------------------------- /patches/patch-00291-alla.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO config (name,value,type) VALUES ("sqlDebug",1,"text"); 2 | -------------------------------------------------------------------------------- /doc/images/calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/calendar.png -------------------------------------------------------------------------------- /doc/images/icon_alloc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/icon_alloc.png -------------------------------------------------------------------------------- /doc/images/statement.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/statement.png -------------------------------------------------------------------------------- /doc/images/task_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/task_list.png -------------------------------------------------------------------------------- /doc/images/timeSheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/timeSheet.png -------------------------------------------------------------------------------- /doc/images/top_tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/top_tasks.png -------------------------------------------------------------------------------- /finance/templates/tfPersonListViewR.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | {$person_username} 4 | 5 | 6 | -------------------------------------------------------------------------------- /finance/wagesUpload.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/finance/wagesUpload.php -------------------------------------------------------------------------------- /images/alloc_com_tiny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/alloc_com_tiny.png -------------------------------------------------------------------------------- /images/download_email.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/download_email.gif -------------------------------------------------------------------------------- /images/fileicons/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/code.png -------------------------------------------------------------------------------- /images/fileicons/css.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/css.png -------------------------------------------------------------------------------- /images/fileicons/db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/db.png -------------------------------------------------------------------------------- /images/fileicons/doc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/doc.gif -------------------------------------------------------------------------------- /images/fileicons/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/doc.png -------------------------------------------------------------------------------- /images/fileicons/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/file.png -------------------------------------------------------------------------------- /images/fileicons/film.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/film.png -------------------------------------------------------------------------------- /images/fileicons/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/html.png -------------------------------------------------------------------------------- /images/fileicons/java.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/java.png -------------------------------------------------------------------------------- /images/fileicons/pdf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/pdf.gif -------------------------------------------------------------------------------- /images/fileicons/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/pdf.png -------------------------------------------------------------------------------- /images/fileicons/php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/php.png -------------------------------------------------------------------------------- /images/fileicons/ppt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/ppt.png -------------------------------------------------------------------------------- /images/fileicons/psd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/psd.png -------------------------------------------------------------------------------- /images/fileicons/ruby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/ruby.png -------------------------------------------------------------------------------- /images/fileicons/txt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/txt.png -------------------------------------------------------------------------------- /images/fileicons/xls.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/xls.gif -------------------------------------------------------------------------------- /images/fileicons/xls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/xls.png -------------------------------------------------------------------------------- /images/fileicons/zip.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/zip.gif -------------------------------------------------------------------------------- /images/fileicons/zip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/zip.png -------------------------------------------------------------------------------- /images/skill_advanced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/skill_advanced.png -------------------------------------------------------------------------------- /images/skill_junior.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/skill_junior.png -------------------------------------------------------------------------------- /images/skill_novice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/skill_novice.png -------------------------------------------------------------------------------- /images/skill_senior.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/skill_senior.png -------------------------------------------------------------------------------- /images/tab_selected.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/tab_selected.gif -------------------------------------------------------------------------------- /images/tab_unselected.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/tab_unselected.gif -------------------------------------------------------------------------------- /images/taskType_fault.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/taskType_fault.gif -------------------------------------------------------------------------------- /images/taskType_task.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/taskType_task.gif -------------------------------------------------------------------------------- /images/wallpaper_lava.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/wallpaper_lava.jpg -------------------------------------------------------------------------------- /images/wallpaper_leaf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/wallpaper_leaf.jpg -------------------------------------------------------------------------------- /patches/patch-00096-alla.sql: -------------------------------------------------------------------------------- 1 | -- Nuke unused emailFormat column 2 | ALTER TABLE person DROP emailFormat; 3 | -------------------------------------------------------------------------------- /patches/patch-00098-alla.sql: -------------------------------------------------------------------------------- 1 | -- nuke person.dailyTaskEmail 2 | ALTER TABLE person DROP dailyTaskEmail; 3 | -------------------------------------------------------------------------------- /patches/patch-00125-alla.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO config (name,value,type) VALUES ("singleSession", "1","text"); 2 | -------------------------------------------------------------------------------- /patches/patch-00195-alla.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Nuke unnecessary field 3 | ALTER TABLE productCost DROP fromTfID; 4 | -------------------------------------------------------------------------------- /patches/patch-00233-alla.sql: -------------------------------------------------------------------------------- 1 | -- Remove unused field. 2 | ALTER TABLE task DROP taskCommentTemplateID; 3 | -------------------------------------------------------------------------------- /announcement/templates/announcementsH.tpl: -------------------------------------------------------------------------------- 1 | {$announcement->show_announcements("announcementListHomeR.tpl")} 2 | -------------------------------------------------------------------------------- /doc/images/client_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/client_list.png -------------------------------------------------------------------------------- /doc/images/forgot_pass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/forgot_pass.png -------------------------------------------------------------------------------- /doc/images/invoice_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/invoice_new.png -------------------------------------------------------------------------------- /doc/images/new_reminder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/new_reminder.png -------------------------------------------------------------------------------- /doc/images/project_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/project_list.png -------------------------------------------------------------------------------- /doc/images/skill_matrix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/skill_matrix.png -------------------------------------------------------------------------------- /doc/images/task_detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/task_detail.png -------------------------------------------------------------------------------- /doc/images/transaction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/transaction.png -------------------------------------------------------------------------------- /images/alloc-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/alloc-screenshot.png -------------------------------------------------------------------------------- /images/fileicons/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/email.png -------------------------------------------------------------------------------- /images/fileicons/flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/flash.png -------------------------------------------------------------------------------- /images/fileicons/linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/linux.png -------------------------------------------------------------------------------- /images/fileicons/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/music.png -------------------------------------------------------------------------------- /images/fileicons/script.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/script.png -------------------------------------------------------------------------------- /images/icon_vcard_faded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/icon_vcard_faded.png -------------------------------------------------------------------------------- /images/invoice_pending.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/invoice_pending.png -------------------------------------------------------------------------------- /images/invoice_rejected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/invoice_rejected.png -------------------------------------------------------------------------------- /images/mip/list-bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/list-bullet.png -------------------------------------------------------------------------------- /images/mip/list-numeric.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/mip/list-numeric.png -------------------------------------------------------------------------------- /images/taskType_message.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/taskType_message.gif -------------------------------------------------------------------------------- /images/taskType_parent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/taskType_parent.gif -------------------------------------------------------------------------------- /images/wallpaper_nacho.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/wallpaper_nacho.jpg -------------------------------------------------------------------------------- /images/wallpaper_tweak.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/wallpaper_tweak.jpg -------------------------------------------------------------------------------- /patches/patch-00262-alla.sql: -------------------------------------------------------------------------------- 1 | -- remove field that is not used anymore 2 | ALTER TABLE project DROP is_agency; 3 | -------------------------------------------------------------------------------- /patches/patch-00275-alla.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE invoiceItem ADD iiTax DECIMAL(9,2) DEFAULT '0.00' AFTER iiAmount; 2 | -------------------------------------------------------------------------------- /patches/patch-00295-alla.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO config (name,value,type) VALUES ("taskWindow","21","text"); 2 | 3 | -------------------------------------------------------------------------------- /project/templates/projectPersonListViewR.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | {$person_username} 4 | 5 | 6 | -------------------------------------------------------------------------------- /doc/images/client_comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/client_comment.png -------------------------------------------------------------------------------- /doc/images/client_contact.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/client_contact.png -------------------------------------------------------------------------------- /doc/images/client_upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/client_upload.png -------------------------------------------------------------------------------- /doc/images/invoiceItem_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/invoiceItem_new.png -------------------------------------------------------------------------------- /doc/images/project_people.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/project_people.png -------------------------------------------------------------------------------- /doc/images/timeSheet_items.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/timeSheet_items.png -------------------------------------------------------------------------------- /doc/images/timeSheet_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/doc/images/timeSheet_new.png -------------------------------------------------------------------------------- /images/fileicons/directory.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/directory.gif -------------------------------------------------------------------------------- /images/fileicons/directory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/directory.png -------------------------------------------------------------------------------- /images/fileicons/picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/picture.png -------------------------------------------------------------------------------- /images/fileicons/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/spinner.gif -------------------------------------------------------------------------------- /images/fileicons/unknown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/unknown.gif -------------------------------------------------------------------------------- /images/invoice_fully_paid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/invoice_fully_paid.png -------------------------------------------------------------------------------- /images/invoice_over_paid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/invoice_over_paid.png -------------------------------------------------------------------------------- /images/invoice_partly_paid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/invoice_partly_paid.png -------------------------------------------------------------------------------- /images/skill_intermediate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/skill_intermediate.png -------------------------------------------------------------------------------- /images/tab_unselected_rams.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/tab_unselected_rams.gif -------------------------------------------------------------------------------- /images/taskType_milestone.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/taskType_milestone.gif -------------------------------------------------------------------------------- /images/wallpaper_default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/wallpaper_default.jpg -------------------------------------------------------------------------------- /patches/patch-00027.sql: -------------------------------------------------------------------------------- 1 | -- Nuke companyImage config item 2 | DELETE FROM config WHERE name = "companyImage"; 3 | 4 | -------------------------------------------------------------------------------- /announcement/templates/announcementListHomeR.tpl: -------------------------------------------------------------------------------- 1 | {$heading}
2 | {echo nl2br($body)}
3 |
4 | -------------------------------------------------------------------------------- /css/font/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/css/font/fontawesome-webfont.eot -------------------------------------------------------------------------------- /css/font/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/css/font/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /images/fileicons/application.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/application.png -------------------------------------------------------------------------------- /images/fileicons/folder_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/images/fileicons/folder_open.png -------------------------------------------------------------------------------- /patches/patch-00273-alla.sql: -------------------------------------------------------------------------------- 1 | alter table comment add commentMimeParts text default null AFTER commentEmailMessageID; 2 | -------------------------------------------------------------------------------- /css/font/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberitsolutions/alloc/HEAD/css/font/fontawesome-webfont.woff -------------------------------------------------------------------------------- /help/from_transaction_tf.html: -------------------------------------------------------------------------------- 1 | Source Tagged Fund 2 |

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 |

Wages Upload Results

4 | {$msg} 5 | {page::footer()} 6 | -------------------------------------------------------------------------------- /help/config_AllocFromEmailAddress.html: -------------------------------------------------------------------------------- 1 | allocPSA Email From Address 2 |

3 | Emails that allocPSA sends out will have this "From" address. 4 | -------------------------------------------------------------------------------- /patches/patch-00040.sql: -------------------------------------------------------------------------------- 1 | -- add customeBilledDollars to timeSheet table 2 | ALTER TABLE timeSheet ADD customerBilledDollars decimal(19,2) default '0.00'; 3 | -------------------------------------------------------------------------------- /patches/patch-00041.sql: -------------------------------------------------------------------------------- 1 | -- Add clientContactCountry to clientContact 2 | ALTER TABLE clientContact ADD clientContactCountry varchar(255) default NULL; 3 | -------------------------------------------------------------------------------- /patches/patch-00073-alla.sql: -------------------------------------------------------------------------------- 1 | -- New config variable for allocs default tax tf 2 | INSERT INTO config (name,value,type) VALUES ('taxTfID','','text'); 3 | 4 | -------------------------------------------------------------------------------- /patches/patch-00078-jeremyc.sql: -------------------------------------------------------------------------------- 1 | -- Add field for TF status 2 | ALTER TABLE tf add status enum('active', 'disabled', 'readonly') DEFAULT 'active'; 3 | 4 | -------------------------------------------------------------------------------- /patches/patch-00111-alla.sql: -------------------------------------------------------------------------------- 1 | -- Change project.clientID to be allowed to be NULL 2 | ALTER TABLE project CHANGE clientID clientID int(11) DEFAULT NULL; 3 | -------------------------------------------------------------------------------- /patches/patch-00165-alla.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Nuke the taskSearchable table because we can now use the Lucene search index instead. 3 | DROP TABLE taskSearchable; 4 | -------------------------------------------------------------------------------- /patches/patch-00183-alla.sql: -------------------------------------------------------------------------------- 1 | -- New config item to specify default currency 2 | INSERT INTO config (name,value,type) VALUES ('currency', '', 'text'); 3 | 4 | -------------------------------------------------------------------------------- /patches/patch-00237-alla.sql: -------------------------------------------------------------------------------- 1 | -- Simplify task comment subject lines 2 | UPDATE config SET value = '%ti %tn [%tp]' WHERE name = 'emailSubject_taskComment'; 3 | -------------------------------------------------------------------------------- /project/templates/modificationListR.tpl: -------------------------------------------------------------------------------- 1 | 2 | {$mod_dateMod} 3 | {$mod_modDescription} 4 | {$mod_personName} 5 | 6 | -------------------------------------------------------------------------------- /item/templates/loanAndReturnR.tpl: -------------------------------------------------------------------------------- 1 | 2 | {=$itemName} 3 | {$itemType} 4 | {$status} {$person} 5 | {$itemAction} 6 | 7 | -------------------------------------------------------------------------------- /patches/patch-00001.sql: -------------------------------------------------------------------------------- 1 | -- Add transactionRepeatID to transaction 2 | alter table transaction add transactionRepeatID int(11) default NULL after timeSheetID; 3 | -------------------------------------------------------------------------------- /patches/patch-00036.sql: -------------------------------------------------------------------------------- 1 | 2 | -- add seekClientReimbursement to expenseForm 3 | ALTER TABLE expenseForm ADD seekClientReimbursement int(1) NOT NULL default 0; 4 | -------------------------------------------------------------------------------- /patches/patch-00070-alla.sql: -------------------------------------------------------------------------------- 1 | -- New config variable for alloc's timezone 2 | INSERT INTO config (name,value,type) VALUES ('allocTimezone','0','text'); 3 | 4 | -------------------------------------------------------------------------------- /patches/patch-00231-alla.sql: -------------------------------------------------------------------------------- 1 | -- Supercede emailUID, instead use email's message id. 2 | ALTER TABLE timeSheetItem ADD emailMessageID varchar(255) DEFAULT NULL; 3 | -------------------------------------------------------------------------------- /project/templates/projectPersonSummaryViewR.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | {$person_name} 4 | 5 | 6 | {$person_roleName} 7 | 8 | 9 | -------------------------------------------------------------------------------- /help/task_duplicate.html: -------------------------------------------------------------------------------- 1 | Task Duplicate 2 |

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 | 2 | {$warning}{$projectName} 3 | {$user} 4 | {$date} 5 | 6 | -------------------------------------------------------------------------------- /help/config_allocTabs.html: -------------------------------------------------------------------------------- 1 | alloc Tabs 2 | 3 |

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 |

3 | Additional substitutions for client details:
4 |
5 | %li = Client ID
6 | %cc = Client Name 7 | -------------------------------------------------------------------------------- /help/product.html: -------------------------------------------------------------------------------- 1 | Product 2 | 3 |

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 | 2 | {$timeSheetItemDuration} 3 | {$item_description} 4 | 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 | 2 | Comments for management
viewing only 3 | {page::textarea("managementComments",$person_managementComments)} 4 | 5 | 6 | -------------------------------------------------------------------------------- /item/templates/itemLoanR.tpl: -------------------------------------------------------------------------------- 1 | 2 | {=$itemName} 3 | {$itemType} 4 | {=$person} 5 | {$dateBorrowed} 6 | {$dateToBeReturned} 7 | {$overdue} 8 | 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 | 2 | 3 | 4 | 5 | 6 | 9 | 10 |
Time Sheet Items
7 | {show_timeSheet_list("templates/timeSheetItemR.tpl")} 8 |
11 | -------------------------------------------------------------------------------- /comment/templates/commentTemplateListR.tpl: -------------------------------------------------------------------------------- 1 | 2 | {$commentTemplateID} 3 | {=$commentTemplateName} 4 | {$commentTemplateType} 5 | 6 | -------------------------------------------------------------------------------- /help/config_allocURL.html: -------------------------------------------------------------------------------- 1 | allocPSA Base URL 2 |

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 | 2 | {$absence_absenceID} 3 | {$absence_dateFrom} 4 | {$absence_dateTo} 5 | {$absence_absenceType} 6 | 7 | -------------------------------------------------------------------------------- /project/templates/projectGraphR.tpl: -------------------------------------------------------------------------------- 1 | 2 | Project Graph 3 | 4 |

5 | -------------------------------------------------------------------------------- /installation/make_postgres_struct.sh: -------------------------------------------------------------------------------- 1 | cat db_structure.sql | sed -e 's/integer NOT NULL auto_increment/serial/gi' | sed -e 's/ENGINE=.*/;/g' | grep -vi 'DROP TABLE IF EXISTS' | sed -e 's/datetime /TIMESTAMP WITHOUT TIME ZONE /gi' > db_structure.sql.postgres 2 | 3 | -------------------------------------------------------------------------------- /patches/patch-00206-jeremyc.sql: -------------------------------------------------------------------------------- 1 | -- Add 'task estimator' field to tasks 2 | 3 | ALTER TABLE task ADD estimatorID INT DEFAULT NULL AFTER duplicateTaskID; 4 | ALTER TABLE task ADD CONSTRAINT task_estimatorID FOREIGN KEY (estimatorID) REFERENCES person (personID); 5 | 6 | -------------------------------------------------------------------------------- /patches/patch-00277-alla.sql: -------------------------------------------------------------------------------- 1 | 2 | -- New values for manipulating the shape of the task priority curve 3 | INSERT INTO config (name,value,type) VALUES ("taskPrioritySpread","20","text"); 4 | INSERT INTO config (name,value,type) VALUES ("taskPriorityScale","8","text"); 5 | -------------------------------------------------------------------------------- /patches/patch-00263-alla.sql: -------------------------------------------------------------------------------- 1 | -- Remove old payment_insurance field 2 | ALTER TABLE timeSheet DROP payment_insurance; 3 | 4 | -- deactivate old transaction type of insurance. 5 | UPDATE transactionType SET transactionTypeActive = 0 WHERE transactionTypeID = 'insurance'; 6 | -------------------------------------------------------------------------------- /help/config_inTfID.html: -------------------------------------------------------------------------------- 1 | Incoming Funds TF 2 |

3 | 4 | This is a fund that allows you to represent monies that are coming in to 5 | your organisation. 6 |

7 | 8 | Invoices are paid from this fund. 9 | 10 |

11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /help/config_timeSheetAdminEmail.html: -------------------------------------------------------------------------------- 1 | Time Sheet Administrator 2 |

3 | 4 | Time Sheets get routed to these people after being approved by a Time Sheet Manager. 5 | Time Sheet Administrators have full adminstrative authority over the Time Sheets. 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /patches/patch-00030.sql: -------------------------------------------------------------------------------- 1 | -- Stick a new config item in for TAX (ie GST) 2 | INSERT INTO config (name, value) VALUES ('taxName','GST'); 3 | INSERT INTO config (name, value) VALUES ('taxPercent','10'); 4 | INSERT INTO config (name, value) VALUES ('companyPercent','28.5'); 5 | 6 | 7 | -------------------------------------------------------------------------------- /patches/patch-00259-alla.sql: -------------------------------------------------------------------------------- 1 | 2 | DROP TABLE IF EXISTS tag; 3 | CREATE TABLE tag ( 4 | taskID integer NOT NULL, 5 | name varchar(255) NOT NULL 6 | ) ENGINE=InnoDB PACK_KEYS=0; 7 | 8 | ALTER TABLE tag ADD CONSTRAINT tag_taskID FOREIGN KEY (taskID) REFERENCES task (taskID); 9 | -------------------------------------------------------------------------------- /start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euxo pipefail 3 | # https://docs.docker.com/config/containers/multi-service_container/ 4 | 5 | # start apache 6 | /usr/sbin/apachectl start 7 | 8 | # start mariadb 9 | /etc/init.d/mysql start 10 | 11 | tail -f /var/log/apache2/error.log 12 | -------------------------------------------------------------------------------- /time/templates/pendingApprovalTimeSheetHomeM.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {$time->show_pending_time_sheets("pendingApprovalTimeSheetHomeR.tpl")} 8 |
Time SheetPersonDate
9 | -------------------------------------------------------------------------------- /help/config_allocEmailExtra.html: -------------------------------------------------------------------------------- 1 | Email Connect Extra 2 |

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 | 2 | 3 | 4 | 5 | 6 | 9 | 10 |
Project People
7 | {show_projectPerson_list()} 8 |
11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /help/engineer_amount.html: -------------------------------------------------------------------------------- 1 | Amount 2 |

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 | 2 | 3 | 4 | 5 | 6 | 7 | {$time->show_pending_time_sheets("pendingApprovalTimeSheetHomeR.tpl",true)} 8 |
Time SheetPersonDate
9 | -------------------------------------------------------------------------------- /help/clientListFilter.html: -------------------------------------------------------------------------------- 1 | Client List Filter 2 |

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 | 7 | 8 | 9 | 10 | 13 | 14 |
Help
11 | {$str} 12 |
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 | 5 | 6 | 7 | 8 | 9 | 12 | 13 |
allocPSA Source Code {echo realpath($_GET["dir"])}
10 | {$results} 11 |
14 | {page::footer()} 15 | -------------------------------------------------------------------------------- /announcement/templates/announcementListR.tpl: -------------------------------------------------------------------------------- 1 | 2 | {=$heading} 3 | {=$personName} 4 | {$displayFromDate} 5 | {$displayToDate} 6 | Edit 7 | 8 | -------------------------------------------------------------------------------- /help/config_sqlDebug.html: -------------------------------------------------------------------------------- 1 | SQL Debugging 2 |

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 | 2 | {$timesheet_date} 3 | 4 | {show_timeSheetItems("templates/weeklyTimeItemR.tpl")} 5 |
6 | Total: {$daily_hours_total} 7 | 8 | -------------------------------------------------------------------------------- /tools/templates/sourceCodeView.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 6 | 7 | 8 | 9 | 14 | 15 |
allocPSA Source Code {$path}
10 |
11 | {$results}
12 |     
13 |
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 | 2 | {$tableName} 3 | {$entityID} 4 | {$roleName} 5 | {$actions} 6 | {$sortKey} 7 | {=$comment} 8 | Edit 9 | 10 | -------------------------------------------------------------------------------- /calendar/templates/taskCalendarM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 |
Calendar: {$username}
10 | {show_task_calendar_recursive()} 11 |
14 | 15 | 16 | 17 | {page::footer()} 18 | -------------------------------------------------------------------------------- /finance/templates/transactionRepeatListR.tpl: -------------------------------------------------------------------------------- 1 | 2 | {=$product} 3 | {$transactionStartDate} 4 | {$transactionFinishDate} 5 | {=$fromTfName} 6 | {=$tfName} 7 | {$status} 8 | 9 | -------------------------------------------------------------------------------- /help/client_billing.html: -------------------------------------------------------------------------------- 1 | Client Billing 2 |

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 | Allocation Graph 3 | 4 |

5 | -------------------------------------------------------------------------------- /help/config_outTfID.html: -------------------------------------------------------------------------------- 1 | Outgoing Funds TF 2 |

3 | 4 | This is a fund that allows you to represent monies that are being spent by 5 | your organisation. 6 |

7 | 8 | Wages will be paid from this fund, when Wages are uploaded via the Wage 9 | Upload form on the Tools menu. 10 |

11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /patches/patch-00051-jeremyc.sql: -------------------------------------------------------------------------------- 1 | -- Add task_reassigned 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', 'task_reassigned'); 3 | 4 | -------------------------------------------------------------------------------- /.codeclimate.yml: -------------------------------------------------------------------------------- 1 | version: "2" 2 | checks: 3 | file-lines: 4 | enabled: false 5 | exclude_patterns: 6 | - "**/*.css" 7 | - "**/*.ini" 8 | - "**/*.tpl" 9 | - "**/*.py" 10 | - "**/*.js" 11 | - "zend/" 12 | - "shared/lib/" 13 | - "email/lib/Mail_RFC822.inc.php" 14 | - "email/lib/Mail_mimeDecode.inc.php" 15 | - "wiki/lib/markdown.inc.php" 16 | -------------------------------------------------------------------------------- /help/config_rssEntries.html: -------------------------------------------------------------------------------- 1 | RSS Feed Entries

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 | 2 | {$transaction_transactionID} 3 | {$transaction_amount} 4 | {$transaction_tfName} 5 | {$transaction_product} 6 | {$transaction_status} 7 | 8 | 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 | 2 | {$transactionID} 3 | {$transactionCreatedTime} 4 | {=$transactionCreatedUser} 5 | {$transactionType} 6 |  {page::money($currencyTypeID,$formTotal,"%s%mo")} 7 | 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 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 |
Person Graphs{$navigation_links}
10 | {show_people("templates/personGraphR.tpl")} 11 |
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 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
Project Task Graph
{show_filter()}
{show_projects("templates/projectGraphR.tpl")}
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 |

3 | Additional substitutions for task comments:
4 |
5 | %ti = Task ID
6 | %to = Task Creator
7 | %tm = Task Manager
8 | %ta = Task Assignee
9 | %tc = Task Closer
10 | %tn = Task Name
11 | %td = Task Description
12 | %tu = Task URL
13 | %tp = Task Priority
14 | %pn = Task Project Name 15 | -------------------------------------------------------------------------------- /patches/patch-00253-alla.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE reminder ADD reminderHash varchar(255) DEFAULT NULL AFTER reminderTime; 2 | ALTER TABLE reminder ADD CONSTRAINT reminder_reminderHash FOREIGN KEY (reminderHash) REFERENCES token (tokenHash); 3 | 4 | INSERT INTO tokenAction (tokenActionID,tokenAction,tokenActionType,tokenActionMethod) VALUES (3, "Task status move pending to open","task","moved_from_pending_to_open"); 5 | 6 | -------------------------------------------------------------------------------- /help/config_companyLogo.html: -------------------------------------------------------------------------------- 1 | 2 | Company Logo 3 |

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 | 2 | {=$tfName} 3 | i {page::money(config::get_config_item("currency"),$pending_amount,"%s%m %c")} 4 | {page::money(config::get_config_item("currency"),$tfBalance,"%s%m %c")} 5 | 6 | -------------------------------------------------------------------------------- /patches/patch-00097-alla.php: -------------------------------------------------------------------------------- 1 | query($q); 6 | 7 | while ($r = $db->row()) { 8 | $person = new person(); 9 | $person->set_id($r["personID"]); 10 | $person->select(); 11 | $person->load_prefs(); 12 | $person->prefs["dailyTaskEmail"] = 'yes'; 13 | $person->store_prefs(); 14 | } 15 | 16 | 17 | ?> 18 | -------------------------------------------------------------------------------- /help/project_cost_centre_tf.html: -------------------------------------------------------------------------------- 1 | 2 | Cost Centre TF 3 |

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 | 9 | 10 | 11 | 14 | 15 |
Uncompleted Tasks 4 | - {print count($taskListRows)} records 5 | 6 | New Task 7 | 8 |
12 | {task::get_list_html($taskListRows,$_FORM)} 13 |
16 | -------------------------------------------------------------------------------- /sale/templates/transactionViewR.tpl: -------------------------------------------------------------------------------- 1 | 2 | {$transactionID} 3 | {page::money($currencyTypeID,$amount,"%s%mo %c")} 4 | {=$fromTfID_label} 5 | {=$tfID_label} 6 | {=$product} 7 | {$status} 8 | 9 | -------------------------------------------------------------------------------- /patches/patch-00172-alla.sql: -------------------------------------------------------------------------------- 1 | 2 | DELETE FROM permission WHERE tableName = 'interestedParty'; 3 | 4 | INSERT INTO permission (tableName, entityID, personID, roleName, allow, sortKey, actions, comment) 5 | VALUES 6 | ('interestedParty',0,NULL,'',true,NULL,9,NULL) 7 | ,('interestedParty',0,NULL,'manage',true,NULL,15,NULL) 8 | ,('interestedParty',0,NULL,'admin',true,NULL,15,NULL) 9 | ,('interestedParty',-1,NULL,'',true,NULL,15,NULL); 10 | -------------------------------------------------------------------------------- /project/templates/projectListH.tpl: -------------------------------------------------------------------------------- 1 | {if $projectListRows} 2 | 3 | 4 | 5 | 6 | 7 | 8 | {foreach $projectListRows as $r} 9 | 10 | 11 | 12 | 13 | 14 | {/} 15 |
ProjectNick 
{$r.projectLink}{=$r.projectShortName}{$r.navLinks}
16 | {/} 17 | -------------------------------------------------------------------------------- /task/templates/taskChildrenM.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 13 | 14 |
Child Tasks 4 | 5 | New Subtask 6 | 7 |
11 | {task::get_list_html($taskListRows,$taskListOptions)} 12 |
15 | 16 | -------------------------------------------------------------------------------- /help/config_mainTfID.html: -------------------------------------------------------------------------------- 1 | Finance Tagged Fund 2 |

3 | 4 | This is the default fallback fund for allocPSA transactions. 5 |

6 | 7 | Time Sheets use this Fund to withdraw money from (if the Time Sheets 8 | Project doesn't have a default Tagged Fund set up already). 9 |

10 | 11 | Additionally Invoices and Expense Forms use this TF by default to deposit 12 | money into. 13 |

14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /project/templates/project_transactionItemR.tpl: -------------------------------------------------------------------------------- 1 | 2 | {$transaction_transactionID}  3 | {$transaction_type_link} 4 | {=$tf_tfName}  5 | {=$transaction_product}  6 | {$transaction_transactionDate} 7 | {$transaction_status}  8 | {$transaction_amount}  9 | 10 | -------------------------------------------------------------------------------- /patches/patch-00029.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Add a new timeSheet status type of paid. 3 | ALTER TABLE timeSheet CHANGE status status enum('edit','manager','admin','invoiced','paid') default NULL; 4 | 5 | -- Add a new type of sentEmail: timesheet_paid 6 | ALTER TABLE sentEmailLog CHANGE sentEmailType sentEmailType enum('reminder','reminder_advnotice','task_created','task_closed','task_comments','timesheet_submit','timesheet_reject','timesheet_paid','daily_digest'); 7 | -------------------------------------------------------------------------------- /patches/patch-00184-alla.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Have to temporarily drop the constraint 3 | ALTER TABLE project DROP FOREIGN KEY project_currencyType; 4 | 5 | -- Rename project.currencyType to currencyTypeID 6 | ALTER TABLE project CHANGE currencyType currencyTypeID VARCHAR(255) DEFAULT NULL; 7 | 8 | -- Readd the constraint 9 | ALTER TABLE project ADD CONSTRAINT project_currencyTypeID FOREIGN KEY (currencyTypeID) REFERENCES currencyType (currencyTypeID); 10 | -------------------------------------------------------------------------------- /task/templates/taskHistoryM.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 16 | 17 |
Task History
7 | 8 | 9 | 10 | 11 | 12 | 13 | {$changeHistory} 14 |
DateChangeCreated by
15 |
18 | -------------------------------------------------------------------------------- /tools/templates/statsR.tpl: -------------------------------------------------------------------------------- 1 | 2 | {$user_username} 3 | {$user_projects_current} 4 | {$user_projects_total} 5 | {$user_tasks_current} 6 | {$user_tasks_total} 7 | {$user_comments_total} 8 | {$user_graph} 9 | 10 | -------------------------------------------------------------------------------- /project/templates/projectHistoryM.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 16 | 17 |
Project History
7 | 8 | 9 | 10 | 11 | 12 | 13 | {$changeHistory} 14 |
DateChangeCreated by
15 |
18 | -------------------------------------------------------------------------------- /shared/templates/tabR.tpl: -------------------------------------------------------------------------------- 1 | {$name} 2 | 3 | {if $active && $name == "Home" || $current_user->prefs["customizedTheme2"] != 4} 4 | 11 | {/} 12 | -------------------------------------------------------------------------------- /help/timesheet_commission.html: -------------------------------------------------------------------------------- 1 | Time Sheet Commissions 2 |

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 | 2 | 3 | 11 | 12 | 13 | 14 | 15 |
4 | {echo $item->get_title()} 5 | 6 | {if $item->has_config} 7 | 8 | {/} 9 | 10 |
{$item->show()}
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 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | {show_transaction_list($transactions, "templates/transactionViewR.tpl")} 13 |
IDAmountSource TFDestination TFDescriptionStatus
14 | -------------------------------------------------------------------------------- /wiki/templates/wikiListS.tpl: -------------------------------------------------------------------------------- 1 | {if $wikiListRows} 2 | 3 | 4 | 5 | 6 | 7 | {foreach $wikiListRows as $r} 8 | 9 | 10 | 13 | 14 | {/} 15 |
File
{$r.filename} 11 | {page::star("wiki",base64_encode($r["filename"]))} 12 |
16 | {/} 17 | -------------------------------------------------------------------------------- /patches/patch-00100-alla.php: -------------------------------------------------------------------------------- 1 | set_id($id); 12 | $c->select(); 13 | $c->set_value("value",serialize($ops)); 14 | $c->save(); 15 | 16 | ?> 17 | -------------------------------------------------------------------------------- /project/templates/projectTimeSheetS.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 14 | 15 |
Time Sheets 4 | - {print count($timeSheetListRows)} records 5 | 6 | Time Sheet 7 | 8 |
12 | {timeSheet::get_list_html($timeSheetListRows,$timeSheetListExtra)} 13 |
16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /help/projectSummary_filter.html: -------------------------------------------------------------------------------- 1 | Project Summary Filter 2 |

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 | 12 | 13 | 14 | 17 | 18 |
Products 6 | - {print count($productListRows)} records 7 | 8 | New Product 9 | New Sale 10 | 11 |
15 | {product::get_list_html($productListRows)} 16 |
19 | {page::footer()} 20 | -------------------------------------------------------------------------------- /finance/templates/tfPersonListR.tpl: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 8 | 9 | 10 | {$person_buttons} 11 | 12 | 13 | 14 | 15 | 16 |
17 | -------------------------------------------------------------------------------- /help/config_timeSheetPrintFooter.html: -------------------------------------------------------------------------------- 1 | Time Sheet Printout Footer 2 |

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); 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 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {foreach $saleListRows as $r} 10 | 11 | 12 | 13 | 14 | 15 | 16 | {/} 17 |
IDClientStatusAmount
{$r.productSaleLink}{$r.clientName}{$r.status}{$r.amounts.total_sellPrice}
18 | {else} 19 | No Sales Found. 20 | {/} 21 | 22 | -------------------------------------------------------------------------------- /tools/templates/whatsnewM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 6 | 7 | 8 | 9 | {$rows = get_attachments("whatsnew","0")} 10 | 11 | {if $rows} 12 | 13 | 14 | 15 | 16 | 17 | 18 | {foreach $rows as $row} 19 | 20 | 21 | 22 | 23 | 24 | {/} 25 | 26 | {/} 27 |
allocPSA Deployment Changelog
FilenameCreated onSize
{$row.file}{$row.mtime}{$row.size}
28 | {page::footer()} 29 | -------------------------------------------------------------------------------- /finance/templates/expenseFormPrintableR.tpl: -------------------------------------------------------------------------------- 1 | 2 |  {$companyDetails} 3 |  {$projectID} 4 | 5 | 6 | {$transactionID} 7 | {$transactionDate} 8 | Item: {$product} 9 | Source TF: {$fromTfIDLink} Dest Tf: {$tfIDLink} 10 | {$quantity}pcs. @ {page::money($currencyTypeID,$amount,"%s%mo")} each 11 | {page::money($currencyTypeID,$lineTotal,"%s%mo")} 12 | 13 | 14 |   15 | 16 | -------------------------------------------------------------------------------- /finance/templates/pendingAdminExpenseFormM.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {foreach (array)$expenseFormRows as $r} 8 | 9 | 10 | 11 | 12 | 13 | {/} 14 |
IDCreated ByForm Total
{$r.expenseFormID}{=$r.expenseFormCreatedUser} {$r.formTotal}
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 | 13 | 14 |
15 | 16 | For task reminders: 17 | 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 | 2 | Availability 3 | {page::textarea("availability",$person_availability)} 4 | 5 | 6 | Areas of interest 7 | {page::textarea("areasOfInterest",$person_areasOfInterest)} 8 | 9 | 10 | Comments 11 | {page::textarea("comments",$person_comments)} 12 | 13 | 14 | Emergency Contact Information 15 | {page::textarea("emergencyContact",$person_emergencyContact)} 16 | 17 | 18 | -------------------------------------------------------------------------------- /patches/patch-00052-jeremyc.php: -------------------------------------------------------------------------------- 1 | 20 | -------------------------------------------------------------------------------- /patches/patch-00101-alla.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Rename taskCommentTemplate to commentTemplate to genericise the functionality. 3 | ALTER TABLE taskCommentTemplate RENAME TO commentTemplate; 4 | ALTER TABLE commentTemplate CHANGE taskCommentTemplateName commentTemplateName varchar(255); 5 | ALTER TABLE commentTemplate CHANGE taskCommentTemplateText commentTemplateText text; 6 | ALTER TABLE commentTemplate CHANGE taskCommentTemplateModifiedTime commentTemplateModifiedTime datetime; 7 | ALTER TABLE commentTemplate CHANGE taskCommentTemplateID commentTemplateID int(11) NOT NULL auto_increment; 8 | 9 | 10 | -------------------------------------------------------------------------------- /patches/patch-00182-alla.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Add currency to timeSheet table 3 | ALTER TABLE timeSheet ADD currencyTypeID VARCHAR(255) DEFAULT NULL AFTER customerBilledDollars; 4 | 5 | -- Add a constraint from timeSheet.currencyTypeID to currencyType.currencyTypeID 6 | ALTER TABLE timeSheet ADD CONSTRAINT timeSheet_currencyTypeID FOREIGN KEY (currencyTypeID) REFERENCES currencyType (currencyTypeID); 7 | 8 | -- Update the timeSheet.currencyTypeID field from its related project 9 | UPDATE timeSheet,project SET timeSheet.currencyTypeID = project.currencyType WHERE timeSheet.projectID = project.projectID; 10 | -------------------------------------------------------------------------------- /patches/patch-00267-alla.sql: -------------------------------------------------------------------------------- 1 | -- new standard creator/date fields for the reminder table 2 | ALTER TABLE reminder ADD reminderCreatedTime DATETIME NOT NULL AFTER reminderContent; 3 | ALTER TABLE reminder ADD reminderCreatedUser INTEGER NOT NULL AFTER reminderCreatedTime; 4 | UPDATE reminder SET reminderModifiedUser = 1 WHERE reminderModifiedUser IS NULL OR reminderModifiedUser = '' OR reminderModifiedUser = 0; 5 | UPDATE reminder SET reminderCreatedUser = reminderModifiedUser; 6 | ALTER TABLE reminder ADD CONSTRAINT reminder_reminderCreatedUser FOREIGN KEY (reminderCreatedUser) REFERENCES person (personID); 7 | -------------------------------------------------------------------------------- /person/templates/personListR.tpl: -------------------------------------------------------------------------------- 1 | {$phoneNo1 && $phoneNo2 and $phoneNo1.= " / "} 2 | 3 | {if $_FORM["showName"]} {$name_link}{/} 4 | {if $_FORM["showActive"]} {$personActive_label}{/} 5 | {if $_FORM["showNos"]} {=$phoneNo1}{=$phoneNo2}{/} 6 | {if $_FORM["showSkills"]} {$skills_list}{/} 7 | {if $_FORM["showHours"]} {echo sprintf("%0.1f",$hoursSum)}{/} 8 | {if $_FORM["showHours"]} {echo sprintf("%0.1f",$hoursAvg)}{/} 9 | {if $_FORM["showLinks"]} {$navLinks}{/} 10 | 11 | 12 | -------------------------------------------------------------------------------- /client/templates/clientListM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 |
Clients 6 | - {print count($clientListRows)} records 7 | 8 | Show Filter 9 | New Client 10 | 11 |
{show_filter()}
18 | {client::get_list_html($clientListRows,$_FORM)} 19 |
22 | {page::footer()} 23 | -------------------------------------------------------------------------------- /finance/templates/expenseUploadM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 6 | 7 | 8 | 15 | 16 | 17 | 18 | 19 |
Expenses Upload
9 |
10 | Expenses File: 11 | 12 | 13 |
14 |
{$msg}
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 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 |
Projects 6 | - {print count($projectListRows)} records 7 | 8 | Show Filter 9 | New Project 10 | 11 |
{show_filter()}
18 | {project::get_list_html($projectListRows,$_FORM)} 19 |
22 | {page::footer()} 23 | -------------------------------------------------------------------------------- /patches/patch-00039.sql: -------------------------------------------------------------------------------- 1 | -- Add dodgy html printable version to the time sheet config print option list 2 | UPDATE config SET value = 'a:8:{s:24:"timeSheetPrintMode=items";s:7:"Default";s:36:"timeSheetPrintMode=items&printDesc=1";s:8:"Default+";s:24:"timeSheetPrintMode=units";s:5:"Units";s:36:"timeSheetPrintMode=units&printDesc=1";s:6:"Units+";s:24:"timeSheetPrintMode=money";s:7:"Invoice";s:36:"timeSheetPrintMode=money&printDesc=1";s:8:"Invoice+";s:36:"timeSheetPrintMode=items&format=html";s:12:"Default Html";s:48:"timeSheetPrintMode=items&format=html&printDesc=1";s:13:"Default Html+";}' WHERE name = "timeSheetPrintOptions"; 3 | -------------------------------------------------------------------------------- /patches/patch-00190-alla.php: -------------------------------------------------------------------------------- 1 | query($q); 8 | while ($row = $db->row()) { 9 | $q = prepare("INSERT INTO productCost (productID,fromTfID,tfID,amount,currencyTypeID,description) VALUES ('%d','%d','%d','%d','%s','%s')" 10 | ,$row["productID"],config::get_config_item("mainTfID"),config::get_config_item("outTfID"),$row["buyCost"],$row["buyCostCurrencyTypeID"],"Product Acquisition"); 11 | $db2->query($q); 12 | } 13 | 14 | ?> 15 | -------------------------------------------------------------------------------- /tools/templates/menuM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 6 | 7 | 8 | 9 | 23 | 24 |
Tools
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
MiscellaneousFinance
{show_misc_options("templates/menuR.tpl")}{show_finance_options("templates/menuR.tpl")}
21 | 22 |
25 |
  26 | 27 | {page::footer()} 28 | -------------------------------------------------------------------------------- /help/task_timeLimit.html: -------------------------------------------------------------------------------- 1 | 2 | Effort Limited To 3 | 4 |

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 | 6 | 7 | 8 | 15 | 16 | 17 | 18 | 19 |
Wages Upload
9 |
10 | Wages File: 11 | 12 | 13 |
14 |
{$msg}
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 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | {show_days("templates/weeklyTimeDayR.tpl")} 16 | 17 |
Weekly Timesheet View 7 | Default Time View 8 | New Time Sheet 9 |
<- Previous Week Next Week ->
18 | {page::footer()} 19 | -------------------------------------------------------------------------------- /sale/templates/productCommissionR.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sale TF 4 | 5 | 6 | 7 | 8 | 9 | 10 | 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 | 4 | 5 | 13 | 14 | 15 | 18 | 19 | 20 | 23 | 24 |
People 6 | 7 | Show Filter 8 | Person Graphs 9 | Skill Matrix 10 | New Person 11 | 12 |
16 | {show_filter()} 17 |
21 | {show_people()} 22 |
25 | {page::footer()} 26 | -------------------------------------------------------------------------------- /comment/templates/commentTemplateListM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 10 | 11 | 12 | 22 | 23 |
Comment Templates 6 | 7 | New Comment Template 8 | 9 |
13 | 14 | 15 | 16 | 17 | 18 | 19 | {show_commentTemplate("templates/commentTemplateListR.tpl")} 20 |
IDTemplateType
21 |
24 | {page::footer()} 25 | -------------------------------------------------------------------------------- /patches/patch-00088-patrick.sql: -------------------------------------------------------------------------------- 1 | 2 | -- add a field in timeSheetItem for the multiplier 3 | ALTER TABLE timeSheetItem ADD multiplier tinyint(4) NOT NULL DEFAULT '0'; 4 | 5 | -- default value for multipliers 6 | INSERT INTO config (name, value, type) VALUES ("timeSheetMultipliers", "a:5:{i:1;a:2:{s:5:\"label\";s:13:\"Standard rate\";s:10:\"multiplier\";s:1:\"1\";}i:2;a:2:{s:5:\"label\";s:15:\"Time and a half\";s:10:\"multiplier\";s:3:\"1.5\";}i:3;a:2:{s:5:\"label\";s:11:\"Double time\";s:10:\"multiplier\";s:1:\"2\";}i:4;a:2:{s:5:\"label\";s:11:\"Triple time\";s:10:\"multiplier\";s:1:\"3\";}i:5;a:2:{s:5:\"label\";s:9:\"No charge\";s:10:\"multiplier\";s:1:\"0\";}}", "array"); 7 | 8 | -------------------------------------------------------------------------------- /patches/patch-00150-alla.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS taskSearchable; 2 | CREATE TABLE taskSearchable ( 3 | taskID integer NOT NULL PRIMARY KEY, 4 | taskName varchar(255) NOT NULL default '', 5 | projectID integer DEFAULT NULL, 6 | FULLTEXT KEY `taskSearchable_taskName` (`taskName`) 7 | ) ENGINE=MyISAM; 8 | 9 | INSERT INTO taskSearchable SELECT taskID, taskName, projectID FROM task; 10 | 11 | CREATE INDEX projectID ON taskSearchable (projectID); 12 | CREATE INDEX taskName ON taskSearchable (taskName); 13 | 14 | INSERT INTO permission (tableName, entityID, personID, roleName, allow, sortKey, actions, comment) 15 | VALUES ('taskSearchable',0,NULL ,'',true,NULL,15,NULL); 16 | -------------------------------------------------------------------------------- /person/templates/personSkillFilterS.tpl: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 13 | 14 |
Skill(s)
11 | 12 |
15 | 16 |
17 | -------------------------------------------------------------------------------- /time/templates/timeSheetListM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 12 | 13 | 14 | 17 | 18 | 19 | 22 | 23 |
Time Sheets 6 | - {print count($timeSheetListRows)} records 7 | 8 | Show Filter 9 | New Time Sheet 10 | 11 |
15 | {show_filter()} 16 |
20 | {timeSheet::get_list_html($timeSheetListRows,$timeSheetListExtra)} 21 |
24 | {page::footer()} 25 | -------------------------------------------------------------------------------- /patches/patch-00167-alla.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Fix the case of the client statuses 3 | UPDATE clientStatus SET clientStatusID = 'Archived' WHERE clientStatusID = 'archived'; 4 | UPDATE clientStatus SET clientStatusID = 'Current' WHERE clientStatusID = 'current'; 5 | UPDATE clientStatus SET clientStatusID = 'Potential' WHERE clientStatusID = 'potential'; 6 | 7 | -- Just in case the database cascade doesn't work, update the client records 8 | UPDATE client SET clientStatus = 'Archived' WHERE clientStatus = 'archived'; 9 | UPDATE client SET clientStatus = 'Current' WHERE clientStatus = 'current'; 10 | UPDATE client SET clientStatus = 'Potential' WHERE clientStatus = 'potential'; 11 | 12 | 13 | -------------------------------------------------------------------------------- /time/templates/timeSheetTransactionListViewR.tpl: -------------------------------------------------------------------------------- 1 | 2 | {$transaction_transactionDate} 3 | {$transaction_product} 4 | {$transaction_fromTfID} 5 | {$transaction_tfID} 6 | {$currency_amount} 7 | {$transaction_transactionType} 8 | {$transaction_status} 9 |   10 | 11 | -------------------------------------------------------------------------------- /sale/templates/productListS.tpl: -------------------------------------------------------------------------------- 1 | {if $productListRows} 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | {foreach $productListRows as $r} 11 | 12 | 13 | 14 | 15 | 16 | 17 | {/} 18 | 19 |
ProductDescriptionPriceActive
{echo product::get_link($r)} {page::htmlentities($r["description"])} {page::money($r["sellPriceCurrencyTypeID"],$r["sellPrice"],"%s%mo %c")} {print $r["productActive"] ? "Yes" : "No"}
20 | {/} 21 | -------------------------------------------------------------------------------- /wiki/templates/newDirectoryM.tpl: -------------------------------------------------------------------------------- 1 | {$msg} 2 |
New Directory
3 |
4 | 5 |

6 |
7 | 8 |
9 | 10 |
11 | 14 | -------------------------------------------------------------------------------- /help/config_currency.html: -------------------------------------------------------------------------------- 1 | Main Currency 2 |

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 | 2 | 3 | 8 | 9 | 10 | 24 | 25 |
Transactions 4 | 5 | New Expense Form 6 | 7 |
11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | {show_transaction("templates/project_transactionItemR.tpl")} 22 |
IDTypeTFDescriptionDate ModifiedStatusAmount
23 |
26 | 27 | -------------------------------------------------------------------------------- /help/projectImport_types.html: -------------------------------------------------------------------------------- 1 | Import File Type 2 |

3 | The type of file being imported: 4 | 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 | 4 | 5 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 |
Reminders 6 | 7 | {if $current_user->have_role("admin") || $current_user->have_role("manage")} 8 | Show Filter 9 | {/} 10 | New Reminder 11 | 12 |
{show_reminder_filter("../reminder/templates/reminderFilter.tpl")}
19 | {reminder::get_list_html()} 20 |
23 | {page::footer()} 24 | -------------------------------------------------------------------------------- /help/productSale.html: -------------------------------------------------------------------------------- 1 | Product 2 |

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 | 14 | 15 | 16 | 19 | 20 | 21 | 24 | 25 |
Invoices 6 | - {print count($invoiceListRows)} records 7 | 8 | Show Filter 9 | {if $current_user->have_role("admin")} 10 | New Invoice 11 | {/} 12 | 13 |
17 | {show_filter()} 18 |
22 | {invoice::get_list_html($invoiceListRows,$_FORM)} 23 |
26 | {page::footer()} 27 | -------------------------------------------------------------------------------- /patches/patch-00124-alla.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /patches/patch-00238-alla.sql: -------------------------------------------------------------------------------- 1 | 2 | -- new task status for blocked tasks 3 | insert into taskStatus (taskStatusID,taskStatusLabel,taskStatusColour,taskStatusSeq,taskStatusActive) values ("pending_tasks","Pending: Tasks", "#f9ca7f", 55, 1); 4 | 5 | 6 | DROP TABLE IF EXISTS pendingTask; 7 | CREATE TABLE pendingTask ( 8 | taskID integer NOT NULL, 9 | pendingTaskID integer NOT NULL, 10 | PRIMARY KEY(taskID, pendingTaskID) 11 | ) ENGINE=InnoDB PACK_KEYS=0; 12 | 13 | 14 | ALTER TABLE pendingTask ADD CONSTRAINT pendingTask_taskID FOREIGN KEY (taskID) REFERENCES task (taskID); 15 | ALTER TABLE pendingTask ADD CONSTRAINT pendingTask_pendingTaskID FOREIGN KEY (pendingTaskID) REFERENCES task (taskID); 16 | 17 | -------------------------------------------------------------------------------- /help/config_allocEmailSubject.html: -------------------------------------------------------------------------------- 1 | Email Subject Lines 2 |

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 |

24 | 25 | -------------------------------------------------------------------------------- /patches/patch-00065-alla.php: -------------------------------------------------------------------------------- 1 | query($q); 11 | # 12 | #while ($db->next_record()) { 13 | # 14 | # list($probable_clientID,$client_percent) = get_clientID_from_name($db->f("invoiceName")); 15 | # 16 | # if ($client_percent > 80) { 17 | # $q = prepare("UPDATE invoice SET clientID = %d WHERE invoiceName = '%s'",$probable_clientID,$db->f("invoiceName")); 18 | # $db2->query($q); 19 | # } 20 | #} 21 | ?> 22 | -------------------------------------------------------------------------------- /patches/patch-00134-alla.php: -------------------------------------------------------------------------------- 1 | query($q); 8 | 9 | $q = "select clientID, clientPrimaryContactID from client"; 10 | $db->query($q); 11 | 12 | while ($row = $db->row()) { 13 | if ($row["clientPrimaryContactID"]) { 14 | $q = prepare("update clientContact set primaryContact = true where clientContactID = %d",$row["clientPrimaryContactID"]); 15 | $db2->query($q); 16 | } 17 | } 18 | 19 | $q = "alter table client drop clientPrimaryContactID"; 20 | $db->query($q); 21 | 22 | ?> 23 | -------------------------------------------------------------------------------- /patches/patch-00154-dinis.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /patches/patch-00049.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /patches/patch-00157-alla.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /patches/patch-00062-alla.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /patches/patch-00093-alla.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /reminder/templates/reminderSelectParentTypeM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 6 | 7 | 8 | 20 | 21 |
Add Reminder - Select Type
9 |
10 | Type: 11 | 14 | 15 | 16 | 17 | 18 |
19 |
22 | 23 | {page::footer()} 24 | -------------------------------------------------------------------------------- /patches/patch-00146-alla.php: -------------------------------------------------------------------------------- 1 | $arr) { 8 | 9 | // populate the timeSheetItemMultiplier table 10 | $q = "INSERT INTO timeSheetItemMultiplier 11 | (timeSheetItemMultiplierID,timeSheetItemMultiplierName,timeSheetItemMultiplierSeq,timeSheetItemMultiplierActive) 12 | VALUES 13 | (".$arr["multiplier"].", '".$arr["label"]."', ".$id.", true)"; 14 | 15 | $db->query($q); 16 | 17 | // update existing time entries 18 | $q = "UPDATE timeSheetItem SET multiplier = ".$arr["multiplier"]." WHERE multiplier = ".$id; 19 | $db->query($q); 20 | } 21 | 22 | 23 | ?> 24 | -------------------------------------------------------------------------------- /patches/patch-00090-alla.sql: -------------------------------------------------------------------------------- 1 | -- Change the taskCCList table into a generic interested parties table 2 | ALTER TABLE taskCCList RENAME TO interestedParty; 3 | ALTER TABLE interestedParty CHANGE taskCCListID interestedPartyID int(11) NOT NULL AUTO_INCREMENT; 4 | ALTER TABLE interestedParty CHANGE taskID entityID int(11) NOT NULL; 5 | ALTER TABLE interestedParty ADD entity VARCHAR(255) NOT NULL AFTER interestedPartyID; 6 | ALTER TABLE interestedParty ADD personID int(11) DEFAULT NULL AFTER emailAddress; 7 | ALTER TABLE interestedParty ADD clientContactID int(11) DEFAULT NULL AFTER personID; 8 | 9 | -- Update all the old taskCCList entries to be default to entity task 10 | UPDATE interestedParty set entity = 'task'; 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /patches/patch-00033.sql: -------------------------------------------------------------------------------- 1 | -- Fix typo in absence.absenceType 2 | ALTER TABLE absence CHANGE absenceType absenceType enum('Annual Leave','Holiday','Illness','Other') DEFAULT NULL; 3 | 4 | 5 | -- Stick a new config item in which dictates the first day of the calendar 6 | INSERT INTO config (name,value) VALUES ("calendarFirstDay","Sun"); 7 | 8 | -- Don't need eventFilter lines in permission table anymore. 9 | DELETE FROM permission WHERE tableName = "eventFilter"; 10 | 11 | -- New record into permission to allow admin to create absence records for users. 12 | INSERT INTO permission (tableName,entityID,personID,roleName,actions,sortKey,allow,comment) VALUES ('absence','','','admin','15',NULL,'Y','Allow all admin to manipulate all absence records.'); 13 | 14 | -------------------------------------------------------------------------------- /announcement/templates/announcementListM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 10 | 11 | 12 | 24 | 25 |
Announcements 6 | 7 | New Announcement 8 | 9 |
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | {show_announcements("templates/announcementListR.tpl")} 22 |
HeadingPosted ByDisplay FromDisplay ToAction
23 |
26 | {page::footer()} 27 | -------------------------------------------------------------------------------- /sale/templates/productSaleListM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 14 | 15 | 16 | 19 | 20 | 21 | 24 | 25 |
Sales 6 | - {print count($productSaleListRows)} records 7 | 8 | Show Filter 9 | Products 10 | New Product 11 | New Sale 12 | 13 |
17 | {show_filter()} 18 |
22 | {productSale::get_list_html($productSaleListRows)} 23 |
26 | {page::footer()} 27 | -------------------------------------------------------------------------------- /finance/templates/transactionRepeatListM.tpl: -------------------------------------------------------------------------------- 1 | {page::header()} 2 | {page::toolbar()} 3 | 4 | 5 | 6 | 11 | 12 | 13 | 26 | 27 |
Repeating Transactions 7 | 8 | New Repeating Expense 9 | 10 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | {show_expenseFormList("templates/transactionRepeatListR.tpl")} 24 |
NameStart DateEnd DateFrom TFDest TFStatus
25 |
28 | {page::footer()} 29 | -------------------------------------------------------------------------------- /patches/patch-00164-alla.php: -------------------------------------------------------------------------------- 1 | commit(); 16 | ?> 17 | --------------------------------------------------------------------------------