Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Add To Sessions
12-15-2016, 07:40 AM,
#1
How to Add To Sessions
If i Add A New Field In The Database For Companies Where Would I Go To register The session so i can call it like

$_SESSION['CompanyRecord']['gstno']


i Cant find This Anywhere
Reply
12-15-2016, 08:13 AM,
#2
RE: How to Add To Sessions
Hi Bill, it should be picked up automatically when you log in. Assuming gstno is the name of a field in the companies table.

Tim
Reply
12-16-2016, 12:34 AM,
#3
RE: How to Add To Sessions
yeah i thought so to but i can not get the companynumber feild to show on invoices every other feild show accept that one
Reply
12-16-2016, 12:56 AM,
#4
RE: How to Add To Sessions
Sorry Bill, I have just gone and checked the code and it seems I was wrong and it's not picked up automatically, you need to change includes/GetConfig.php

Tim
Reply
12-16-2016, 06:49 AM,
#5
RE: How to Add To Sessions
I normally store GST Number in "Tax Authority Reference:"
This is printed on all invoices etc... as required by Aussie and NZ and UK (for VAT Number)
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)