Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Announcing: Bonfire - a drop-in admin area
Post: RE: Announcing: Bonfire - a drop-in admin area

@"kilishan" Thanks
8,041 Views
24 Replies
08-04-2022, 04:24 AM
lazyme114
    Thread: FIFO / LIFO method in Inventory System
Post: RE: FIFO / LIFO method in Inventory System

InsiteFX Wrote: (05-30-2022, 12:58 AM) -- Sorry but I cannot find anything on the way you are describing, you will need to break the problem down into smaller problems and solve them one by one. ...
5,729 Views
11 Replies
05-30-2022, 03:40 AM
lazyme114
    Thread: FIFO / LIFO method in Inventory System
Post: RE: FIFO / LIFO method in Inventory System

Thanks for the reply. I read through the links and it helped me a lot. But my problem is a little bit different from them. I have to manage Purchase, Purchase Return, Sales and Sales Return in fifo me...
5,729 Views
11 Replies
05-28-2022, 11:48 PM
lazyme114
    Thread: FIFO / LIFO method in Inventory System
Post: RE: FIFO / LIFO method in Inventory System

InsiteFX Wrote: (05-27-2022, 12:22 AM) -- Not much on it I did find this one also is this what your looking for? Inventory Valuation — LIFO vs. FIFO (https://www.investopedia.com/articles/02/06050...
5,729 Views
11 Replies
05-27-2022, 02:10 AM
lazyme114
    Thread: FIFO / LIFO method in Inventory System
Post: RE: FIFO / LIFO method in Inventory System

Thanks for the reply, but I am looking for something that helps in valuation of product, cost of good of product and at the end profit / loss from that product. It needs some accounting concepts.
5,729 Views
11 Replies
05-26-2022, 11:40 PM
lazyme114
    Thread: FIFO / LIFO method in Inventory System
Post: FIFO / LIFO method in Inventory System

I have an inventory system with sales, purchase, purchase return , sales return and purchase addition. But I have to add FIFO / LIFO method in this system. What is the best way to do it. I haven't don...
5,729 Views
11 Replies
05-23-2022, 04:11 AM
lazyme114
    Thread: AJAX process stopping other requests.
Post: AJAX process stopping other requests.

I have an ajax function that takes from  1 minute up to 30 minutes depending upon data processing. But when the ajax function runs, other pages won't load. I tried many times but until the ajax comple...
1,308 Views
3 Replies
05-20-2022, 05:36 AM
lazyme114
    Thread: Should I update or delete and Insert?
Post: Should I update or delete and Insert?

I have a function where I have to process large amount of data, and some data may be repeated which needs to be updated. So I am looping through the data and updating if exists and if not inserting in...
996 Views
1 Replies
04-18-2022, 09:58 PM
lazyme114
    Thread: Need Help in advancing my knowledge base
Post: RE: Need Help in advancing my knowledge base

kenjis Wrote: (04-15-2022, 12:03 AM) -- If you want to know how to write test code, our book "CodeIgniter Testing Guide" https://leanpub.com/codeigniter-testing-guide might help you. To be hone...
1,445 Views
3 Replies
04-15-2022, 02:35 AM
lazyme114
    Thread: Attendance Process Taking Too long
Post: RE: Attendance Process Taking Too long

php_rocs Wrote: (04-13-2022, 06:05 AM) -- @"lazyme114" , Can you show us some code? -- This is the whole code: -  PHP Code: -- public function index() { try { $this->load->model(...
2,319 Views
6 Replies
04-13-2022, 11:28 PM
lazyme114
    Thread: Need Help in advancing my knowledge base
Post: Need Help in advancing my knowledge base

I have been working for almost 6 years. I can do projects fine. But, when it comes to optimization and refactoring, I know next to nothing. I don't know how to use design patterns. I don't know how to...
1,445 Views
3 Replies
04-13-2022, 08:06 PM
lazyme114
    Thread: Codeigniter Nepal
Post: RE: Codeigniter Nepal

Happy New Year to all !!
2,582 Views
2 Replies
04-13-2022, 07:56 PM
lazyme114
    Thread: Return No of rows as Days in between
Post: RE: Return No of rows as Days in between

JustJohnQ Wrote: (04-13-2022, 01:51 PM) -- You can't pull data from MySQL which doesn't exist. If it's that important I would loop through the returned data and add a blank record/object/array when I...
1,988 Views
5 Replies
04-13-2022, 07:54 PM
lazyme114
    Thread: Return No of rows as Days in between
Post: RE: Return No of rows as Days in between

Found New Way  PHP Code: --       SELECT * FROM bf_attendance where checkin >  2022-03-15 - interval 1 month -- but still if no data no row..
1,988 Views
5 Replies
04-13-2022, 05:37 AM
lazyme114
    Thread: Return No of rows as Days in between
Post: RE: Return No of rows as Days in between

badger Wrote: (04-13-2022, 02:47 AM) -- group by date -- it would have worked. but I want data even if that days data doesn't exists. maybe an empty row or something like that.
1,988 Views
5 Replies
04-13-2022, 02:50 AM
lazyme114
    Thread: Return No of rows as Days in between
Post: Return No of rows as Days in between

Hi all, I am doing something like this:-  PHP Code: --     $query = $this->db->where(array(         'user_id' => $user_id,         'date(start) >=' => $start_date,         'date(end)
1,988 Views
5 Replies
04-13-2022, 02:32 AM
lazyme114
    Thread: Attendance Process Taking Too long
Post: RE: Attendance Process Taking Too long

ignitedcms Wrote: (04-12-2022, 10:30 PM) -- Another thing to add, although I'm not too much of a fan of async and await in PHP, is that 8.1 ships withs 'fibres' So you could potentially async and ...
2,319 Views
6 Replies
04-12-2022, 11:20 PM
lazyme114
    Thread: Attendance Process Taking Too long
Post: RE: Attendance Process Taking Too long

php_rocs Wrote: (04-12-2022, 07:52 AM) -- @"lazyme114" , There could be a combination of things that could be looked at to determine where the bottle neck is.  Here are some questions you might wa...
2,319 Views
6 Replies
04-12-2022, 10:03 PM
lazyme114
    Thread: Attendance Process Taking Too long
Post: Attendance Process Taking Too long

I am working on a attendance management system, It gets data from device and saves it on a table (this part is fine since i dont have to do anything for this the device api does it for me.) . What I h...
2,319 Views
6 Replies
04-12-2022, 12:57 AM
lazyme114
    Thread: How to handle Large no of inputs
Post: RE: How to handle Large no of inputs

It seems that I only need to change the insert query to insert_batch it reduced the time significantly. Thanks for all your suggestions anyway.
3,197 Views
7 Replies
04-11-2022, 01:17 AM
lazyme114

Theme © iAndrew 2016 - Forum software by © MyBB