How we can edit tax percent on Edit order page
admin panel->sales->orders->view->orderview->edit order
as you can see in the screenshot I've made the tax percent field editable now what I want from this is when the admin clicks the 'Update Items and Qty`s' button the tax percent (Which I made editable) also get updated with ref. to that order and the grand total of that order will be calculated by the updated tax percent.
will appreciate any suggestion to achieve that.
Thanks.
Related
What I would like to get is the Gross Margin % of the Revised Budget cell (11%) and place in a text box at the top of the page so it stands out a little more.
This is my current dataset output and also what is rendered in the table.
Header
Original Budget
Change Orders
Revised Budget
Contract Value
1000
0
1000
Labor
500
500
100
Gross Margin %
10%
10%
11%
I have tried using some IIF statements but that seems to only pull from the aggregate of the dataset and have looked at the LOOKUP function but that seems to only target a row.
Something I tried that isn't working - doesn't look right anyway
=Fields!Header.Value = "Gross Margin %" and Fields!Revised_Budget.Value = "Revised Budget"
If someone could point me in the direction of the correct function that would be great.
Running SSRS 2012.
Here is the report design
The row you need the value from is a group total, then you should be able to use the ReportItems collection and add a reference to actual textbox.
In your example, click the cell that you want to repeat (the one at the bottom of your report) and find its name from the properties panel, some like TextBox99.
Then in the textbox at the top, set the expression to
=ReportItems!textBox99.Value
That should be it.
I ended up using the Lookup function. The first value is name of the value from the Header column that I was looking for. The last value is the which data I want to return and that is the Revised_Budget value from the ProjectCosts dataset.
=LOOKUP(
"Gross Margin %",
Fields!Header.Value,
Fields!Revised_Budget.Value, "ProjectCosts"
)
I have a business PayPal account. I have added an installment button for a product on my website. On checkout, the tax is not calculated or added to total. My tax table in PayPal is correct. I notice that the Buy Now buttons have tax instructions when you create them but the Installment Button does not.
I searched the Questions already asked and thought I found the answer by adding the following code to the button html. It didn't work.
<input type="hidden" name="tax_rate" value="5">
How do I add the 5% tax to Payment 1 and to Payment 2 and it shows on the checkout and the invoice?
I have a limited understanding of html and I am hoping it is something simple.
You cannot add tax as a separate line item as Installment Plans accept only one "amount" to spread out over the installment time. You can add tax and shipping to the total amount you are going to charge, though. However, it will not show as a "tax" line on the invoice.
I have an Image, that gives the photographer credit, that I would like to be able show depending on the Photograph. In ACF is there a way to set it up so that when I select a "Choice" field that the photo credit will show depending on the choice? And the Image has to link to the Photographers web site.
Lets take an example. You can have four fields.
Photo (Image field)
Give Credit (True/False field)
Photographer (Text)
Photographer URL (Text)
To make Photographer and Photographer URL field dependent to Give Credit field, you need to enable Conditional Logic and set it to Yes. Under that set Give Credit - is equal to - checked. You can find this option in the bottom when you edit field.
Thank you for your help. I ended up just using a true/false custom field with an if/else statement. Being it was only on one custom post type I just added the php in post type.
<?php if( get_field('image4') ) { echo "Photo's taken by: <a href='http://www.sample.com/'><img src='http://photolinkhere.jpg' /></a>"; } else{} ?>
I have this report which has a group based on a field "DeliveryNumber".
It works fine, after every new DeliveryNumber the report shows new data.
But now I want to do the same with the page footer. On every group the footer should show data belonging to just that deliverynumber.
Is this possible, how to achieve this?
Assuming that you want to show Delivery number in the page footer and you have only one Delivery Number per page(i.e. there is page break after every delivery number) then in page footer you can use =ReportItems!Textbox1.Value. (Textbox1 in the expression is going to change, replace it with the textbox name in which you will keep the group header, that is Delivery Number field)
I hope this helps!
I'm new to SQL Server. how can I add the values of my Pie Chart to the Legend next to the Series fields? In this case I want the percentage.
For example:
United States 43.2%
Canada 22%
etc.
Here is the answer I use.
In the Series Proporties under Series Data you will find the Category field: (blank by default)
Enter what ever text you want and the keywords for the values you want displayed. Below are the values entered and the Legend display results.
Also Hispanic - (#VALY)
Also Hispanic - (2156)
Also Hispanic - #VALY
Also Hispanic - 2156
Also Hispanic - (#PERCENT{P1})
Also Hispanic - (21.8%)
Also Hispanic - #PERCENT{P1}
Also Hispanic - 21.8%
Maybe this will help
http://technet.microsoft.com/en-us/library/dd239373%28SQL.100%29.aspx check the section titled "To display percentage values in the legend of a pie chart "
Had the same wish. I am charting number of staff in a quarter by staff category. I have a simple proc that takes a date (#EOQDate - start of quarter) and lists the staff . So I added a simple total in my SELECT SQL statement...
, COUNT(staffID) OVER (PARTITION BY #EOQDate) AS StaffCount
then in SSRS design mode click on the category legend and on the bottom of the chart in the Drop category fields here section right-click on the category you dragged into this area and select Category group properties...
In the Lable box click the expression builder and build the expression you want to see. Obviously you need the existing category lable, in my case...
=Fields!StaffCategory.Value
Then add the percentage which is Count(Fields!staffID.Value)/Fields!StaffCount.Value
You'll need to turn it into a percentage, so my final expression looks like this...
=Fields!StaffCategory.Value & " " & Format(Count(Fields!staffID.Value)/Fields!StaffCount.Value, "0.00 %")
And Wullah! category lable and percentage.
We should be knowing the exact way of calculating the 43.2 to achieve this.
For example:
Total Number of Cycles: 20
Total Number of Cycles Used : 10
Percentage of the Cycles: 10/20 * 100 = 50 %
Now I would write the expresssion to complete this Case:
=Sum(Fields!ID.Value, "Total_Number_Of_Cycles_Used") * 100 / Sum(Fields!ID.Value, "Total_Number_Of_Cycles") & "%"
"Total_Number_Of_Cycles_Used" and "Total_Number_Of_Cycles" are the two datasets created.
For some Percentages, sometimes we would not be requiring the decimals more than 2. We could achieve it by using.
=LEFT(FORMAT(Sum(Fields!ID.Value, "Total_Number_Of_Cycles_Used") * 100 / Sum(Fields!ID.Value, "Total_Number_Of_Cycles"))) & "%"
Your Query:
="United States" & Percentage Expresssion as Mentioned Above
Hope this Helped You.
Regards
GVS
In the series label properties of Chart..set #LEGENDTEXT #PERCENT{#%;;""}
Regards,
Krishna