IS_IN_DB(db, 'cal_day.id', '%(id)s %(name)s', zero='Select a
> day'), ondelete='RESTRICT', notnull=True, label='Day *'),
>
> Doesn't zero = '*Whats your place of operations?'* do what you want?
>
>
> Annet
> Op vri
Is there a way to create a placeholder for a reference field?
e.g:
{{
*Field('place', 'reference locations', label=SPAN('Place of operations'),
widget=lambda field, value: SQLFORM.widgets.reference.widget(field, value,
_placeholder="Whats your place of opera
n send them.
>
> Does that help?
>
> (or, please correct me if my understanding of your problem is still off)
>
> -Jim
>
>
> On Tuesday, September 1, 2020 at 11:59:02 AM UTC-5, mostwanted wrote:
>>
>> Hey Jim, I'm failing to understand the scheduler, please if
ia session and of course via the database. If you have no
> output in the DIV, the user won't see anything about your mailer.
>
> Could this be an solution for you? If yes, do you know what to do or do
> you need more detailed information?
>
> Regards
> Clemens
>
> On
> redis-queue? But, they are a bother because then you have more services
> you need to grok, start up and manage. The web2py scheduler takes care of
> all of that for you. Let me know if you want to see a sample of how we
> handle it.
>
> -Jim
>
>
> On Tuesday, Septe
e my question is clear.
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Go
๐ ๐ ๐ ๐ ๐ ๐ Ok Ramos, I'll put in some effort
On Tuesday, August 25, 2020 at 6:56:22 PM UTC+2 Ramos wrote:
> If the vote was made by a logged in user you should find it in the db
> right ?
>
> Em ter., 25 de ago. de 2020 ร s 17:31, mostwanted
> escreveu:
>
>
in.
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"w
Hey guys i'm still struggling with the *add to home screen* prompt, please
look at my code above & suggest something. Help me to get this to work. I
really need this functionality, please help me.
Regards;
Mostwanted
On Friday, May 29, 2020 at 12:46:38 AM UTC+2 mostwanted wrote:
>
gluon.contrib.sms_utils import SMSCODES, sms_email
email = sms_email('+000 (00) 000-000','Orange')
mail.send(to=email, subject='sms test', message='testing testing 123')
Regards
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Document
Complements Chris, this is really impressive work. I see you have tested on
debian is it platform specific or will it run on any OS?
On Monday, August 3, 2020 at 8:25:23 AM UTC+2, Christian Varas wrote:
>
> Hello all.
> I'm glad to announce WAF2PY 1.0 ๐๐๐
>
> *What is this?*
>
> WAF2PY is a Web
Has anyone applied some machine learning to their web2py projects? I wanna
apply some recommendations capabilities to my app but i dont know how its
gonna work out, if there are any example projects I'd appreciate the
direction.
Regards;
Mostwanted
--
Resources:
- http://web2py.com
-
nuck into your db. Can you write a
> quick python script to scan through the data in all your tables to see
> which records won't pickle?
>
> -Jim
>
> On Saturday, August 1, 2020 at 12:23:04 AM UTC-5, mostwanted wrote:
>>
>> Hey Jim, thats the traceback below
s\dal\pydal\migrator.py", line 323, in
create_table
sql_fields_old = pickle.load(tfile)
File "pickle.py", line 1384, in load
File "pickle.py", line 864, in load
KeyError: '\x00'
On Friday, July 31, 2020 at 8:12:10 PM UTC+2, Jim S wrote:
>
>
dding
*db*
*.define_table(, migrate=True)?*Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are sub
ut'],
vars=dict(_next=URL('index')))}}";
}
else {
setTimeout(refresh, refreshrate);
}
}
setTimeout(refresh, refreshrate);
refresh();
On Thursday, July 30, 2020 at 5:57:19 AM UTC+2, mostwanted wrote:
>
> The answer is he
rchin/web2py/expiration%7Csort:date/web2py/um2Ll4vmNH4/VnYX4veOAwAJ>should
>
> help
>
>
> On Wednesday, 29 July 2020 08:41:46 UTC+1, mostwanted wrote:
>>
>> Hi guys, is there a way to force a redirect to a login page when a
>> session expires to prevent users fr
Hi guys, is there a way to force a redirect to a login page when a session
expires to prevent users from entering values in a page with an expired
session?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.g
ts.
>
>
> On Thursday, 23 July 2020 12:50:00 UTC+1, mostwanted wrote:
>>
>> Well the whole concept behind this application was that allocation of
>> spaces in time, days & class rooms should be automatic, the user should
>> just select the lecturer, the
th random choices seems
> strange.
> Why not ask the user to specify a date and then show him which classes are
> available nearest that date/time?
> He can then choose one of those.
>
>
> On Wednesday, 22 July 2020 19:04:27 UTC+1, mostwanted wrote:
>>
>> Afte
Is there a way to define the port in a bat script that launches the app?
On Thursday, July 23, 2020 at 9:16:28 AM UTC+2, AGRogers wrote:
>
> I think you just need to run each on a different port.
>
> On Thu, 23 Jul 2020, 3:57 pm mostwanted, >
> wrote:
>
>> Hi Guys,
(db.lecture).select()
form=SQLFORM(db.lecture)
if form.process(onvalidation=my_validator).accepted:
response.flash=T('Submitted')
return locals()
This is the concept thats in my head, where can I fix it?
Regards;
Mostwanted
--
Resources:
- http://web2py.com
-
get bumbled up
together the computer cant differentiate between the two.
Regrads;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received
After a form has failed to save because that information already exists in
the database I wanna try & alter the value that determines a day where the
info is saved in the db for the form to be saved in a different day that
does not contain similar form details currently attempting to be saved an
Impressive outlook Villas, thank you.
On Tuesday, July 21, 2020 at 12:16:29 PM UTC+2, villas wrote:
>
> Your my_validator function iterates through the whole table. This is OK
> when you have a few records, but very inefficient if you have
> thousands/millions. Why not simply query the table?
> the python version you're using. In this way web2py's book application will
> be able to use it ;-)
>
> Nico
>
>
> Il giorno lun 20 lug 2020 alle ore 10:53 mostwanted > ha scritto:
>
>> I have downloaded the web2py book app but when I try to
y web2py's book application will
> be able to use it ;-)
>
> Nico
>
>
> Il giorno lun 20 lug 2020 alle ore 10:53 mostwanted > ha scritto:
>
>> I have downloaded the web2py book app but when I try to open from my
>> laptop i get this error flashing:
&
I have downloaded the web2py book app but when I try to open from my laptop
i get this error flashing:
*web2py book error ImportError: Requires pygments module, but it is not
available!*
I am using web2py Version 2.20.4, how do I resolve it?
Regards;
Mostwanted
--
Resources:
- http
uble
session', 'evening single session', 'evening double session'], zero='Select
A Session Period')),
Field('the_time2', readable=False, writable=False),
Field('class_room', requires=IS_IN_SET(['500',
27;, '505', '506'], zero='---Select A Class Room---')),
Field('controller', readable=False, writable=False),
Field('posted_by', 'reference auth_user', default=auth.
user_id, readable=False, writable=False))
Thank you
On Saturday, July 18, 2020 at 10:16:09 PM UTC+2, Dave S wrote:
>
>
>
> On Friday, July 17, 2020 at 2:38:43 AM UTC-7, mostwanted wrote:
>>
>> Hey Dave, thanks for replying,
>> This below is what I tried & it seems to be working, idont know if the
>&g
t: bold;")
def index():
details=db(db.lecture).select()
form=SQLFORM(db.lecture)
if form.process(onvalidation=my_validator).accepted:
response.flash=T('Submitted')
return locals()
On Friday, July 17, 2020 at 8:12:17 AM UTC+2, Dave S wrote:
>
>
>
>
with a flag message that warns the
system user of a conflict thats causing failure to submit. (I have it in my
head but i'm failing to put it on code)
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web
This is very impressive Villas, you see, this is what I meant by a better
way of doing this, thank you.
On Thursday, July 16, 2020 at 11:56:01 AM UTC+2, villas wrote:
>
> Hi Mostwanted
> We always can optimise our code.
> The dict could have keys for each possible session. Then y
ated.
On Wednesday, July 15, 2020 at 11:20:01 PM UTC+2, villas wrote:
>
> We all have our styles of programming. I would probably create a dict of
> times.
> But any idea which works is fine. Everyone looks at their old code and
> sees a better way.
> My motto is: get something
>> sees a better way.
>> My motto is: get something working and move on!
>>
>>
>>
>> On Wednesday, 15 July 2020 19:26:33 UTC+1, mostwanted wrote:
>>>
>>> Thank you Villas, i updated my controller like this & its giving
>>> resu
:
evening_double_session_times=['1730-1930']
the_time=random.choice(evening_double_session_times)
form.vars.the_time2=the_time
@auth.requires_login()
def index():
form=SQLFORM(db.lecture)
if form.process(onvalidation=my_form_processing).accepted:
re
me
'''
if db.lecture.class_session=='single session':
the_time=random.choice(single_session_times)
db.lecture.session_time.default=the_time
elif db.lecture.class_session=='evening single session':
the_time=random.choice(evening_single_session_times)
tp://loudev.com/)
> "We strongly suggest using the jQuery multiselect plugin to render
> multiple fields."
>
> It's designed for multiselect obviously but i don't see why it
> couldn't be adjusted to be used as a nice way of searching for and
> selecting a si
7;---Select Level of Study---')))*
If the above is not possible at all whats an alternative to solving my
challenge (With exaples please ๐)
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- http
;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users"
at the inner-joins I just dont get how I can apply them
here, a small example with regards to issue would go a long way.
Thank you ๐
On Friday, June 12, 2020 at 9:49:04 AM UTC+2, Dave S wrote:
>
>
>
> On Thursday, June 11, 2020 at 8:55:16 AM UTC-7, mostwanted wrote:
>>
>>
ial_place
form=SQLFORM(db.temperatures)
if form.process().accepted:
response.flash=T('Temp Recorded')
return locals()
But this gives me an error:
invalid literal for long() with base 10:
I read somewhere that this occurs because
*reference fields are intended to store
I achieve this because?
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to
readable=False, writable=False),
.
.
.
Regards;
Mostwanted
On Wednesday, June 3, 2020 at 8:22:00 PM UTC+2, mostwanted wrote:
>
>
> Hi guys has anyone ever tried this solution by Massimo & Nyphold (
> http://luca.dealfaro.org/code/web2py-recipes/utc-to-loc
ewhere in the Layout): *
{{if is_timezone_unknown:}}
$(function() {
var tz_name = jstz.determine();
$.get("{{=URL('default', 'set_timezone')}}", tz_name);
});
{{pass}}
I wanna believe this is how this solution is used but I am not getting
results!
Thank you Dave, I'm just seeing you reply today but totally appreciated.
On Friday, April 24, 2020 at 8:59:05 AM UTC+2, Dave S wrote:
>
>
>
> On Saturday, April 18, 2020 at 8:57:59 AM UTC-7, mostwanted wrote:
>>
>> I want to download an image but i want it to
zes": "144x144",
"type": "image/png"
},
{
"src": "/init/static/images/icon_152x152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "
%7Csort:date/web2py/rHBfs1zFG44/gKS6EOmlAgAJ
nothing is working, if anyone has a way to achieve this with web2py i'd
appreciate your assistance.
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
e) curr_image=0;
show_image(id,curr_image);
}
//-->
{{=title}}
ยซ
{{for i in range(len(images)):}}
{{=i+1}}
{{pass}}
ยป
ย
{{=images[0].title}}
Regards;
Mostwanted
--
Resources:
- http://web2py.com
-
Nice one
On Thursday, April 30, 2020 at 9:14:48 PM UTC+2, Scott Hunter wrote:
>
> Would this do the job?
>
> form = SQLFORM.factory(*fields)
> if form.process().accepted:
> # update the database here
> form2 = SQLFORM.factory(*fields)
> form2.vars['state'] = form.v
*
{{for details in details:}}
{{=details.name}} *Download Image*
{{=details.place}}
{{pass}}
*DOWNLOAD FUNCTION*
def download():
return response.download(request, db)
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http
7;force' the hotel you want by using SQLFORM onvalidation
> <http://www.web2py.com/books/default/chapter/29/07/forms-and-validators#onvalidation>
>
>
>
> On Tuesday, 25 February 2020 07:28:31 UTC, mostwanted wrote:
>>
>> I have 2 tables about a hotel, one tab
GTH(200)),
Field('lunch_price'),
Field('lunch_details', 'text', requires=IS_LENGTH(200)),
Field('breakfast_price'),
Field('breakfast_details', 'text', requires=IS_LENG
if not sent:*
*response.flash = 'Error sending message, please use email.'
*
return dict(form=form)
Regards;
On Sunday, February 23, 2020 at 8:03:04 PM UTC+2, Scott Hunter wrote:
>
> What error did it give you? Are you sure `details.email_address` is
> defin
I did try it without the quotes & it still gave me an error!
On Sunday, February 23, 2020 at 2:59:04 PM UTC+2, Scott Hunter wrote:
>
> Did you try removing the quotes around the address?
>
> - Scott
>
>
>
> On Saturday, February 22, 2020 at 4:56:04 PM UTC-5, mostwant
7;
% form.vars,
subject=form.vars.subject,
message = '%(message)s \nName: %(name)s \nEmail Address:
%(email)s \nCell Number: %(cell_number)s' % form.vars)
response.flash = T('Thank you, your form was submitted')
#redirect(U
setTimeout(doSlideshow,1000);
});
}
Even a simple script such as this one cant do it, i'm suspecting there is
something wrong with way i'm calling the images, the path i'm giving,
please help
$(document).ready(function(){
$(".background2").css("backgro
one has a better
way of solving my problem please assist! What I want is to use the {{ rows
}} variable in another function like calling it in another function but I
cant in web2py, i am getting an error, maybe i'm doing it wrong, show me
how to do it.
Regards;
Mostwanted
On Thursday,
pted:
q = ((db.birthdays.bornday >= form.vars.start_date)
&(db.birthdays.birthday
<= form.vars.end_date))
rows = db(q).select()
return locals()
& it worked, but now I am facing a-little challenge, I want to use he
results of rows in another function called clients,
#x27;)
if form.accepts(request):
tokens=form.vars.SEARCH.split()
query=reduce(lambda a,b:a&b, [db.birthdays.contains(k) for k in
tokens])
people=db(query).select(orderby=db.birthdays.Person)
else:
people=[]
return locals()
Regards;
Mostwanted
--
Resources:
-
gt; iโm quite sure that exist a switch like โsearchable=Falseโ to disable the
> search field.
> Usually I get this error when the attribute on sqlform that Iโm trying to
> modified does not exist, maybe check the correct Index of the list.
>
>
> Cheers.
>
> El El sรกb,
rch button
grid[0][1][0][2] = '' #remove clear button
..
..
But now when I click on the edit button for the field I want to edit I get
an error:
list index out of range
Whats causing this error & how can I fix it??
Regards;
Mostwanted
--
Hi guys, I was able to remove the export classes
*exportclasses=dict(xml=False, html=False, json=False, csv=False,
tsv=False, tsv_with_hidden_cols=False, csv_with_hidden_cols=False))*
but now the *Export:* label is left all alone, is there a way to remove
it???
Regards;
--
Resources:
- http
tried writable=False
>
> When a field is marked with writable=False, the field is not shown in
> create forms, and it is shown readonly in update forms. If a field is
> marked as writable=False and readable=False, then the field is not shown
> at all, not even in update forms.
> marked as writable=False and readable=False, then the field is not shown
> at all, not even in update forms.
>
> db.table.var.readable= db.table.var.writable=False
>
> Em ter., 28 de jan. de 2020 ร s 13:21, mostwanted > escreveu:
>
>> I did employ this method (db.quotati
, 2020 at 12:50:31 PM UTC+2, Ramos wrote:
>
> Look in the docs
>
> http://web2py.com/books/default/chapter/29/07/forms-and-validators
> in your controller before showing your form,
>
> db.yourtable.yourfield.readable=False!!!
>
> Em ter., 28 de jan. de 2020 ร s 10
for
SQLFORM()?
I have some fields which only do calculations in my db tables & those are
the fields I wanna hide during updates.
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.goog
e a link that when clicked calls the above js function
like this:
Click to Download as PDF
This should convert you view into PDF or Image as per the usage of both
liraries.
I hope the maintainers of the jsPDF & html2pdf libraries have not made
adjustmets that may cause this not to wor
. In
> this case, the whole DIV with the link will be deleted.
>
> A typical application is:
>
> {{=A('click me', callback=URL('myaction'), delete='tr')}}
>
> in a table. Using the link will perform the callback and delete the table
> row.
>
>
aram
> see here...
> https://groups.google.com/forum/#!topic/web2py/V_e_c7h0l3A
>
> Em sex., 24 de jan. de 2020 ร s 08:54, mostwanted > escreveu:
>
>> I have been using the ajax function alot lately, there is a level of
>> neatness about it.
>> What I wanna do is to
():if db(db.quotation.id is not None):
redirect(URL('View_Quotation', args=(session.detailsQuote.id)))
else:redirect(URL('registeredClients'))return locals()*
*VIEW*
{{=A('Delete',callback=URL('deleteQuoteItem', args=quote.id)
{{=A('View Quotation', _href=URL('View_Quotation',
args=session.quotation.id))}}*
QUOTE A CLIENT
You are advised to Quote up to a maximum of 20 items in a
single Quotation for a clear and readable Quotation.
*{{=LOAD('default',
r a clear and readable Quotation.
*{{=LOAD('default', 'quotationLoad.load', ajax=True)}}*
TOP
I am not sure if my question is clear, but if I could achieve this it
would be great for my application. Or alternatively help me find a way to
prevent my page from s
Thanks alot Tim, this is all i did:
{{for bookings in bookings:}}
*Quoted*
{{pass}}
The red line above replaced alot of clearly unnecessary code!
Regards;
Mostwanted
On Tuesday, January 21, 2020 at 2:26:35 PM UTC+2, Tim Nyborg wrote:
>
> Simplest fix: use "any" instead:
&g
;
}
.blue
{
background-color: blue;
color: white;
font-weight: bold;
font-size: x-small;
}
*VIEW*
{{for bookings in bookings:}}
{{for q in quotes:}}
{{quoted=[q.customer.company]}}
Quoted
{{pass}}
{{pass}}
Please help!!!
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2p
gisteredClients'))
return locals()
Regards;
Mostwanted
On Tuesday, January 8, 2019 at 7:44:48 AM UTC+2, mostwanted wrote:
>
> With regards to validation considering the scope of the app i'm working
> on, i will be using @auth.requires_membership() to control and restrict who
>
The problem is when i click a link to go to other pages the links only
works at loading the gif, they dont re-direct to relevant requested pages!
What am i doing wrong? How can I fix it?
*loading.load*
*LOADING SCRIPT*
#loading
{
visibility: hidden;
}
$(document).rea
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users&q
']/*
> *100.0**)*float(r['unitPrice']))),*
>
>
> *??*
>
>
> *but why integer?*
> *you will have no precision.*
>
>
>
> Em segunda-feira, 13 de janeiro de 2020 13:54:25 UTC-3, mostwanted
> escreveu:
>>
>> I'm trying to calc
7;, compute=lambda r:
(float(r['markup'])/100*float(r['unitPrice']))),*
On Monday, January 13, 2020 at 6:54:25 PM UTC+2, mostwanted wrote:
>
> I'm trying to calculate a required percentage value for the entered figure
> but i am getting the wrong answer
>
> Field
loat(r['unitPrice']))),*
Field('markedupPrice', 'float', compute=lambda r: round(float(r['unitPrice'
])+r['markupCalc'])),
On the code above I'm getting the markupCalc field wrong and it affects the
markedUpPrice value. How can i correctly calcu
Hi guys, complements of a new year.
I was wondering if there is a way to style the view page of an SQLFORM.grid
displayed by the view button? How do I override the default view page
styling?
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
trptime(r['returning_date'], '%Y-%m-%d') - datetime.strptime(r[
'loaning_date'], '%Y-%m-%d')).days))
The highlited field saves a None value which is not what i am trying get!!
Please help!
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Do
Hi @Valdeck Rowe, i wan to know if this approach worked for you in your
PWA development. Were there any developments or changes to this approach?
I am asking because i was hoping to use your approach in my desperate
attempt at making one of my apps a PWA.
Regards;
Mostwanted
On Wednesday
abled'. If it doesn't work, I think you can try to
> use hide(), or prop('disabled', true)
>
>
> On Friday, September 27, 2019 at 6:48:54 AM UTC-4, mostwanted wrote:
>>
>> I'm using SQLFORM.factory() to capture a specific detail but i want it to
session.ref2=request.vars.Quotation_reference
return locals()
*VIEW*
{{extend 'layout.html'}}
$(document).ready(function(){
$('{{=qtnBtn}}').click(function(){
$('{{=qtnBtn}}').attr('disbled', true);
});
}
What i want to achieve is to disable the quantity button in my shopping
application that allows buyers to select the number of items they want if
their number exceeds the number of available items. In my mind I can only
achieve this if i were able to check first the quantity of the items we
hav
to do is to calculate for answer_x by subtracting the
previously entered value of reading_x from the newly entered value of
reading_x.
How can i achive my task?
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
Thanks again Paco Bernal, I can finally move on to other things.
Regards;
Mostwanted
On Sunday, September 15, 2019 at 1:01:02 PM UTC+2, Paco Bernal wrote:
>
>
>
> * Is there a way i could choose what gets displayed in the view & what
>> doesn't get displayed from
the hidden class we
pass in the codition was not defined in your solution. Nonetheless it works
like a charm. Thank you very much.
Regards;
Mostwanted
On Sunday, September 15, 2019 at 12:30:35 PM UTC+2, Paco Bernal wrote:
>
>
>
> Maybe this can help
>
>
> .refill {
&g
x27;t
know why!!!
On Sunday, September 15, 2019 at 9:19:46 PM UTC+2, Dave S wrote:
>
>
>
> On Fri, Sep 13, 2019 at 2:31 PM mostwanted wrote:
>>
>>> This conditional statement should be simple & execute without any
>>> issues, I have created a point of Sale
lse
{
$('span.quantity').css({'color':'green'});
$('.refill').hide();
}
});
{{=idx}}
{{=p.Quantity}} Please Refill
...
...
...
...
}}
But this is a desperate move, if *data-id={{=p.id}} *was in a link then
something would probubly happen, maybe, i feel only a pure python script
could work here.
* Is there a way i could choose what gets displayed in the view & what
doesn't get displayed from the database table based on
Sorry @villas its just a bad habit that i have somehow over time gotten
used to but i will heed your advice, thank you.
Mostwanted
On Thursday, September 12, 2019 at 12:43:29 PM UTC+2, villas wrote:
>
> for item1 in item1:
>
> I mentioned this to you before -- please do not do this!
ue,price = db.product(key).price)
Regards;
Mostwanted
On Thursday, September 5, 2019 at 7:59:21 AM UTC+2, mostwanted wrote:
>
> I have a website where I am selling items, what I desperately want to
> achieve is to be able to show the buyers the remaining number of each item.
> I have 2 ta
)
Anyone who can do this better please help.
Regards;
Mostwanted
On Thursday, September 5, 2019 at 8:21:56 AM UTC+2, Dave S wrote:
>
>
>
> On Wednesday, September 4, 2019 at 10:59:21 PM UTC-7, mostwanted wrote:
>>
>> I have a website where I am selling items, what I desp
oiceNo)
>From what you said I felt if i could identify the sold items in the sale
table and match them against the items in the product table and then from
there update those that have the same id. As a concept in my head its easy
but implementing it goes side ways:
Mostwanted
On Thursday
mer buys whatever number of
items a new figure showing reduction in number of items should be displayed.
Regards;
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
ow I could
rectify this please assist.
Regards
Mostwanted
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscri
101 - 200 of 432 matches
Mail list logo