how can i add a class to (Jquery UI Datepicker) fo half day checkin and half day checkout - jquery-ui-datepicker

how can I add a class to (Jquery UI Datepicker) for half day check-in and half-day checkoutenter image description here

Related

Pagination list item comes on top of date picker calendar in asp.net cshtml . . . how can I avoid this?

I have used jquery based a date picker. It is working fine but when the pagination list item below that is coming on top of the calendar making it awkward.. I am using bootstrap for the css. How can I modify the bootstrap class of the pagination list item so that it will not come on top of calendar?
click here for the screen shot of aforementioned issue

Regarding the product price that goes into the cart along with the product

In backend admin panel following these steps: Catalog -> Products -> (I select the product I need) -> Edit -> Special. I insert the special price I want and it displays in Frond End in the product page. The Price which is in Data appears as CUT and the price I inserted in Special appears uncut. For example: [strike] 100.00[/strike] 90.00. My main question is: When I click Add to cart in the product page I want the the main price to go in the cart not the Special one. The client wants to see the special price but the price that goes into the cart to be the main price.
Many thanks
Special Price is actually the discounted price of a product. So, if a product is of 100 then we can sell it for 90 on some festival seasons. That's when you should use special price. Regarding your specific requirement, you should either flip the values entered in special and base price (But the special price will now have strikethrough) OR you need to alter the code.

Big Cartel: Method to remove a country from the shipping dropdown menu?

First post here, so let me know if I have omitted anything that's needed!
I'm trying to figure out a method to remove a country from the dropdown menu that is available on the cart page on our Big Cartel store, used for selecting the country of delivery.
FYI I'm not a developer, just a hands-on tech type person who helps run a small company.
I'll paste the code below that displays the dropdown. From my understanding, it is pulling the list of shipping countries via an array(?) called country_select.
As I don't have access to that array (confirmed with Big Cartel that I cannot exclude a country using their UI), is it possible to exclude one item when displaying the dropdown list?
<div class="cart-shipping">
<label for="country"><span>Shipping to:</span></label> {{ store.country | country_select }}
</div>
EDIT: hired someone who wrote a script to achieve this.

ODOO Pricelist | How to set the base price PUBLIC PRICE to not get modified based on the discount applied.?

I'm using the ODOO pricelist for sales.order and invoice. The issue i'm facing is : I create a PRICELIST, and add PRODUCT-X with a rule of NEW PRICE = BASE PRICE(PUBLIC PRICE) x (23%) where the Product's Sale Price in Warehouse is set to let's say 770 and the discount is 23 percent - The discount gets applied to 770 the first time = 592.9- then once the product is added for a second time the 770 is no longer used as a base price, but the 592.9 is used and a 23 percent discount is applied and so forth...
So we have non-stable PRODUCT_X Public Price.
Please view the image below to get a clear picture of what goes on, i want the PUBLIC PRICE to not change automatically... If someone could give me advice, or if there's any module out there on the Odoo apps..
**NOTE IN THE IMAGE BELOW: the PRIX PUBLIC field is French for LIST PRICE
& the REMISE field is DISCOUNT
Now at the end we will have a look at the Product's PUBLIC PRICE and it will be 351.53 instead of 770 (we set at the beginning).
Thanks alot,
PROBLEM SOLVED
I removed this code in my sale_order.py
product_obj = self.pool.get('product.product')
if 'price_unit' in vals:
for this in self.browse(cr,uid,ids,context):
if this.product_id:
price_unit = vals.get('price_unit',0.0)
if this.product_id.lst_price != price_unit:
product_obj.write(cr,uid,[this.product_id.id],{'lst_price':price_unit})
It was making the PUBLIC PRICE updated from the order line for every addition.
Thanks #CZoellner for your valuable help - a reminder that the process wasn't running normally.

Repeating Rows in custom list

I'm trying to create a mileage reimbursement log in sharepoint13 but can't use infopath because I was told by my super that it would require licenses for all users. So the form I wanted to create is formatted something like this:
Emp Name_______________
Date____________________
Ceneter Num_____________
======================================================================================
From Dest______________ To Dest____________________ Mile___________________________
click to add row
Total miles_______________________
======================================================================================
trip purpose___________________________________________________________________________
comments________________________________________________________________________________
SUBMIT
I'm having a problem with the center section, id like the from dest, to dest, mile to repeat by clicking the add row link but I can't find much info out there to do this other than using using info path. After I create this I need to set up a workflow to email the director for approval and then once approved send email to finance dept to process form