|
 |
|
คิดภาษี...พี่ ๆ ครับมีฟังก์ชั่นเกี่ยวกับการคิดภาษีไหมคับ..php นะคับ.. |
|
 |
|
|
 |
 |
|
อันนี้ต้องศึกษาการคำนวณภาษี ว่าอะไรเป็น รายได้ อันไหนเป็นค่าลดหย่อน และอัตราการคำนวณภาษีแบบขั้นบันไดเป็นยังงัยอะครับ
|
 |
 |
 |
 |
Date :
2009-05-13 23:14:21 |
By :
windersun |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
คือก็อยากจะช่วยอะนะแต่ผมไม่รู้จะเริ่มยังไงดี ภาษาเท่าไหร่ก็ยังไม่แน่ใจเลยที่รู้ก็แค่ภาษีเวลาซื้อของต้องจ่าย 7 % แค่นั้นแหละ รอท่านต่อไปละกันครับ
ถ้ามีโค้ดมาถามก็คงพอช่วยได้บ้า่งผมอ่อนคำนวนด้วยแหละ อิอิอิ
|
 |
 |
 |
 |
Date :
2009-05-13 23:26:35 |
By :
melodyApinan |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
<?php
$pricedisc=($price*$p_disc)/100 ;
$pricenet=$price-$pricedisc ;
$total_prices =$row['qty'] * $pricenet ;
$total_prices1 =$row['qty'] * $price ;
$sum_prices+= $total_prices ;
echo number_format($total_prices1,2,'.',',');
$sum_vat =($sum_prices*7)/107;
$sum_excvat=($sum_prices*100)/107;
?>
<br />
<?
$total_disc =$row['qty'] * $pricedisc ;
if ($total_disc==0){
echo "";
}
else {
echo number_format($total_disc,2,'.',',');
}
?>
อะคร่าวๆๆนะครับ ตัวแปรก็ไปปรับเข้ากับงานของคุณเองนะ
|
 |
 |
 |
 |
Date :
2009-05-14 09:11:49 |
By :
ddsure |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
คิดภาษี 7% เวลาซื้อของ คือภาษีมูลค่าเพิ่มรึเปล่าค่ะ เค้าจะคิด 7 หารด้วย 107 ค่ะ ไม่ใช่ 7 หาร100 ค่ะ
เท่าที่ทราบน่ะ
|
 |
 |
 |
 |
Date :
2009-05-14 10:00:25 |
By :
พิมพ์ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
จับไปคูณ 0.07 ก็ได้นิ ถ้า 7%
|
 |
 |
 |
 |
Date :
2009-05-14 11:25:28 |
By :
plakrim |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 01
|