Wednesday, September 16, 2020

Re: How to calculate appreciation in django

m concen is how I can calculate appreciation...the formula

On Wed, Sep 16, 2020 at 10:37 PM coolguy <cooldjangoprogrammer@gmail.com> wrote:
Did you setup the limits and maintenance dates in your asset models?

If yes, then did you create any view that is available to designated user who can run that report to see what is due for maintenance and re-ordering.

Please share more detail..

On Wednesday, September 16, 2020 at 12:03:56 PM UTC-4 ernes...@gmail.com wrote:
This is an example of a reorder level function in views.py
def reorder_level(request, pk):
queryset = Asset.objects.get(id=pk)
form = ReorderLevelForm(request.POST or None, instance=queryset)
if form.is_valid():
instance = form.save(commit=False)
instance.save()
messages.success(request, "Reorder level for " + str(instance.item_name) + " is updated to " + str(instance.reorder_level))
return redirect("list_items")
context = {
   "instance": queryset,
   "form": form,
}
return render(request, "add_items.html", context)

On Wed, Sep 16, 2020 at 6:58 PM Ernest Thuku <ernes...@gmail.com> wrote:
The system is a managing system whereby you maage Items like the stock system, this one manages assets likes furniters,computers etc. The item is added in the system and the system can be able to offer an alert when a certain item is below where the reorder level is. The system can also be able to alert on maintenance dates whereby after a certain period it alerts it need to be maintained. I wanted to add a functionality whereby the system can be able to calculate either depreciation or appreciation on the asset.


On Wed, Sep 16, 2020 at 6:47 PM Akorede Habeebullah <hda...@gmail.com> wrote:
Can you be more elaborate?
How does the system work?

Akorede Habeebullah A.


On Wed, Sep 16, 2020 at 4:43 PM Ernest Thuku <ernes...@gmail.com> wrote:
Hello guys,
I have developed a system to manage assets. It is more like a stock management system whereby the system has a reorder level and such. Anyone who can help me to apply appreciation/depreciation code?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPsfuoeLeeXJx3ZGA8X8vD3t1W7CYb3xi2t9%2BLUqXpdFuHD_0Q%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK37-gO5qosxEpK7ULb9GxCfBq4ky2MYqOf_7WkDCxQBo%2BiZBQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2d47a010-e347-4d2a-8ac4-416fa89ff815n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPsfuoePSdtA7x1qWJ6TXchtKOCRqU9ztzr2_ne6_QyWe9GOCQ%40mail.gmail.com.

No comments:

Post a Comment